public interface RemoteAccountManager
extends java.rmi.Remote
AccountManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
Modifier and Type | Method and Description |
---|---|
RemoteAccount |
createAccount(java.lang.String accountName,
int type,
java.util.Map attributes)
Creates a new account with a given set of attributes.
|
RemoteAccount |
getAccount(java.lang.String accountName)
Retrieves the account object for the account with the given name.
|
java.lang.String |
getDescriptionAttribute()
Returns the name of the group or privilege account attribute that
describes the account in human-readable terms.
|
java.lang.String |
getFirstNameAttribute()
Returns the name of the attribute that contains the first name of
the owner of a login account.
|
java.lang.String |
getLastNameAttribute()
Returns the name of the attribute that contains the last name of
the owner of a login account.
|
java.lang.String |
getPasswordAttribute()
Returns the name of the attribute that contains the password for
a login account.
|
PasswordHasher |
getPasswordHasher()
Returns the password hasher that should be used to encrypt the password
attribute of an account.
|
java.lang.String |
getPasswordHasherAttribute()
Returns the name of the attribute that contains the password hasher
component Path for a login account.
|
atg.security.PasswordHasherConfigurer |
getPasswordHasherConfigurer()
Returns the password hasher configurer which provides different password
hasher based on crypto agility mechanism.
|
atg.rmi.RemoteIterator |
listAccounts(int type)
Returns an iterator of accounts with a particular set of types.
|
atg.rmi.RemoteIterator |
listMatchingAccounts(java.lang.String expression,
int type)
Lists accounts that match a given expression.
|
void |
removeAccount(java.lang.String accountName)
Removes an account with the indicated name, if possible.
|
static final java.lang.String CLASS_VERSION
atg.rmi.RemoteIterator listAccounts(int type) throws TooManyAccountsException, java.rmi.RemoteException
type
- The account type(s) to list. You may logical-or
the types togeter to select a union.TooManyAccountsException
java.rmi.RemoteException
AccountTypes
atg.rmi.RemoteIterator listMatchingAccounts(java.lang.String expression, int type) throws TooManyAccountsException, java.rmi.RemoteException
expression
- The expression to use to determine which accounts
to list. Currently the language used for the
expression is undefined.type
- The account type(s) to match against. You may logical-or
the types togeter to select a union.TooManyAccountsException
java.rmi.RemoteException
AccountTypes
RemoteAccount getAccount(java.lang.String accountName) throws java.rmi.RemoteException
accountName
- The name of the account to retrieve.java.rmi.RemoteException
RemoteAccount createAccount(java.lang.String accountName, int type, java.util.Map attributes) throws AccountExistsException, InvalidAttributeException, PermissionDeniedException, java.rmi.RemoteException
accountName
- The name of the account to create.type
- The type of the account to create.attributes
- Set of attributes that should be set in the new
account. Usually at least "password" is required.
All attribute values must be strings.AccountExistsException
InvalidAttributeException
PermissionDeniedException
java.rmi.RemoteException
void removeAccount(java.lang.String accountName) throws NoSuchAccountException, PermissionDeniedException, java.rmi.RemoteException
NoSuchAccountException
PermissionDeniedException
java.rmi.RemoteException
java.lang.String getDescriptionAttribute() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getFirstNameAttribute() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getLastNameAttribute() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getPasswordAttribute() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getPasswordHasherAttribute() throws java.rmi.RemoteException
java.rmi.RemoteException
PasswordHasher getPasswordHasher() throws java.rmi.RemoteException
java.rmi.RemoteException
atg.security.PasswordHasherConfigurer getPasswordHasherConfigurer() throws java.rmi.RemoteException
java.rmi.RemoteException