Record Class LoginAttemptDecision.Allowed
java.lang.Object
java.lang.Record
com.svenruppert.jsentinel.bruteforce.LoginAttemptDecision.Allowed
- All Implemented Interfaces:
LoginAttemptDecision
- Enclosing interface:
LoginAttemptDecision
The attempt may proceed.
-
Nested Class Summary
Nested classes/interfaces inherited from interface LoginAttemptDecision
LoginAttemptDecision.Allowed, LoginAttemptDecision.LockedOutModifier and TypeInterfaceDescriptionstatic final recordThe attempt may proceed.static final recordThe caller is locked out. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LoginAttemptDecision.AllowedShared singleton — there is only one shape ofAllowed. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
Shared singleton — there is only one shape ofAllowed.
-
-
Constructor Details
-
Allowed
public Allowed()Creates an instance of aAllowedrecord 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.
-