public class UserAuthInfo
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
UserAuthInfo()
Creates new UserAuthnfo.
|
UserAuthInfo(Credentials credentials)
Creates new UserAuthInfo.
|
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) |
| Modifier and Type | Method and Description |
|---|---|
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)
Sets a hashed version of the password
|
void |
setTenantDN(java.lang.String tenantDN) |
void |
setTenantID(java.lang.String tenantID) |
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
public UserAuthInfo()
throws com.ibm.itim.apps.exception.AppProcessingException
com.ibm.itim.apps.exception.AppProcessingExceptionpublic UserAuthInfo(java.lang.String userID)
throws com.ibm.itim.apps.exception.AppProcessingException
userID - The ID of the user accessing enrolecom.ibm.itim.apps.exception.AppProcessingExceptionpublic UserAuthInfo(Credentials credentials) throws com.ibm.itim.apps.exception.AppProcessingException
credentials - The Credentials of the user accessing enrolecom.ibm.itim.apps.exception.AppProcessingExceptionpublic 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.com.ibm.itim.apps.exception.AppProcessingExceptionpublic 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 enrolepwd - The digest of the password.userDN - the dn of the user accessing enrolecom.ibm.itim.apps.exception.AppProcessingExceptionpublic 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.userDN - the dn of the user accessing enrolecom.ibm.itim.apps.exception.AppProcessingExceptionpublic 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
com.ibm.itim.apps.exception.AppProcessingExceptionpublic 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)