Package com.adobe.idp.um.spi.authentication
Classpublic class AuthResponseImpl
InheritanceAuthResponseImpl Inheritance Object

The AuthResponseImpl class provides a mechanism for an authentication provider to communicate authentication results to User Management.



Public Methods
 MethodDefined by
  
AuthResponseImpl
  
Retrieves the tokens passed by the authentication provider.
AuthResponseImpl
  
String getAuthStatus()
Retrieves the authentication results for this object.
AuthResponseImpl
  
String getAuthType()
Retrieves the authentication type for this object.
AuthResponseImpl
  
String getDomain()
Retrieves the domain for this AuthResponse object.
AuthResponseImpl
  
Retrieves the error message for this object.
AuthResponseImpl
  
Retrieves the exceptions for this object.
AuthResponseImpl
  
String getIssuerCN()
Retrieves the issuer's canonical name.
AuthResponseImpl
  
This method is related to Kerberos authentication and is not useful to implementations of com.adobe.idp.um.spi.authentication.AuthProvider AuthProvider.
AuthResponseImpl
  
String getUsername()
Retrieves the login identification for this object.
AuthResponseImpl
  
Determines whether the tokens need to be encypted.
AuthResponseImpl
  
void setAuthProviderSpecificTokens(List tokenList)
Sets the tokens passed by the authentication provider.
AuthResponseImpl
  
void setAuthStatus(String status)
Sets the results of the authentication.
AuthResponseImpl
  
void setAuthType(String authType)
Sets the type of authentication used.
AuthResponseImpl
  
void setDomain(String domain)
Sets the domain associated with the authentication provider that performed the authentication.
AuthResponseImpl
  
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.
AuthResponseImpl
  
void setErrorMessage(String message)
Sets an error message for this object.
AuthResponseImpl
  
void setExceptions(List exceps)
Specifies exceptions that occurred during authentication.
AuthResponseImpl
  
void setIssuerCN(String issuerCN)
Sets the issuer's canonical name.
AuthResponseImpl
  
This method is related to Kerberos authentication and should not be used.
AuthResponseImpl
  
void setUsername(String user)
Sets the login identification used for authentication.
AuthResponseImpl
Constructor Detail
AuthResponseImpl()
public AuthResponseImpl()
Method Detail
getAuthProviderSpecificTokens()
public List getAuthProviderSpecificTokens()

Retrieves the tokens passed by the authentication provider. The authentication provider may require that you return additional information that is needed as part of the assertion. The additional information is a list of string tokens in the AuthResponse.

Returns
tokenList A java.util.List containing the list of string tokens.
getAuthStatus() 
public String getAuthStatus()

Retrieves the authentication results for this object.

Returns
A java.lang.String that contains the authentication result.

See also

getAuthType() 
public String getAuthType()

Retrieves the authentication type for this object.

Returns
A java.lang.String that contains the authentication type.
getDomain() 
public String getDomain()

Retrieves the domain for this AuthResponse object.

Returns
A String that contains the domain.
getErrorMessage() 
public String getErrorMessage()

Retrieves the error message for this object.

Returns
A java.lang.String that contains the error message.
getExceptions() 
public List getExceptions()

Retrieves the exceptions for this object.

Returns
A java.util.List object that contains the exceptions.
getIssuerCN() 
public String getIssuerCN()

Retrieves the issuer's canonical name.

Returns
A java.lang.String containing the issuer's canonical name.
getKerberosIntermediateTkt() 
public String getKerberosIntermediateTkt()

This method is related to Kerberos authentication and is not useful to implementations of AuthProvider.

Returns
A java.lang.String containing the Kerberos intermediate ticket.
getUsername() 
public String getUsername()

Retrieves the login identification for this object.

Returns
A java.lang.String that contains the user name.
isEncryptionRequired() 
public boolean isEncryptionRequired()

Determines whether the tokens need to be encypted.

Returns
true if the tokens need to be encrypted, false otherwise.
setAuthProviderSpecificTokens() 
public void setAuthProviderSpecificTokens(List tokenList)

Sets the tokens passed by the authentication provider. The authentication provider may require that you return additional information that is needed as part of the assertion. The additional information is a list of string tokens in the AuthResponse.

Parameters

tokenList — A java.util.List containing the list of string tokens.

setAuthStatus() 
public void setAuthStatus(String status)

Sets the results of the authentication.

Parameters

status — A java.lang.String that contains the authentication results. Valid values for this parameter are "success" and "failed".

See also

setAuthType() 
public void setAuthType(String authType)

Sets the type of authentication used. The authentication type should be the type that was provided to the AuthProvider.authenticate() method.

Parameters

authType — A java.lang.String that contains the authentication type.

setDomain() 
public void setDomain(String domain)

Sets the domain associated with the authentication provider that performed the authentication.

Parameters

domain — A String that contains the domain. The maximum length of the string is 50 characters; errors can occur if greater lengths are used.

See also

setEncryptionRequired() 
public 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.

Parameters

encryptionRequiredtrue if the tokens need to be encrypted, false otherwise.

setErrorMessage() 
public void setErrorMessage(String message)

Sets an error message for this object. This message should indicate an error other than exceptions that occur during authentication. User Management logs the provided error message.

Parameters

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.

See also

setExceptions() 
public void setExceptions(List exceps)

Specifies exceptions that occurred during authentication. User Management logs the provided exceptions.

Parameters

exceps — A java.util.List object that contains the exceptions.

setIssuerCN() 
public void setIssuerCN(String issuerCN)

Sets the issuer's canonical name.

Parameters

issuerCN — A java.lang.String containing the issuer's canonical name.

setKerberosIntermediateTkt() 
public void setKerberosIntermediateTkt(String tkt)

This method is related to Kerberos authentication and should not be used.

Parameters

tkt — A java.lang.String containing the Kerberos intermediate ticket.

setUsername() 
public void setUsername(String user)

Sets the login identification used for authentication. The user name should be the name that was provided to the AuthProvider.authenticate() method.

Parameters

user — 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.





 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/javadoc/com/adobe/idp/um/spi/authentication/AuthResponseImpl.html