public class RegistrationClientIdChallengeHandler extends SecurityCheckChallengeHandler
Constructor and Description |
---|
RegistrationClientIdChallengeHandler(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.
|
submitChallengeAnswer
cancel, clearChallengeRequests, clearWaitingList, getHandlerName, releaseWaitingList, startHandleChallenge
public RegistrationClientIdChallengeHandler(java.lang.String realm)
public void handleSuccess(JSONObject identity)
SecurityCheckChallengeHandler
handleSuccess
in class SecurityCheckChallengeHandler
public void handleFailure(JSONObject error)
SecurityCheckChallengeHandler
handleFailure
in class SecurityCheckChallengeHandler
public void handleChallenge(JSONObject challenge)
BaseChallengeHandler
handleChallenge
in class BaseChallengeHandler<JSONObject>
challenge
- The response to be handled.