SiteMinder
Java SDK r12.51


com.netegrity.policyserver.smapi
Class UserCredentialsContext

java.lang.Object
  extended by com.netegrity.policyserver.smapi.UserCredentialsContext

public class UserCredentialsContext
extends java.lang.Object

Contains credentials information and other information from the user directory where user context was established.

This object is contained in the SmAuthenticationContext object that SiteMinder passes to authenticate().

SiteMinder specifies as much information as it has available. Typically, the user name and password fields are specified. Each authentication scheme expects a subset of possible credentials.

If credentials are not available, the corresonding get... method returns null.

Since:
SDK 6.0

Method Summary
 byte[] getCertAsBinary()
          Retrieves the user’s binary x.509 Certificate.
 java.lang.String getCertIssuerDN()
          This method is not currently implemented.
 java.lang.String getCertUserDN()
          This method is not currently implemented.
 byte[] getChapChallenge()
          Retrieves the CHAP challenge.
 byte[] getChapPassword()
           Retrieves the CHAP password.
 java.lang.String getDirNameSpace()
          Retrieves the directory namespace of the SiteMinder user directory where the user’s context was established.
 java.lang.String getDirPath()
          Retrieves the directory path of the SiteMinder user directory where the user’s context was established.
 java.lang.String getDirServer()
          Retrieves the directory server of the SiteMinder user directory where the user’s context was established.
 java.lang.String getNewPassword()
          Retrieves the new password as specified by the user.
 java.lang.String getPassword()
          Retrieves the password as specified by the user.
 java.lang.String getUserName()
          Retrieves the full distinguished name of the user as disambiguated by SiteMinder from the user name specified by the user during login.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getUserName

public java.lang.String getUserName()

Retrieves the full distinguished name of the user as disambiguated by SiteMinder from the user name specified by the user during login.

Returns:
The user's full distinguished name.

getPassword

public java.lang.String getPassword()

Retrieves the password as specified by the user.

Returns:
The user's password.

getChapPassword

public byte[] getChapPassword()

Retrieves the CHAP password.

Returns:
The CHAP password.

getChapChallenge

public byte[] getChapChallenge()

Retrieves the CHAP challenge.

Returns:
The CHAP challenge.

getCertUserDN

public java.lang.String getCertUserDN()

This method is not currently implemented.


getCertIssuerDN

public java.lang.String getCertIssuerDN()

This method is not currently implemented.


getCertAsBinary

public byte[] getCertAsBinary()

Retrieves the user’s binary x.509 Certificate.

Returns:
The user's binary x.509 Certificate.

getDirPath

public java.lang.String getDirPath()

Retrieves the directory path of the SiteMinder user directory where the user’s context was established.

Returns:
The directory path.

getDirServer

public java.lang.String getDirServer()

Retrieves the directory server of the SiteMinder user directory where the user’s context was established.

Returns:
The directory server.

getDirNameSpace

public java.lang.String getDirNameSpace()

Retrieves the directory namespace of the SiteMinder user directory where the user’s context was established.

Returns:
The directory napespace.

getNewPassword

public java.lang.String getNewPassword()

Retrieves the new password as specified by the user.

Returns:
The user's new password.

SiteMinder
Java SDK r12.51

Mon 04/08/2013

http://ca.com
Copyright (c) 2013 CA.