|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.idp.um.spi.authentication.AuthResponseImpl
public class AuthResponseImpl
The AuthResponseImpl
class provides a mechanism for an authentication provider
to communicate authentication results to User Management.
Field Summary |
---|
Fields inherited from interface com.adobe.idp.um.spi.authentication.AuthResponse |
---|
ASSERTION_LIFE, AUTH_ERROR, AUTH_FAILED, AUTH_SUCCESS, AUTH_UNRESOLVED, CONTINUE |
Constructor Summary | |
---|---|
AuthResponseImpl()
|
Method Summary | |
---|---|
java.util.Map |
getAuthProviderSpecificTokens()
Retrieves the tokens passed by the authentication provider. |
java.lang.String |
getAuthStatus()
Retrieves the authentication results for this object. |
java.lang.String |
getAuthType()
Retrieves the authentication type for this object. |
java.lang.String |
getDomain()
Retrieves the domain for this AuthResponse object. |
java.lang.String |
getErrorMessage()
Retrieves the error message for this object. |
java.util.List |
getExceptions()
Retrieves the exceptions for this object. |
java.lang.String |
getIssuerCN()
Retrieves the issuer's canonical name. |
java.lang.String |
getKerberosIntermediateTkt()
This method is related to Kerberos authentication and is not useful to implementations of AuthProvider . |
java.lang.String |
getUsername()
Retrieves the login identification for this object. |
boolean |
isEncryptionRequired()
Determines whether the tokens need to be encypted. |
void |
setAuthProviderSpecificTokens(java.util.Map tokenList)
Sets the tokens passed by the authentication provider. |
void |
setAuthStatus(java.lang.String status)
Sets the results of the authentication. |
void |
setAuthType(java.lang.String authType)
Sets the type of authentication used. |
void |
setDomain(java.lang.String domain)
Sets the domain associated with the authentication provider that performed the authentication. |
void |
setEncryptionRequired(boolean encryptionRequired)
Sets whether the additional information returned by the authentication provider, in the form of string tokens, need to be encrypted before they become a part of the SAML assertion. |
void |
setErrorMessage(java.lang.String message)
Sets an error message for this object. |
void |
setExceptions(java.util.List exceps)
Specifies exceptions that occurred during authentication. |
void |
setIssuerCN(java.lang.String issuerCN)
Sets the issuer's canonical name. |
void |
setKerberosIntermediateTkt(java.lang.String tkt)
This method is related to Kerberos authentication and should not be used. |
void |
setUsername(java.lang.String user)
Sets the login identification used for authentication. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuthResponseImpl()
Method Detail |
---|
public java.lang.String getAuthStatus()
getAuthStatus
in interface AuthResponse
java.lang.String
that contains the authentication result.AuthResponse.AUTH_SUCCESS
,
AuthResponse.AUTH_FAILED
public void setAuthStatus(java.lang.String status)
setAuthStatus
in interface AuthResponse
result
- A java.lang.String
that contains the authentication results. Valid values for
this parameter are "success"
and "failed"
.AuthResponse.AUTH_SUCCESS
,
AuthResponse.AUTH_FAILED
public java.lang.String getErrorMessage()
getErrorMessage
in interface AuthResponse
java.lang.String
that contains the error message.public void setErrorMessage(java.lang.String message)
setErrorMessage
in interface AuthResponse
message
- A java.lang.String
that contains the error message.
The maximum length of the message is 250 characters;
errors can occur if greater lengths are used.#setExceptions()
public java.lang.String getAuthType()
getAuthType
in interface AuthResponse
java.lang.String
that contains the authentication type.public void setAuthType(java.lang.String authType)
AuthProvider.authenticate()
method.
setAuthType
in interface AuthResponse
authType
- A java.lang.String
that contains the authentication type.public java.lang.String getUsername()
getUsername
in interface AuthResponse
java.lang.String
that contains the user name.public void setUsername(java.lang.String user)
AuthProvider.authenticate()
method.
setUsername
in interface AuthResponse
userName
- A java.lang.String
that contains the user name.
The maximum length of the String
you can use is 250 characters or errors can occur.public java.lang.String getDomain()
AuthResponse
object.
getDomain
in interface AuthResponse
String
that contains the domain.public void setDomain(java.lang.String domain)
setDomain
in interface AuthResponse
domain
- A String
that contains the domain.
The maximum length of the string is 50 characters;
errors can occur if greater lengths are used.AuthConfigBO.getDomainName()
public java.lang.String getKerberosIntermediateTkt()
AuthProvider
.
getKerberosIntermediateTkt
in interface AuthResponse
java.lang.String
containing the Kerberos intermediate ticket.public void setKerberosIntermediateTkt(java.lang.String tkt)
setKerberosIntermediateTkt
in interface AuthResponse
tkt
- A java.lang.String
containing the Kerberos intermediate ticket.public void setExceptions(java.util.List exceps)
setExceptions
in interface AuthResponse
exceptions
- A java.util.List
object that contains the exceptions.public java.util.List getExceptions()
getExceptions
in interface AuthResponse
java.util.List
object that contains the exceptions.public java.lang.String getIssuerCN()
getIssuerCN
in interface AuthResponse
java.lang.String
containing the issuer's canonical name.public void setIssuerCN(java.lang.String issuerCN)
setIssuerCN
in interface AuthResponse
issuerCN
- A java.lang.String
containing the issuer's canonical name.public void setAuthProviderSpecificTokens(java.util.Map tokenList)
AuthResponse
.
setAuthProviderSpecificTokens
in interface AuthResponse
tokenList
- A java.util.List
containing the list of string tokens.public java.util.Map getAuthProviderSpecificTokens()
AuthResponse
.
getAuthProviderSpecificTokens
in interface AuthResponse
java.util.List
containing the list of string tokens.public boolean isEncryptionRequired()
isEncryptionRequired
in interface AuthResponse
true
if the tokens need to be encrypted, false
otherwise.public void setEncryptionRequired(boolean encryptionRequired)
setEncryptionRequired
in interface AuthResponse
encryptionRequired
- true
if the tokens need to be encrypted, false
otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |