Package ch.tocco.nice2.security.api.auth
Interface ImmutableChallenge
- All Known Subinterfaces:
Challenge
- All Known Implementing Classes:
AuthChallenge
,ImmutableChallengeImpl
public interface ImmutableChallenge
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
The final states of a authentication challenge. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable Object
getAttribute
(String key) @Nullable AuthenticationResult
Returns the authentication result to this challenge.getState()
Returns the state of this authentication challenge.getVotes()
-
Field Details
-
CREDENTIALS_ATTRIBUTE
Property for the list of credentials supplied to the authenticator.- See Also:
-
REQUEST_URI
- See Also:
-
-
Method Details
-
getAuthenticationResult
Returns the authentication result to this challenge. This may benull
while authentication process takes place, but must not benull
on successful authentication. -
getState
ImmutableChallenge.State getState()Returns the state of this authentication challenge. -
getMessages
-
getVotes
Map<String,ImmutableChallenge.State> getVotes() -
getAttribute
-
getAttributes
-