|
Java SDK r12.5 SP 8 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Account
Defines an eTrust Admin provisioning account to Identity Manager.
A provisioning account represents the identity of a user in a particular endpoint type (such as Active Directory or LDAP). TheAccountType
object
indicates the endpoint type that the account is associated with.
User
object.
ProvisioningPolicy
,
ProvisioningRole
Field Summary | |
---|---|
static java.lang.String |
ATTRIBUTE_DELIMETER
|
Method Summary | |
---|---|
java.util.Vector |
getAccountReasons()
Deprecated. Deprecated in Identity Manager 8.1 SP1 Please use getReasons() |
AccountType |
getAccountType()
Deprecated. Deprecated in Identity Manager 8.1 SP1. Please use getType() |
java.lang.String |
getEndPointName()
Retrieves the name of the endpoint on which this eTrust Admin provisioning Account resieds. |
IAMHandle |
getIAMHandle()
Retuns the JIAM Handle of the eTrust Admin provisioning Account. |
AccountReturnType |
getLockedState()
Retrieves the account's locked state. |
java.lang.String |
getPassword()
Retuns a string containing the password that has been assinged to the eTrust Admin provisioning Account. |
java.util.Vector |
getReasons()
Returns the reasons which caused this eTrust Admin provisioning Account to be created. |
void |
getSecondaryAttributes()
Retrieves the "secondary attributes" associated with this eTrust Admin provisioning account. |
AccountReturnType |
getSuspendedState()
Retrieves the eTrust Admin provisioning Account's suspended state. |
AccountType |
getType()
Retrieves the type of this eTrust Admin provisinoing Account. |
User |
getUser()
Retuns the User with which the eTrust Admin provisioning Account is
associated. |
java.lang.String |
getUserAccountName()
Retrieves the name of this eTrust Admin provisioning account. |
void |
initReasons()
Retrieves the reasons for this account from the provisioning directory and initialize the accounts' reasons vector. |
boolean |
isEqualTo(Account accIn)
Compares the specified account, accIn, to the this account and returns true if the two are equal and false if they are not. |
boolean |
isLocked()
Deprecated. Deprecated in Identity Manager 8.1 SP1 Please use getLockedState() |
boolean |
isLockedModified()
Indicates whether or not the Locked attribute for this eTrust Admin provisioning Account has been modified. |
boolean |
isPasswordModified()
Indicates whether or not the the password for this eTrust Admin provisioning Account has been modified. |
boolean |
isSuspended()
Deprecated. Deprecated in Identity Manager 8.1 SP1 Please use getSuspendedState() |
boolean |
isSuspendedModified()
Indicates whether or not the the suspended attribute for this eTrust Admin provisioning Account has been modified. |
void |
modifyObject()
Updates the date store, the target eTrust Admin Managed Endpoint, with the attribute values in the current Account object. |
void |
setLockedState(boolean locked)
Sets the account's locked state. |
void |
setPassword(java.lang.String password)
Specifies the password to be set for the eTrust Admin provisioning Account. |
void |
setSuspendedState(boolean suspended)
Sets the account's suspended state. |
boolean |
validateNewPassword(java.lang.String password,
PasswordCondition cond)
Determines if a given string is aceptable as a new password for this account. |
Field Detail |
---|
static final java.lang.String ATTRIBUTE_DELIMETER
Method Detail |
---|
void getSecondaryAttributes() throws JIAMOperationException
Retrieves the "secondary attributes" associated with this eTrust Admin provisioning account.
The "secondary attributes" of an account are those attribues that require accessing the endpoint on which the account exists to be retreived. This operation may require some time to complete, as accessing the account endpoint is an opoeration that may be constrainted by network topology. It should be noted that it is not necessary to retrieve the account secondary attributes in order to modify them. For example, it is not necessary to retrieve the "suspended" state of an account in order to make a request to "resume" that account.
JIAMOperationException
- This exception indicates that there was a error encounted while tring to
access the account secondary attributes, andthat this error was reported
from the JIAM API layer.java.lang.String getUserAccountName()
Retrieves the name of this eTrust Admin provisioning account.
AccountType getAccountType()
AccountType getType()
AccountType
java.lang.String getEndPointName()
boolean isSuspendedModified()
boolean isLockedModified()
boolean isPasswordModified()
User getUser()
User
with which the eTrust Admin provisioning Account is
associated.
User
with which the account is asociated.IAMHandle getIAMHandle()
java.lang.String getPassword()
setPassword
method during
the current task session.
void setPassword(java.lang.String password)
password
- a string containing the password to be associated
with the account.boolean validateNewPassword(java.lang.String password, PasswordCondition cond)
Determines if a given string is aceptable as a new password for this account.
password
- The proposed password that is to be validatedcond
- A PasswordCondition
object that
is populated with information on why a proposed password
could not be validated.
true
if the password is validated, or
false
otherwise. If false
, Identity Manager
provides the reasons in the output parameter cond
.boolean isSuspended()
void setSuspendedState(boolean suspended)
Sets the account's suspended state.
This method allows the "suspended" state of the eTrust Admin provisioning Account to be set to boolean "true" or "false". This method is used to indicate that the suspend state for the account is to be modified to the specific state. The suspend state can be set regardless of its current state, as returned bygetSuspendedState()
.
If setting the Suspended state of the account will not change the
current Suspended state, then no net action will be taken (this
account will not be modified.
AccountReturnType getSuspendedState()
AccountReturnType
:
AccountReturnType.TRUE |
       The account IS suspended. |
AccountReturnType.FALSE |
       The account is NOT suspended. |
AccountReturnType.UNKNOWN |
       The suspended state is not known; no Secondary Access Attributes have been retrieved for |
       this account. |
AccountReturnType.UNAVAILABLE |
       The attempt to retrieve the suspended state of this account failed. This represents a condition |
       where the endpoint associated with this account could not be accessed. |
boolean isLocked()
AccountReturnType getLockedState()
AccountReturnType
:
AccountReturnType.TRUE |
       The account IS locked. |
AccountReturnType.FALSE |
       The account is NOT locked. |
AccountReturnType.UNKNOWN |
       The locked state is not known; no Secondary Access Attributes have been retrieved for |
       this account. |
AccountReturnType.UNAVAILABLE |
       The attempt to retrieve the locked state of this account failed. This represents a condition |
       where the endpoint associated with this account could not be accessed. |
void setLockedState(boolean locked)
Sets the account's locked state.
This method allows the "locked" state of the eTrust Admin provisioning Account to be set to boolean "true" or "false". This method is used to indicate that the locked state for the account is to be modified to the specific state. The locked state can be set regardless of its current state, as returned bygetLockedState()
.
If setting the Locked state of the account will not change the
current Locked state, then no net action will be taken (this
account will not be modified.
java.util.Vector getAccountReasons() throws JIAMOperationException
JIAMOperationException
java.util.Vector getReasons()
initReasons()
, then an empty vector
will be returned.
The "reasons" is a list of eTrust Admin Roles and the contained eTrust
Admin Policies from which the account was provisioned. The Roles are
those that have been assigned to the User with which the account is
associated.
void initReasons() throws SmApiException, JIAMOperationException
getReasons()
method, is a list of eTrust Admin Roles and the contained eTrust
Admin Policies from which the account was provisioned. The Roles
are those that have been assigned to the User with which the account
is associated.
JIAMOperationException
- This exception indicates that there was a error encounted while tring to
access the account secondary attributes, and that this error was reported
from the JIAM API layer.
SmApiException
boolean isEqualTo(Account accIn)
accIn
- an account which is being compared to this account.
void modifyObject() throws JIAMOperationException
Updates the date store, the target eTrust Admin Managed Endpoint, with the attribute values in the current Account object.
This method updates the data store (i.e., the Admin Managed Endpoint) with the attributes in the current object (i.e., this object - Account). This method commits to the appropriate account on the target endpoint any changes to the current objects local (in-memory) attributes set (i.e., susended, locked, and passowrd).
JIAMOperationException
- This exception indicates that there was a error encounted while tring to
update the account on the target eTrust Admin Managed endpoint, and that
this error was reported from the JIAM API layer.
|
Java SDK r12.5 SP 8 06/13/2011 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |