public class RemoteAccountManagerImpl extends java.lang.Object implements RemoteAccountManager
AccountManager,
ClientAccountManager| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION |
| Modifier and Type | Method and Description |
|---|---|
RemoteAccount |
createAccount(java.lang.String pAccountName,
int pType,
java.util.Map pAttributes)
Creates a new account with a given set of attributes.
|
static RemoteAccountManager |
createProxy(AccountManager pManager)
Constructs a remote session-based proxy for an AccountManager
|
RemoteAccount |
getAccount(java.lang.String pAccountName)
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 hte 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.rmi.RemoteIterator |
listAccounts(int pType)
Returns an iterator of accounts with a particular set of types.
|
atg.rmi.RemoteIterator |
listMatchingAccounts(java.lang.String pExpression,
int pType)
Lists accounts that match a given expression.
|
void |
removeAccount(java.lang.String pAccountName)
Removes an account with the indicated name, if possible.
|
public static RemoteAccountManager createProxy(AccountManager pManager) throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic atg.rmi.RemoteIterator listAccounts(int pType)
throws TooManyAccountsException,
java.rmi.RemoteException
listAccounts in interface RemoteAccountManagertype - The account type(s) to list. You may logical-or
the types togeter to select a union.TooManyAccountsExceptionjava.rmi.RemoteExceptionAccountTypespublic atg.rmi.RemoteIterator listMatchingAccounts(java.lang.String pExpression,
int pType)
throws TooManyAccountsException,
java.rmi.RemoteException
listMatchingAccounts in interface RemoteAccountManagerexpression - 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.TooManyAccountsExceptionjava.rmi.RemoteExceptionAccountTypespublic RemoteAccount getAccount(java.lang.String pAccountName) throws java.rmi.RemoteException
getAccount in interface RemoteAccountManagerpAccountName - The name of the account to retrieve.java.rmi.RemoteExceptionpublic RemoteAccount createAccount(java.lang.String pAccountName, int pType, java.util.Map pAttributes) throws AccountExistsException, InvalidAttributeException, PermissionDeniedException, java.rmi.RemoteException
createAccount in interface RemoteAccountManagerpAccountName - The name of the account to create.pAttributes - Set of attributes that should be set in the new
account. Usually at least "password" is required.
All attribute values must be strings.pType - The type of the account to create.AccountExistsExceptionInvalidAttributeExceptionPermissionDeniedExceptionjava.rmi.RemoteExceptionpublic void removeAccount(java.lang.String pAccountName)
throws NoSuchAccountException,
PermissionDeniedException
removeAccount in interface RemoteAccountManagerNoSuchAccountExceptionPermissionDeniedExceptionpublic java.lang.String getDescriptionAttribute()
getDescriptionAttribute in interface RemoteAccountManagerpublic java.lang.String getFirstNameAttribute()
getFirstNameAttribute in interface RemoteAccountManagerpublic java.lang.String getLastNameAttribute()
getLastNameAttribute in interface RemoteAccountManagerpublic java.lang.String getPasswordAttribute()
getPasswordAttribute in interface RemoteAccountManagerpublic java.lang.String getPasswordHasherAttribute()
getPasswordHasherAttribute in interface RemoteAccountManagerpublic PasswordHasher getPasswordHasher()
getPasswordHasher in interface RemoteAccountManager