public static class SsoAuthenticator.Result
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
authBlob
A blob of data used by the converted application for authorization.
|
private javax.servlet.http.Cookie |
cookie
The cookie to be returned to the browser and used in the next auth requests.
|
private WebDriverHandler.SupportedHttpCode |
failureHttpCode
HTTP code for a failed.
|
private java.lang.String |
fwdUser
The name of the FWD account defined in directory that corresponds to the authorization privileges of
the authenticated in-app user.
|
private boolean |
isSuccess
Flag to indicate if the authentication is successful.
|
private java.lang.String |
persistentUserStorageIdentifier
The identifier of the persistent client storage used by the authenticated user.
|
private java.lang.String |
sessionDescription
Free form description of the session.
|
private java.lang.String |
translatedErrorMessage
Translated error message.
|
| Constructor and Description |
|---|
Result(boolean isSuccess,
java.lang.String fwdUser,
java.lang.String persistentUserStorageIdentifier,
java.lang.String authBlob,
javax.servlet.http.Cookie cookie)
Public constructor to set all fields of this immutable wrapper.
|
Result(boolean isSuccess,
WebDriverHandler.SupportedHttpCode failureHttpCode,
java.lang.String translatedErrorMessage)
Public constructor to set all fields of this immutable wrapper.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAuthBlob()
Getter for
authBlob. |
javax.servlet.http.Cookie |
getCookie()
Getter for
cookie. |
WebDriverHandler.SupportedHttpCode |
getFailureHttpCode()
Getter for
failureHttpCode. |
java.lang.String |
getFwdUser()
Getter for
fwdUser. |
java.lang.String |
getPersistentUserStorageIdentifier()
Getter for
persistentUserStorageIdentifier. |
java.lang.String |
getSessionDescription()
Getter for
sessionDescription. |
java.lang.String |
getTranslatedErrorMessage()
Getter for
translatedErrorMessage. |
boolean |
isSuccess()
Getter for
isSuccess. |
void |
setSessionDescription(java.lang.String sessionDescription)
Setter for
sessionDescription. |
private final boolean isSuccess
private WebDriverHandler.SupportedHttpCode failureHttpCode
private java.lang.String fwdUser
private java.lang.String persistentUserStorageIdentifier
private java.lang.String authBlob
private javax.servlet.http.Cookie cookie
private java.lang.String translatedErrorMessage
private java.lang.String sessionDescription
public Result(boolean isSuccess,
WebDriverHandler.SupportedHttpCode failureHttpCode,
java.lang.String translatedErrorMessage)
isSuccess - Flag to indicate if the authentication is successful.failureHttpCode - Authentication failure HTTP code.translatedErrorMessage - The message to be shown on the client UI. If none, the default one associated with the
http status is used.public Result(boolean isSuccess,
java.lang.String fwdUser,
java.lang.String persistentUserStorageIdentifier,
java.lang.String authBlob,
javax.servlet.http.Cookie cookie)
isSuccess - Flag to indicate if the authentication is successful.fwdUser - The name of the FWD account defined in directory.persistentUserStorageIdentifier - The identifier of the persistent client storage used by the authenticated user.authBlob - All cookies coming with the HTTP request for authentication.cookie - A blob of data used by the converted application for authorization.public boolean isSuccess()
isSuccess.public WebDriverHandler.SupportedHttpCode getFailureHttpCode()
failureHttpCode.public java.lang.String getFwdUser()
fwdUser.public java.lang.String getPersistentUserStorageIdentifier()
persistentUserStorageIdentifier.public javax.servlet.http.Cookie getCookie()
cookie.public java.lang.String getAuthBlob()
authBlob.public java.lang.String getTranslatedErrorMessage()
translatedErrorMessage.public java.lang.String getSessionDescription()
sessionDescription.public void setSessionDescription(java.lang.String sessionDescription)
sessionDescription.sessionDescription - See sessionDescription.