|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.apps.UserAuthInfo
Contains a user's authentication information, including user id and credentials. This object should be stored by servlets on the user's Http session and passed between servlet and EJB's whenever they are called for the EJB's in the trusted domain to authenticate the user.
Field Summary | |
---|---|
static java.lang.String |
AUTH_PROPERTIES
Constant for authentication properties |
static java.lang.String |
PROVIDER
|
static java.lang.String |
REQUIRED_CREDENTIALS
|
static java.lang.String |
USER_AUTH_INFO_KEY
Constant representing key in HttpSession |
Constructor Summary | |
---|---|
UserAuthInfo()
Creates new UserAuthnfo. |
|
UserAuthInfo(Credentials credentials)
Creates new UserAuthInfo. |
|
UserAuthInfo(DistinguishedName dn)
To be removed - added to allow for a phased integration of the web-tier with the new API and of the API with the manager beans. |
|
UserAuthInfo(java.lang.String userID)
Creates new UserAuthInfo. |
|
UserAuthInfo(java.lang.String userID,
java.lang.Object pwd,
java.lang.String userDN)
Creates new UserAuthInfo. |
|
UserAuthInfo(java.lang.String userID,
java.lang.Object pwd,
java.lang.String userDN,
java.lang.String orgDN,
java.lang.String buDN,
java.lang.String personDN,
int systemRoleCategory)
Creates new UserAuthInfo. |
|
UserAuthInfo(java.lang.String userID,
java.lang.String pwdClear)
Creates new UserAuthInfo. |
|
UserAuthInfo(java.lang.String userID,
java.lang.String tenantID,
java.lang.Object pwd,
java.lang.String userDN,
java.lang.String tenantDN,
java.lang.String orgDN,
java.lang.String buDN,
java.lang.String personDN,
int systemRoleCategory)
|
Method Summary | |
---|---|
java.lang.String |
getBuDN()
Gets the DN of the user's business unit dn. |
Credentials |
getCredentials()
Returns the user's login credentials |
java.lang.String |
getOrgDN()
Gets the DN of the user's organization. |
java.lang.String |
getPersonDN()
Gets the DN of the user's person dn. |
byte[] |
getPwdHashed()
Gets a hashed version of the password |
int |
getSystemRoleCategory()
Gets the system role category of the user. |
java.lang.String |
getTenantDN()
Gets the DN of the user's tenant. |
java.lang.String |
getTenantID()
Gets the Tenant ID of the user. |
java.lang.String |
getUserDN()
Gets the dn of the user |
java.lang.String |
getUserID()
Gets the ID of the user |
void |
setPwdHashed(byte[] pwdHashed)
Gets a hashed version of the password |
void |
setTenantDN(java.lang.String tenantDN)
|
void |
setTenantID(java.lang.String tenantID)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String USER_AUTH_INFO_KEY
public static final java.lang.String AUTH_PROPERTIES
public static final java.lang.String REQUIRED_CREDENTIALS
public static final java.lang.String PROVIDER
Constructor Detail |
public UserAuthInfo() throws com.ibm.itim.apps.exception.AppProcessingException
public UserAuthInfo(java.lang.String userID) throws com.ibm.itim.apps.exception.AppProcessingException
userID
- The ID of the user accessing enrolepublic UserAuthInfo(Credentials credentials) throws com.ibm.itim.apps.exception.AppProcessingException
credentials
- The Credentials of the user accessing enrolepublic UserAuthInfo(java.lang.String userID, java.lang.String pwdClear) throws com.ibm.itim.apps.exception.AppProcessingException
userID
- The ID of the user accessing enrolepwdClear
- The password in clear text.public UserAuthInfo(java.lang.String userID, java.lang.Object pwd, java.lang.String userDN) throws com.ibm.itim.apps.exception.AppProcessingException
userID
- The ID of the user accessing enrole.pwd
- The digest of the password (hashed).userDN
- the dn of the user accessing enrole.public UserAuthInfo(java.lang.String userID, java.lang.Object pwd, java.lang.String userDN, java.lang.String orgDN, java.lang.String buDN, java.lang.String personDN, int systemRoleCategory) throws com.ibm.itim.apps.exception.AppProcessingException
userID
- User id (pass in null if not known and this will be found from the cert)pwd
- The digest of the password (hashed).userDN
- the dn of the user accessing enrolepublic UserAuthInfo(java.lang.String userID, java.lang.String tenantID, java.lang.Object pwd, java.lang.String userDN, java.lang.String tenantDN, java.lang.String orgDN, java.lang.String buDN, java.lang.String personDN, int systemRoleCategory) throws com.ibm.itim.apps.exception.AppProcessingException
public UserAuthInfo(DistinguishedName dn) throws com.ibm.itim.apps.exception.AppProcessingException
Method Detail |
public Credentials getCredentials()
public java.lang.String getUserID()
public byte[] getPwdHashed()
public void setPwdHashed(byte[] pwdHashed)
public java.lang.String getUserDN()
public java.lang.String getTenantID()
public java.lang.String getTenantDN()
public java.lang.String getOrgDN()
public java.lang.String getBuDN()
public java.lang.String getPersonDN()
public int getSystemRoleCategory()
public void setTenantDN(java.lang.String tenantDN)
public void setTenantID(java.lang.String tenantID)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |