Record Class PolicyDecision.Allowed
java.lang.Object
java.lang.Record
com.svenruppert.jsentinel.policy.api.PolicyDecision.Allowed
- Record Components:
reason- short, adapter-neutral diagnostic
- All Implemented Interfaces:
PolicyDecision
- Enclosing interface:
PolicyDecision
Access is permitted.
-
Nested Class Summary
Nested classes/interfaces inherited from interface PolicyDecision
PolicyDecision.Allowed, PolicyDecision.Denied, PolicyDecision.StepUpMethod, PolicyDecision.StepUpRequiredModifier and TypeInterfaceDescriptionstatic final recordAccess is permitted.static final recordAccess is denied.static enumStep-up mechanism a policy may ask for.static final recordSubject is authenticated but a step-up challenge is required before access can be granted. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.reason()Returns the value of thereasonrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Allowed
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
reason
-