Record Class AccessDecision.Granted
java.lang.Object
java.lang.Record
com.svenruppert.jsentinel.authorization.navigation.AccessDecision.Granted
- All Implemented Interfaces:
AccessDecision
- Enclosing interface:
AccessDecision
Access is granted. The subject has sufficient roles/permissions.
-
Nested Class Summary
Nested classes/interfaces inherited from interface AccessDecision
AccessDecision.Granted, AccessDecision.Reroute, AccessDecision.RerouteToError, AccessDecision.RerouteWithParameter<T>, AccessDecision.RerouteWithParameters<T>Modifier and TypeInterfaceDescriptionstatic final recordAccess is granted.static final recordAccess is denied and should redirect to a target route.static final recordAccess is denied and should reroute to an error page.static final recordAccess is denied and should reroute with one route parameter.static final recordAccess is denied and should reroute with multiple route parameters. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Granted
public Granted()Creates an instance of aGrantedrecord class.
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal.
-