Class JsonPagePauseTask
java.lang.Object
com.ibm.security.access.extension.authn.task.JsonPageTask
com.ibm.security.access.extension.authn.task.JsonPagePauseTask
- All Implemented Interfaces:
AuthenticationMechanismResultPauseTask
,AuthenticationMechanismResultTask
public class JsonPagePauseTask
extends JsonPageTask
implements AuthenticationMechanismResultPauseTask
This class represents a pause task that returns an Json page.
-
Field Summary
Fields inherited from class com.ibm.security.access.extension.authn.task.JsonPageTask
EMPTY_JSON, HTTP_BAD_REQUEST, HTTP_NOT_IMPLEMENTED, HTTP_OK, HTTP_OK_CREATED, HTTP_OK_NO_CONTENT, HTTP_SERVICE_UNAVALIABLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the base of the URI that the user must access to resume the execution of the current authentication mechanism.getResumeUriParameter
(String name) Get the value of query string parameter with the specified name of the URI that the user must access to resume the execution of the current authentication mechanism.Get the query string parameters of the URI that the user must access to resume the execution of the current authentication mechanism.void
setResumeUriBase
(String base) This method is invoked by authentication service to inform this result pause task the base of the URI that the user must access to resume the execution of the current authentication mechanism.void
setResumeUriParameter
(String name, String value) This method is invoked by authentication service to inform this result pause task the query string parameter of the URI that the user must access to resume the execution of the current authentication mechanism.void
setResumeUriParameters
(Map<String, String> parameters) Set the query string parameters of the URI that the user must access to resume the execution of the current authentication mechanism.Methods inherited from class com.ibm.security.access.extension.authn.task.JsonPageTask
execute, getMacro, getMacros, getPageContent, getPageId, getStatusCode, setMacro, setMacro, setMacros, setPageContent, setPageContent, setPageId, setStatusCode
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.ibm.security.access.extension.authn.AuthenticationMechanismResultTask
execute
-
Constructor Details
-
JsonPagePauseTask
public JsonPagePauseTask()Create an JSON page pause task.
-
-
Method Details
-
getResumeUriBase
Get the base of the URI that the user must access to resume the execution of the current authentication mechanism.- Returns:
- The base of the URI.
-
setResumeUriBase
Description copied from interface:AuthenticationMechanismResultPauseTask
This method is invoked by authentication service to inform this result pause task the base of the URI that the user must access to resume the execution of the current authentication mechanism.- Specified by:
setResumeUriBase
in interfaceAuthenticationMechanismResultPauseTask
- Parameters:
base
- The base of the URI.
-
getResumeUriParameters
Get the query string parameters of the URI that the user must access to resume the execution of the current authentication mechanism.- Returns:
- The query string parameters.
-
setResumeUriParameters
Set the query string parameters of the URI that the user must access to resume the execution of the current authentication mechanism.- Parameters:
parameters
- The query string parameters.
-
getResumeUriParameter
Get the value of query string parameter with the specified name of the URI that the user must access to resume the execution of the current authentication mechanism.- Parameters:
name
- The query string parameter name.- Returns:
- The query string parameter value.
-
setResumeUriParameter
Description copied from interface:AuthenticationMechanismResultPauseTask
This method is invoked by authentication service to inform this result pause task the query string parameter of the URI that the user must access to resume the execution of the current authentication mechanism.- Specified by:
setResumeUriParameter
in interfaceAuthenticationMechanismResultPauseTask
- Parameters:
name
- The query string parameter name.value
- The query string parameter value.
-