Package ch.tocco.nice2.security.spi.auth
Interface Challenge
- All Superinterfaces:
- ImmutableChallenge
- All Known Implementing Classes:
- AuthChallenge
A challenge is the information gathered by AuthenticationHandlers while in process
 of authenticating a subject. It is meant to be a challenge for authentication... which may
 succeed or fail.
Each registered handler gets a chance to vote for a subject that is about to gain access
 to part of the application. An AuthenticationHandler populates this object.
- 
Nested Class SummaryNested classes/interfaces inherited from interface ch.tocco.nice2.security.api.auth.ImmutableChallengeImmutableChallenge.State
- 
Field SummaryFields inherited from interface ch.tocco.nice2.security.api.auth.ImmutableChallengeCREDENTIALS_ATTRIBUTE, REQUEST_URI
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddMessage(String message) voidremoveAttribute(String name) voidsetAttribute(String name, Object value) voidsetAuthenticationResult(AuthenticationResult authenticationResult) Sets the authentication result to this challenge.voidvote(ImmutableChallenge.State state) Vote for this challenge with an appropriate state.Methods inherited from interface ch.tocco.nice2.security.api.auth.ImmutableChallengegetAttribute, getAttributes, getAuthenticationResult, getMessages, getState, getVotes
- 
Method Details- 
setAuthenticationResultSets the authentication result to this challenge.
- 
voteVote for this challenge with an appropriate state.
- 
setAttribute
- 
removeAttribute
- 
addMessage
 
-