public class AuthenticityChallengeHandler extends SecurityCheckChallengeHandler
| Constructor and Description |
|---|
AuthenticityChallengeHandler(java.lang.String realm) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleChallenge(JSONObject challenge)
You must implement this method to handle the challenge logic, for example to display the login screen.
|
void |
handleFailure(JSONObject error)
This method is called when the MobileFirst Platform Server reports an authentication failure.
|
void |
handleSuccess(JSONObject identity)
This method is called when the MobileFirst Platform Server reports an authentication success.
|
submitChallengeAnswercancel, clearChallengeRequests, clearWaitingList, getHandlerName, releaseWaitingList, startHandleChallengepublic AuthenticityChallengeHandler(java.lang.String realm)
public void handleSuccess(JSONObject identity)
SecurityCheckChallengeHandlerhandleSuccess in class SecurityCheckChallengeHandlerpublic void handleFailure(JSONObject error)
SecurityCheckChallengeHandlerhandleFailure in class SecurityCheckChallengeHandlerpublic void handleChallenge(JSONObject challenge)
BaseChallengeHandlerhandleChallenge in class BaseChallengeHandler<JSONObject>challenge - The response to be handled.