|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserManager
Interface for managing users. It can perform creation, deletion and searching of users.
Method Summary | |
---|---|
void |
addAssociation(CentraSiteUser localUser,
CentraSiteUser unregisteredUser)
Associates unregistered user with local user thus the unregistered user becomes registered user. |
CentraSiteUser |
createUnknownUser(java.lang.String fqn)
Used for creation of Users not known to the currently effective external user repository. |
CentraSiteUser |
createUser()
Create a new instance of CentraSiteUser . |
void |
deleteUser(CentraSiteUser user)
Delete specified user. |
java.util.Collection<javax.xml.registry.infomodel.Organization> |
getOrganizations(CentraSiteUser user)
Get the organizations that the specified user is a member of. |
java.util.Collection<javax.xml.registry.infomodel.Organization> |
getOrganizations(CentraSiteUser user,
CentraSitePermission permission)
Get the organizations that the specified user has the specified permission for. |
CentraSiteUser |
getPrimaryContact(javax.xml.registry.infomodel.Organization organization)
Get the primary contact of the given organization. |
java.util.Collection<CentraSiteUser> |
getRegisteredUsers()
Get all users registered in CentraSite. |
java.util.Collection<CentraSiteUser> |
getRegisteredUsers(java.lang.String filter)
Using filleter to get the registered users in CentraSite. |
java.util.Collection<CentraSiteUser> |
getRegisteredUsersEx()
Get all users registered in CentraSite. |
java.util.Collection<CentraSiteUser> |
getRegisteredUsersEx(java.lang.String filter)
Using filleter to get the registered users in CentraSite. |
java.util.Collection<CentraSiteUser> |
getUnregisteredUsers(java.lang.String filter)
Get the external users that are not known to CentraSite using the specified search filter. |
CentraSiteUser |
getUser(javax.xml.registry.infomodel.User user)
Utility method to obtain CentraSiteUser instance of User |
java.util.Collection<CentraSiteUser> |
getUsers(javax.xml.registry.infomodel.Organization organization)
get the users that are members of the specified organization |
java.util.Collection<CentraSiteUser> |
getUsers(java.lang.String filter)
Get the users using the specified search filter. |
java.util.Collection<CentraSiteUser> |
getUsersEx(javax.xml.registry.infomodel.Organization organization)
get the users that are members of the specified organization The returned collection will support repeated iterations. |
java.util.Collection<CentraSiteUser> |
getUsersEx(java.lang.String filter)
Get the users using the specified search filter. |
void |
setPrimaryContact(CentraSiteUser user,
javax.xml.registry.infomodel.Organization organization)
Set the given user as primary contact for the given organization. |
Methods inherited from interface com.centrasite.resourceaccess.managers.ResourceManager |
---|
delete, save |
Method Detail |
---|
CentraSiteUser createUser() throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
CentraSiteUser
.
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursCentraSiteUser createUnknownUser(java.lang.String fqn) throws com.softwareag.security.jaas.principals.SagGeneralSecurityException, javax.xml.registry.JAXRException
fqn
- The fully qualified name of the user e.g. "DOMAIN\username"
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occurs
javax.xml.registry.JAXRException
- if a JAXR error occursvoid deleteUser(CentraSiteUser user) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursjava.util.Collection<CentraSiteUser> getUsers(java.lang.String filter) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
filter
- search filter - if filter is empty string then no filtering occurs
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursjava.util.Collection<CentraSiteUser> getUsersEx(java.lang.String filter) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
filter
- search filter - if filter is empty string then no filtering occurs
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursjava.util.Collection<CentraSiteUser> getUsers(javax.xml.registry.infomodel.Organization organization) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
organization
- The Organization we are searching the members of
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursjava.util.Collection<CentraSiteUser> getUsersEx(javax.xml.registry.infomodel.Organization organization) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
organization
- The Organization we are searching the members of
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursjava.util.Collection<javax.xml.registry.infomodel.Organization> getOrganizations(CentraSiteUser user, CentraSitePermission permission) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursjava.util.Collection<javax.xml.registry.infomodel.Organization> getOrganizations(CentraSiteUser user) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursjava.util.Collection<CentraSiteUser> getUnregisteredUsers(java.lang.String filter) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
filter
- search filter - if filter is empty string then no filtering occurs. Filter is in format as declared
by SSX. See com.softwareag.security.jaas.repository.ssx.SSXRepositoryManager for details.
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursjava.util.Collection<CentraSiteUser> getRegisteredUsers() throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursjava.util.Collection<CentraSiteUser> getRegisteredUsersEx() throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursjava.util.Collection<CentraSiteUser> getRegisteredUsers(java.lang.String filter) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursjava.util.Collection<CentraSiteUser> getRegisteredUsersEx(java.lang.String filter) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursCentraSiteUser getUser(javax.xml.registry.infomodel.User user) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
CentraSiteUser
instance of User
user
- The User
registry object.
CentraSiteUser
instance;
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursvoid addAssociation(CentraSiteUser localUser, CentraSiteUser unregisteredUser) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
localUser
- the local userunregisteredUser
- the external unregistered user
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occursvoid setPrimaryContact(CentraSiteUser user, javax.xml.registry.infomodel.Organization organization) throws javax.xml.registry.JAXRException
user
- The CentraSiteUser to be set as primary contact.organization
- The Organization to set primary contact to.
javax.xml.registry.JAXRException
- if a JAXR error occursCentraSiteUser getPrimaryContact(javax.xml.registry.infomodel.Organization organization) throws javax.xml.registry.JAXRException, com.softwareag.security.jaas.principals.SagGeneralSecurityException
organization
-
javax.xml.registry.JAXRException
- if a JAXR error occurs
com.softwareag.security.jaas.principals.SagGeneralSecurityException
- if a security error occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |