public interface OXUserInterface
extends java.rmi.Remote
final OXUserInterface iface = (OXUserInterface)Naming.lookup("rmi:///oxhost/"+OXUserInterface.RMI_NAME); final Context ctx = new Context(1); User usr = new User(); usr.setDisplay_name("display name"); usr.setName("name"); usr.setPassword("secret"); usr.setMailenabled(true); usr.setPrimaryEmail("primaryemail@example.org"); usr.setEmail1("primaryemail@example.org"); usr.setGiven_name("Givenname"); usr.setSur_name("Lastname"); final UserModuleAccess access = new UserModuleAccess(); access.access.enableAll(); // give access to all modules. final Credentials auth = new Credentials(); auth.setLogin("admin"); auth.setPassword("secret"); User created = iface.create(ctx,usr,access,auth);
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
RMI_NAME
RMI name to be used in the naming lookup.
|
Modifier and Type | Method and Description |
---|---|
void |
change(Context ctx,
User usrdata,
Credentials auth)
Manipulate user data within the given context.
|
void |
changeCapabilities(Context ctx,
User user,
java.util.Set<java.lang.String> capsToAdd,
java.util.Set<java.lang.String> capsToRemove,
java.util.Set<java.lang.String> capsToDrop,
Credentials auth)
Changes specified user's capabilities.
|
void |
changeMailAddressPersonal(Context ctx,
User user,
java.lang.String personal,
Credentials auth)
Changes the personal part of specified user's E-Mail address.
|
void |
changeModuleAccess(Context ctx,
User user,
java.lang.String access_combination_name,
Credentials auth)
Manipulate user module access within the given context.
|
void |
changeModuleAccess(Context ctx,
User user,
UserModuleAccess moduleAccess,
Credentials auth)
Manipulate user module access within the given context.
|
void |
changeModuleAccessGlobal(java.lang.String filter,
UserModuleAccess addAccess,
UserModuleAccess removeAccess,
Credentials auth)
This method changes module Permissions for all (!) users in all (!) contexts.
|
User |
create(Context ctx,
User usrdata,
Credentials auth)
Creates a new user within the given context.
Default context access rights are used! |
User |
create(Context ctx,
User usrdata,
java.lang.String access_combination_name,
Credentials auth)
Creates a new user within the given context.
|
User |
create(Context ctx,
User usrdata,
UserModuleAccess access,
Credentials auth)
Creates a new user within the given context.
|
void |
delete(Context ctx,
User[] users,
Credentials auth)
Delete user from given context.
|
void |
delete(Context ctx,
User user,
Credentials auth)
Delete user from given context.
|
boolean |
exists(Context ctx,
User user,
Credentials auth)
Check whether the given user exists.
|
java.lang.String |
getAccessCombinationName(Context ctx,
User user,
Credentials auth)
Get current access combination name of an user!
|
java.util.Set<java.lang.String> |
getCapabilities(Context ctx,
User user,
Credentials auth)
Gets specified user's capabilities.
|
User |
getContextAdmin(Context ctx,
Credentials auth)
Returns the Context admin
User object |
UserModuleAccess |
getContextAdminUserModuleAccess(Context ctx,
Credentials auth)
Returns the module access rights of the context-admin
|
User[] |
getData(Context ctx,
User[] users,
Credentials auth)
Retrieve user objects for a range of users by username or id.
|
User |
getData(Context ctx,
User user,
Credentials auth)
Retrieve user objects for a range of users by username or id.
|
UserModuleAccess |
getModuleAccess(Context ctx,
User user,
Credentials auth)
Retrieve the ModuleAccess for an user.
|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.util.Set<java.lang.String>>> |
getUserCapabilitiesSource(Context ctx,
User user,
Credentials credentials)
Gets the capabilities tree showing which capability comes from which source
|
java.util.List<UserProperty> |
getUserConfigurationSource(Context ctx,
User user,
java.lang.String searchPattern,
Credentials credentials)
Retrieve user configuration (within
UserProperty ) and its source. |
User[] |
list(Context ctx,
java.lang.String search_pattern,
Credentials auth)
Retrieve all users for a given context.
|
User[] |
list(Context ctx,
java.lang.String search_pattern,
Credentials auth,
boolean includeGuests,
boolean excludeUsers)
Retrieve all users for a given context.
|
User[] |
listAll(Context ctx,
Credentials auth)
Retrieve all users for a given context.
|
User[] |
listAll(Context ctx,
Credentials auth,
boolean includeGuests,
boolean excludeUsers)
Retrieve all users for a given context.
|
User[] |
listCaseInsensitive(Context ctx,
java.lang.String search_pattern,
Credentials auth)
Retrieve all users for a given context.
|
User[] |
listCaseInsensitive(Context ctx,
java.lang.String search_pattern,
Credentials auth,
boolean includeGuests,
boolean excludeUsers)
Retrieve all users for a given context.
|
UserModuleAccess |
moduleAccessForName(java.lang.String accessCombinationName)
Retrieve the ModuleAccess for an user.
|
int |
moveFromContextToUserFilestore(Context ctx,
User user,
Filestore dstFilestore,
long maxQuota,
Credentials credentials)
Moves a user's files from a context to his own storage.
|
int |
moveFromMasterToUserFilestore(Context ctx,
User user,
User masterUser,
Filestore dstFilestore,
long maxQuota,
Credentials credentials)
Moves a user's files from a master account to his own storage.
|
int |
moveFromUserFilestoreToMaster(Context ctx,
User user,
User masterUser,
Credentials credentials)
Moves a user's files from his own storage to the storage of specified master.
|
int |
moveFromUserToContextFilestore(Context ctx,
User user,
Credentials credentials)
Moves a user's files from his own to a context storage.
|
int |
moveUserFilestore(Context ctx,
User user,
Filestore dstFilestore,
Credentials credentials)
Moves a user's files from one storage to another.
|
static final java.lang.String RMI_NAME
User create(Context ctx, User usrdata, UserModuleAccess access, Credentials auth) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, NoSuchContextException, InvalidDataException, DatabaseUpdateException
context
- Context in which the new user will exist.usrdata
- User containing user data.auth
- Credentials for authenticating against server.access
- UserModuleAccess containing module access for the user.java.rmi.RemoteException
- General RMI ExceptionStorageException
- When an error in the subsystems occurred.InvalidCredentialsException
- When the supplied credentials were not correct or invalid.NoSuchContextException
- If the context does not exist in the system.InvalidDataException
- If the data sent within the method contained invalid data.DatabaseUpdateException
User create(Context ctx, User usrdata, java.lang.String access_combination_name, Credentials auth) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, NoSuchContextException, InvalidDataException, DatabaseUpdateException
context
- Context in which the new user will exist.usrdata
- User containing user data.auth
- Credentials for authenticating against server.access_combination_name
- Access combination name identifying the module rights for the new user.java.rmi.RemoteException
- General RMI ExceptionStorageException
- When an error in the subsystems occurred.InvalidCredentialsException
- When the supplied credentials were not correct or invalid.NoSuchContextException
- If the context does not exist in the system.InvalidDataException
- If the data sent within the method contained invalid data.DatabaseUpdateException
User create(Context ctx, User usrdata, Credentials auth) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, NoSuchContextException, InvalidDataException, DatabaseUpdateException
context
- Context in which the new user will exist.usrdata
- User containing user data.auth
- Credentials for authenticating against server.java.rmi.RemoteException
- General RMI ExceptionStorageException
- When an error in the subsystems occurred.InvalidCredentialsException
- When the supplied credentials were not correct or invalid.NoSuchContextException
- If the context does not exist in the system.InvalidDataException
- If the data sent within the method contained invalid data.DatabaseUpdateException
UserModuleAccess getContextAdminUserModuleAccess(Context ctx, Credentials auth) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, NoSuchContextException, InvalidDataException, DatabaseUpdateException
context
- The contextauth
- Credentials for authenticating against server.java.rmi.RemoteException
- General RMI ExceptionStorageException
- When an error in the subsystems occurred.InvalidCredentialsException
- When the supplied credentials were not correct or invalid.NoSuchContextException
- If the context does not exist in the system.InvalidDataException
- If the data sent within the method contained invalid data.DatabaseUpdateException
User getContextAdmin(Context ctx, Credentials auth) throws java.rmi.RemoteException, InvalidCredentialsException, StorageException, InvalidDataException
User
objectctx
- The context from which to obtain the administratorauth
- The credentialsjava.rmi.RemoteException
InvalidCredentialsException
StorageException
InvalidDataException
java.util.Set<java.lang.String> getCapabilities(Context ctx, User user, Credentials auth) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, NoSuchContextException, InvalidDataException, DatabaseUpdateException, NoSuchUserException
ctx
- The contextuser
- The userauth
- The credentialsjava.rmi.RemoteException
- General RMI ExceptionStorageException
- When an error in the subsystems occurred.InvalidCredentialsException
- When the supplied credentials were not correct or invalid.NoSuchContextException
- If the context does not exist in the system.InvalidDataException
- If the data sent within the method contained invalid data.DatabaseUpdateException
NoSuchUserException
void changeCapabilities(Context ctx, User user, java.util.Set<java.lang.String> capsToAdd, java.util.Set<java.lang.String> capsToRemove, java.util.Set<java.lang.String> capsToDrop, Credentials auth) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, NoSuchContextException, InvalidDataException, DatabaseUpdateException, NoSuchUserException
ctx
- The contextuser
- The usercapsToAdd
- The capabilities to addcapsToRemove
- The capabilities to removecapsToDrop
- The capabilities to drop; e.g. clean from storageauth
- The credentialsjava.rmi.RemoteException
- General RMI ExceptionStorageException
- When an error in the subsystems occurred.InvalidCredentialsException
- When the supplied credentials were not correct or invalid.NoSuchContextException
- If the context does not exist in the system.InvalidDataException
- If the data sent within the method contained invalid data.DatabaseUpdateException
NoSuchUserException
void changeMailAddressPersonal(Context ctx, User user, java.lang.String personal, Credentials auth) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, NoSuchContextException, InvalidDataException, DatabaseUpdateException, NoSuchUserException
ctx
- The contextuser
- The userpersonal
- The personal to set or null
to drop the personal information (if any)auth
- The credentialsjava.rmi.RemoteException
- General RMI ExceptionStorageException
- When an error in the subsystems occurred.InvalidCredentialsException
- When the supplied credentials were not correct or invalid.NoSuchContextException
- If the context does not exist in the system.InvalidDataException
- If the data sent within the method contained invalid data.DatabaseUpdateException
NoSuchUserException
int moveUserFilestore(Context ctx, User user, Filestore dstFilestore, Credentials credentials) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, NoSuchContextException, NoSuchFilestoreException, InvalidDataException, DatabaseUpdateException, NoSuchUserException
This operation leaves quota usage unchanged and thus can be considered as the user-sensitive counterpart for OXContextInterface.moveContextFilestore()
.
ctx
- The context in which the user residesuser
- The userdstFilestore
- The destination file storagecredentials
- The credentialsjava.rmi.RemoteException
- General RMI ExceptionStorageException
- If an error in the subsystems occurred.InvalidCredentialsException
- If the supplied credentials were not correct or invalid.NoSuchContextException
- If no such context existsNoSuchFilestoreException
- If no file storage context existsInvalidDataException
- If passed data is invalidDatabaseUpdateException
- If update operation failsNoSuchUserException
- If no such user existsint moveFromUserFilestoreToMaster(Context ctx, User user, User masterUser, Credentials credentials) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, NoSuchContextException, NoSuchFilestoreException, InvalidDataException, DatabaseUpdateException, NoSuchUserException
This operation is quota-aware and thus transfers current quota usage to master account as well.
ctx
- The context in which the user residesuser
- The usermasterUser
- The master user accountcredentials
- The credentialsjava.rmi.RemoteException
- General RMI ExceptionStorageException
- If an error in the subsystems occurred.InvalidCredentialsException
- If the supplied credentials were not correct or invalid.NoSuchContextException
- If no such context existsNoSuchFilestoreException
- If no file storage context existsInvalidDataException
- If passed data is invalidDatabaseUpdateException
- If update operation failsNoSuchUserException
- If no such user existsint moveFromMasterToUserFilestore(Context ctx, User user, User masterUser, Filestore dstFilestore, long maxQuota, Credentials credentials) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, NoSuchContextException, NoSuchFilestoreException, InvalidDataException, DatabaseUpdateException, NoSuchUserException
This operation is quota-aware and thus transfers current quota usage from master account to user.
ctx
- The context in which the user residesuser
- The usermasterUser
- The master user accountdstFilestore
- The destination file storage to move tomaxQuota
- TODOcredentials
- The credentialsjava.rmi.RemoteException
- General RMI ExceptionStorageException
- If an error in the subsystems occurred.InvalidCredentialsException
- If the supplied credentials were not correct or invalid.NoSuchContextException
- If no such context existsNoSuchFilestoreException
- If no file storage context existsInvalidDataException
- If passed data is invalidDatabaseUpdateException
- If update operation failsNoSuchUserException
- If no such user existsint moveFromContextToUserFilestore(Context ctx, User user, Filestore dstFilestore, long maxQuota, Credentials credentials) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, NoSuchContextException, NoSuchFilestoreException, InvalidDataException, DatabaseUpdateException, NoSuchUserException
This operation is quota-aware and thus transfers current quota usage from context to user.
ctx
- The context in which the user residesuser
- The userdstFilestore
- The destination file storage to move tomaxQuota
- TODOcredentials
- The credentialsjava.rmi.RemoteException
- General RMI ExceptionStorageException
- If an error in the subsystems occurred.InvalidCredentialsException
- If the supplied credentials were not correct or invalid.NoSuchContextException
- If no such context existsNoSuchFilestoreException
- If no file storage context existsInvalidDataException
- If passed data is invalidDatabaseUpdateException
- If update operation failsNoSuchUserException
- If no such user existsint moveFromUserToContextFilestore(Context ctx, User user, Credentials credentials) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, NoSuchContextException, NoSuchFilestoreException, InvalidDataException, DatabaseUpdateException, NoSuchUserException
This operation is quota-aware and thus transfers current quota usage from user to context.
ctx
- The context in which the user residesuser
- The usercredentials
- The credentialsjava.rmi.RemoteException
- General RMI ExceptionStorageException
- If an error in the subsystems occurred.InvalidCredentialsException
- If the supplied credentials were not correct or invalid.NoSuchContextException
- If no such context existsNoSuchFilestoreException
- If no file storage context existsInvalidDataException
- If passed data is invalidDatabaseUpdateException
- If update operation failsNoSuchUserException
- If no such user existsvoid change(Context ctx, User usrdata, Credentials auth) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, NoSuchContextException, InvalidDataException, DatabaseUpdateException, NoSuchUserException
context
- Context in which the new user will be modified.usrdata
- User containing user data.auth
- Credentials for authenticating against server.java.rmi.RemoteException
- General RMI ExceptionStorageException
- When an error in the subsystems occurred.InvalidCredentialsException
- When the supplied credentials were not correct or invalid.NoSuchContextException
- If the context does not exist in the system.InvalidDataException
- If the data sent within the method contained invalid data.DatabaseUpdateException
NoSuchUserException
void delete(Context ctx, User[] users, Credentials auth) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, NoSuchContextException, InvalidDataException, DatabaseUpdateException, NoSuchUserException
context
- Context in which the new user will be deleted.users
- user array containing user object.auth
- Credentials for authenticating against server.java.rmi.RemoteException
- General RMI ExceptionStorageException
- When an error in the subsystems occurred.InvalidCredentialsException
- When the supplied credentials were not correct or invalid.NoSuchContextException
- If the context does not exist in the system.InvalidDataException
- If the data sent within the method contained invalid data.DatabaseUpdateException
NoSuchUserException
void delete(Context ctx, User user, Credentials auth) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, NoSuchContextException, InvalidDataException, DatabaseUpdateException, NoSuchUserException
context
- Context in which the new user will be deleted.user
- user object.auth
- Credentials for authenticating against server.java.rmi.RemoteException
- General RMI ExceptionStorageException
- When an error in the subsystems occurred.InvalidCredentialsException
- When the supplied credentials were not correct or invalid.NoSuchContextException
- If the context does not exist in the system.InvalidDataException
- If the data sent within the method contained invalid data.DatabaseUpdateException
NoSuchUserException
UserModuleAccess moduleAccessForName(java.lang.String accessCombinationName) throws java.rmi.RemoteException
accessCombinationName
- The access combination nameauth
- Credentials for authenticating against server.java.rmi.RemoteException
- General RMI ExceptionUserModuleAccess getModuleAccess(Context ctx, User user, Credentials auth) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, NoSuchContextException, InvalidDataException, DatabaseUpdateException, NoSuchUserException
context
- Contextuser_id
- int containing the user id.auth
- Credentials for authenticating against server.java.rmi.RemoteException
- General RMI ExceptionStorageException
- When an error in the subsystems occurred.InvalidCredentialsException
- When the supplied credentials were not correct or invalid.NoSuchContextException
- If the context does not exist in the system.InvalidDataException
- If the data sent within the method contained invalid data.DatabaseUpdateException
NoSuchUserException
java.lang.String getAccessCombinationName(Context ctx, User user, Credentials auth) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, NoSuchContextException, InvalidDataException, DatabaseUpdateException, NoSuchUserException
ctx
- user
- auth
- java.rmi.RemoteException
InvalidCredentialsException
NoSuchContextException
StorageException
InvalidDataException
DatabaseUpdateException
NoSuchUserException
void changeModuleAccess(Context ctx, User user, UserModuleAccess moduleAccess, Credentials auth) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, NoSuchContextException, InvalidDataException, DatabaseUpdateException, NoSuchUserException
ctx
- Context object.user_id
- int containing the user id.moduleAccess
- UserModuleAccess containing module access.auth
- Credentials for authenticating against server.java.rmi.RemoteException
- General RMI ExceptionStorageException
- When an error in the subsystems occurred.InvalidCredentialsException
- When the supplied credentials were not correct or invalid.NoSuchContextException
- If the context does not exist in the system.InvalidDataException
- If the data sent within the method contained invalid data.DatabaseUpdateException
NoSuchUserException
void changeModuleAccess(Context ctx, User user, java.lang.String access_combination_name, Credentials auth) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, NoSuchContextException, InvalidDataException, DatabaseUpdateException, NoSuchUserException
ctx
- Context object.user_id
- int containing the user id.access
- String containing access combination name.auth
- Credentials for authenticating against server.java.rmi.RemoteException
- General RMI ExceptionStorageException
- When an error in the subsystems occurred.InvalidCredentialsException
- When the supplied credentials were not correct or invalid.NoSuchContextException
- If the context does not exist in the system.InvalidDataException
- If the data sent within the method contained invalid data.DatabaseUpdateException
NoSuchUserException
void changeModuleAccessGlobal(java.lang.String filter, UserModuleAccess addAccess, UserModuleAccess removeAccess, Credentials auth) throws java.rmi.RemoteException, InvalidCredentialsException, StorageException, InvalidDataException
filter
- The call affects only users with exactly this access combination. This is either a String representing a defined module access combination or an Integer (masked as String) for direct definitions. null for no filter.addAccess
- Access rights to be addedremoveAccess
- Access rights to be removedauth
- Credentials for authenticating against server. Must be the master Admin.InvalidCredentialsException
- When the supplied credentials were not correct or invalid.StorageException
- When an error in the subsystems occured.InvalidDataException
- If the data sent within the method contained invalid data.java.rmi.RemoteException
- General RMI ExceptionUser[] getData(Context ctx, User[] users, Credentials auth) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, NoSuchContextException, InvalidDataException, NoSuchUserException, DatabaseUpdateException
context
- Context object.users
- User[] with users to get data for.auth
- Credentials for authenticating against server.java.rmi.RemoteException
- General RMI ExceptionStorageException
- When an error in the subsystems occured.InvalidCredentialsException
- When the supplied credentials were not correct or invalid.NoSuchContextException
- If the context does not exist in the system.InvalidDataException
- If the data sent within the method contained invalid data.NoSuchUserException
DatabaseUpdateException
User.getUsername().
User getData(Context ctx, User user, Credentials auth) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, NoSuchContextException, InvalidDataException, NoSuchUserException, DatabaseUpdateException
context
- Context object.user
- user object with user to get data for.auth
- Credentials for authenticating against server.java.rmi.RemoteException
- General RMI ExceptionStorageException
- When an error in the subsystems occured.InvalidCredentialsException
- When the supplied credentials were not correct or invalid.NoSuchContextException
- If the context does not exist in the system.InvalidDataException
- If the data sent within the method contained invalid data.NoSuchUserException
DatabaseUpdateException
User.getUsername().
User[] list(Context ctx, java.lang.String search_pattern, Credentials auth) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, NoSuchContextException, InvalidDataException, DatabaseUpdateException
ctx
- Context object.search_pattern
- A pattern to search forauth
- Credentials for authenticating against server.java.rmi.RemoteException
StorageException
InvalidCredentialsException
NoSuchContextException
InvalidDataException
DatabaseUpdateException
User[] list(Context ctx, java.lang.String search_pattern, Credentials auth, boolean includeGuests, boolean excludeUsers) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, NoSuchContextException, InvalidDataException, DatabaseUpdateException
ctx
- Context object.search_pattern
- A pattern to search forauth
- Credentials for authenticating against server.includeGuests
- List guest users tooexcludeUsers
- List only guest usersjava.rmi.RemoteException
StorageException
InvalidCredentialsException
NoSuchContextException
InvalidDataException
DatabaseUpdateException
User[] listCaseInsensitive(Context ctx, java.lang.String search_pattern, Credentials auth) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, NoSuchContextException, InvalidDataException, DatabaseUpdateException
ctx
- Context object.search_pattern
- A pattern to search forauth
- Credentials for authenticating against server.java.rmi.RemoteException
StorageException
InvalidCredentialsException
NoSuchContextException
InvalidDataException
DatabaseUpdateException
User[] listCaseInsensitive(Context ctx, java.lang.String search_pattern, Credentials auth, boolean includeGuests, boolean excludeUsers) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, NoSuchContextException, InvalidDataException, DatabaseUpdateException
ctx
- Context object.search_pattern
- A pattern to search forauth
- Credentials for authenticating against server.includeGuests
- List guest users tooexcludeUsers
- List only guest usersjava.rmi.RemoteException
StorageException
InvalidCredentialsException
NoSuchContextException
InvalidDataException
DatabaseUpdateException
User[] listAll(Context ctx, Credentials auth) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, NoSuchContextException, InvalidDataException, DatabaseUpdateException
ctx
- Context object.auth
- Credentials for authenticating against server.java.rmi.RemoteException
StorageException
InvalidCredentialsException
NoSuchContextException
InvalidDataException
DatabaseUpdateException
User[] listAll(Context ctx, Credentials auth, boolean includeGuests, boolean excludeUsers) throws java.rmi.RemoteException, StorageException, InvalidCredentialsException, NoSuchContextException, InvalidDataException, DatabaseUpdateException
ctx
- Context object.auth
- Credentials for authenticating against server.includeGuests
- List guest users tooexcludeUsers
- List only guest usersjava.rmi.RemoteException
StorageException
InvalidCredentialsException
NoSuchContextException
InvalidDataException
DatabaseUpdateException
boolean exists(Context ctx, User user, Credentials auth) throws java.rmi.RemoteException, InvalidDataException, InvalidCredentialsException, StorageException, DatabaseUpdateException, NoSuchContextException
ctx
- user
- java.rmi.RemoteException
InvalidDataException
InvalidCredentialsException
StorageException
DatabaseUpdateException
NoSuchContextException
java.util.List<UserProperty> getUserConfigurationSource(Context ctx, User user, java.lang.String searchPattern, Credentials credentials) throws java.rmi.RemoteException, InvalidDataException, StorageException, InvalidCredentialsException, NoSuchUserException
UserProperty
) and its source.ctx
- Context object the user is associated touser
- User object to retrieve the configuration forsearchPattern
- string with a pattern to search for a propertycredentials
- Credentials for authenticating against serverList
InvalidDataException
StorageException
NoSuchUserException
InvalidCredentialsException
java.rmi.RemoteException
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.util.Set<java.lang.String>>> getUserCapabilitiesSource(Context ctx, User user, Credentials credentials) throws java.rmi.RemoteException, InvalidDataException, StorageException, InvalidCredentialsException, NoSuchUserException
ctx
- Context object the user is associated touser
- User object to retrieve the configuration forcredentials
- Credentials for authenticating against serverInvalidDataException
StorageException
NoSuchUserException
InvalidCredentialsException
java.rmi.RemoteException