public class ClockSyncChallengeHandler extends SecurityCheckChallengeHandler
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SERVER_TIME_STAMP |
static int |
WARNING_TIME |
| Constructor and Description |
|---|
ClockSyncChallengeHandler(java.lang.String securityCheck) |
| 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 static final java.lang.String SERVER_TIME_STAMP
public static final int WARNING_TIME
public ClockSyncChallengeHandler(java.lang.String securityCheck)
securityCheck - 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.