public abstract class SecurityCheckChallengeHandler extends BaseChallengeHandler<JSONObject>
Constructor and Description |
---|
SecurityCheckChallengeHandler(java.lang.String securityCheck)
Constructs an SecurityCheckChallengeHandler for a specific security check.
|
Modifier and Type | Method and Description |
---|---|
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.
|
void |
submitChallengeAnswer(JSONObject answer)
Send the answer back to the request.
|
cancel, clearChallengeRequests, clearWaitingList, getHandlerName, handleChallenge, releaseWaitingList, startHandleChallenge
public SecurityCheckChallengeHandler(java.lang.String securityCheck)
securityCheck
- The name of the security check that this class can handle.public void submitChallengeAnswer(JSONObject answer)
public void handleSuccess(JSONObject identity)
public void handleFailure(JSONObject error)