Record Class StepUpRequiredDecision
java.lang.Object
java.lang.Record
com.irurueta.authserver.resourceserver.api.web.security.StepUpRequiredDecision
- All Implemented Interfaces:
Serializable,org.springframework.security.authorization.AuthorizationResult
public record StepUpRequiredDecision()
extends Record
implements org.springframework.security.authorization.AuthorizationResult
Denial that tells
StepUpAccessDeniedHandler the caller is allowed to perform the operation but must
authenticate again more strongly or more recently (RFC 9470), as opposed to an ordinary refusal.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aStepUpRequiredDecisionrecord class. -
Method Summary
-
Constructor Details
-
StepUpRequiredDecision
public StepUpRequiredDecision()Creates an instance of aStepUpRequiredDecisionrecord class.
-
-
Method Details
-
isGranted
public boolean isGranted()- Specified by:
isGrantedin interfaceorg.springframework.security.authorization.AuthorizationResult
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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.
-