public class RemoteDisableChallengeHandler extends SecurityCheckChallengeHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROTOCOL_ERROR_MESSAGE |
static java.lang.String |
PROTOCOL_MESSAGE_ID |
Constructor and Description |
---|
RemoteDisableChallengeHandler(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 static final java.lang.String PROTOCOL_MESSAGE_ID
public static final java.lang.String PROTOCOL_ERROR_MESSAGE
public RemoteDisableChallengeHandler(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.