|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DirectoryManager
This is the primary interface for directory management.
Method Summary | |
---|---|
void |
addAllowedRefererExceptions(java.lang.String listId,
java.util.List refererExceptions)
Creates a list of exceptions of Allowed Referers for which a request will be blocked |
void |
addPrincipalToLocalGroup(java.lang.String principalOid,
java.lang.String localGroupOid)
Adds a principal to an existing local group. |
void |
createAllowedURIsList(java.lang.String listId,
java.util.List allowedURIs)
Creates a list of allowed URI's to be white-listed for any calling referer |
java.lang.String |
createDirectoryPrincipal(Principal principal)
Creates a new directory principal. |
void |
createDomain(Domain d)
Creates a domain in the system. |
java.lang.String |
createLocalGroup(Group localGroup)
Creates a new local group. |
java.lang.String |
createLocalSystemUser(User p)
Creates a new local system user. |
java.lang.String |
createLocalUser(User localUser,
java.lang.String password)
Creates a new local user. |
java.lang.String |
createLocalUser(User localUser,
java.lang.String hashedPassword,
java.lang.String salt)
Creates a new local user. |
java.util.Map |
createLocalUsers(java.util.Set userInfo)
Creates a set of new local users. |
void |
deleteAllowedRefererExceptions(java.lang.String listId)
Deletes the list of Allowed Referer Exceptions with the input list Id. |
void |
deleteAllowedURIsList(java.lang.String listId)
Deletes the list of white listed URIs with the input list Id. |
void |
deleteDomain(java.lang.String domainName)
Deletes the domain and all associated principals from the system. |
void |
deleteLocalGroup(java.lang.String groupOid)
Deletes the specified local group. |
void |
deleteLocalUser(java.lang.String userOid)
Deletes a local user from the system. |
Domain |
findDomain(java.lang.String domainName)
Retrieves the domain with the specified name. |
java.util.List |
findDomains()
Enumerates all domains in the system. |
java.util.List |
findGroupMembers(GroupMembershipSearchFilter gsf)
Finds user and group members contained with a group. |
java.util.List |
findGroups(PrincipalSearchFilter searchFilter)
Deprecated. |
Principal |
findPrincipal(java.lang.String oid)
Retrieves a principal according to the specified identifier. |
Principal |
findPrincipal(java.lang.String domainName,
java.lang.String canonicalName)
Retrieves a principal according to the specified domain name and canonical name. |
java.util.Map |
findPrincipalReference(java.util.List principalOids)
Retrieves principal references according to the specified identifiers. |
PrincipalReference |
findPrincipalReference(java.lang.String oid)
Retrieves a principal reference according to the specified identifier. |
PrincipalReference |
findPrincipalReference(java.lang.String domainName,
java.lang.String canonicalName)
Retrieves a principal reference according to the specified domain name and canonical name. |
java.util.List |
findPrincipalReferences(PrincipalSearchFilter searchFilter)
Finds the principals according to the specified search filter and the specified principal type. |
java.util.List |
findPrincipalReferences(PrincipalSearchFilter searchFilter,
java.lang.String principalType)
Deprecated. |
java.util.Map |
findPrincipals(java.util.List principalOids)
Retrieves principals according to the specified identifiers. |
java.util.List |
findPrincipals(PrincipalSearchFilter searchFilter)
Finds the principals according to the specified search filter |
java.util.List |
findPrincipals(PrincipalSearchFilter searchFilter,
java.util.List principalOids)
Deprecated. |
java.util.List |
findPrincipals(PrincipalSearchFilter searchFilter,
java.lang.String principalType)
Deprecated. |
java.util.Map |
findPrincipals(java.util.Set principalReferences)
Finds the principals having the specified principal references. |
java.util.Map |
findPrincipalsByEmailId(java.util.Set emailIds)
Finds the principals having the specified email identifiers. |
java.util.Map |
findPrincipalStatus(java.util.Set principalReferences)
Retrieves the status for the specified principals. |
java.util.List |
findUsers(PrincipalSearchFilter searchFilter)
Deprecated. |
java.util.List |
getAllBusinessCalendarKeys()
Returns a unique set of all the business calendar attribute values. |
java.util.List |
getAllowedRefererExceptions(java.lang.String listId)
Returns a list of Allowed Referer Exception existing in the input list id. |
java.util.List |
getAllowedReferers()
Returns a list of all allowed Referers. |
java.util.List |
getAllowedURIsList(java.lang.String listId)
Returns a list of all white listed URIs existing in the input list id. |
java.lang.String |
getBusinessCalendarKeyforUser(java.lang.String oid)
Returns the business calendar key attribute value for the user whose oid has been passed in. |
java.util.Map |
getDirectorySyncStatus(java.util.Set domainNames)
Retrieves the synchronization status for the java.util.Set of domains. |
Group |
getDomainAsGroup(java.lang.String domainName)
Retrieves the associated group with the specified domain. |
java.util.List |
getDynamicGroupCriteriaAttributes()
Returns a list of all attributes which are being used as criteria in creation of Dynamic Groups. |
DynamicGroupMembershipCriteria |
getDynamicGroupMembershipCriteria(java.lang.String groupOid)
Fetches the membership criteria of a DynamicGroup |
void |
removePrincipalFromLocalGroup(java.lang.String principalOid,
java.lang.String localGroupOid)
Removes a principal from an existing local group. |
void |
updateAllowedRefererExceptions(java.lang.String listId,
java.util.List refererExceptions)
Updates a list of exceptions of Allowed Referers for which a request will be blocked. |
void |
updateAllowedURIsList(java.lang.String listId,
java.util.List allowedURIs)
Updates a list of allowed URI's to be white-listed for any calling referer. |
void |
updateDomain(Domain updatedDom)
Updates the mutable fields in a domain. |
void |
updateDynamicGroupMembershipCriteria(java.lang.String groupOid,
DynamicGroupMembershipCriteria criteria)
Updates the membership criteria of a DynamicGroup |
void |
updateLocalGroup(Group updatedGroup)
Updates information in the group. |
void |
updateLocalUser(User updatedUser,
java.lang.String password)
Updates a local user. |
void |
updateLocalUser(User updatedUser,
java.lang.String oldPassword,
java.lang.String newPassword)
Updates a local user. |
Method Detail |
---|
void createDomain(Domain d) throws UMException
d
- The domain to be created.
UMException
void deleteDomain(java.lang.String domainName) throws UMException
domainName
- The domain to be deleted.
UMException
void updateDomain(Domain updatedDom) throws UMException
findDomains()
to retrieve the Domain
object to be updated.
updatedDom
-
UMException
DirectoryManager.findDomains()
Domain findDomain(java.lang.String domainName) throws UMException
domainName
- The name of the domain to be found.
UMException
Group getDomainAsGroup(java.lang.String domainName) throws UMException
domainName
- The domain associated with the group.
UMException
java.util.Map getDirectorySyncStatus(java.util.Set domainNames) throws UMException
java.util.Set
of domains.
domainNames
- The set of domains whose synchronization status is to be retrieved.
java.util.Map
whose keys are the domain names and whose values are
the corresponding synchronization status (DirectorySyncInfo
) objects.
UMException
DirectorySyncInfo
java.lang.String createDirectoryPrincipal(Principal principal) throws UMException
principal
- The directory principal to be created in the system.
UMException
java.lang.String createLocalGroup(Group localGroup) throws UMException
localGroup
- The local group to be created in the system.
UMException
void updateDynamicGroupMembershipCriteria(java.lang.String groupOid, DynamicGroupMembershipCriteria criteria) throws UMException
groupOid
- criteria
-
UMException
DynamicGroupMembershipCriteria getDynamicGroupMembershipCriteria(java.lang.String groupOid) throws UMException
groupOid
-
UMException
void deleteLocalGroup(java.lang.String groupOid) throws UMException
groupOid
- The local group identifier.
UMException
void updateLocalGroup(Group updatedGroup) throws UMException
findPrincipal()
method (cast the result to a Group
),
and invoke the object's setDescription()
method.
updatedGroup
- The group to be updated.
UMException
java.lang.String createLocalUser(User localUser, java.lang.String password) throws UMException
localUser
- The local user to be created in the system.password
- The local user's password.
UMException
java.lang.String createLocalUser(User localUser, java.lang.String hashedPassword, java.lang.String salt) throws UMException
localUser
- The local user to be created in the system.hashedPassword
- The local user's hashed password.salt
- The salt used with the local user's hashed password.
UMException
java.util.Map createLocalUsers(java.util.Set userInfo) throws UMException
userInfo
- A java.util.Set
containing UserInfo
instances that represent each user's object and password.
java.util.Map
whose keys are the UserInfo
instances and
whose values are the automatically generated corresponding local user identifiers.
UMException
java.lang.String createLocalSystemUser(User p) throws UMException
p
- The new local system user.
UMException
void deleteLocalUser(java.lang.String userOid) throws UMException
userOid
- The local user's identifier.
UMException
void updateLocalUser(User updatedUser, java.lang.String password) throws UMException
updatedUser
- The updated user information.password
- The user's new password. Use null
if you do not want to change the password.
UMException
void updateLocalUser(User updatedUser, java.lang.String oldPassword, java.lang.String newPassword) throws UMException
updatedUser
- The updated user information.oldPassword
- The user's old password.newPassword
- The user's new password. Use null
if you do not want to change the password.
UMException
void addPrincipalToLocalGroup(java.lang.String principalOid, java.lang.String localGroupOid) throws UMException
principalOid
- The principal identifier.localGroupOid
- The local group identifier.
UMException
void removePrincipalFromLocalGroup(java.lang.String principalOid, java.lang.String localGroupOid) throws UMException
principalOid
- The principal identifier.localGroupOid
- The local group identifier.
UMException
java.util.List findDomains() throws UMException
java.util.List
containing all the Domain
objects in the system.
UMException
java.util.List findGroups(PrincipalSearchFilter searchFilter) throws UMException
searchFilter
- The search filter specifying the groups to be returned.
java.util.List
containing all the Group
objects found according to the specified search criteria.
UMException
java.util.List findUsers(PrincipalSearchFilter searchFilter) throws UMException
searchFilter
- The search filter specifying the users to be returned.
java.util.List
containing all the User
objects found according to the specified search criteria.
UMException
java.util.List findPrincipals(PrincipalSearchFilter searchFilter, java.lang.String principalType) throws UMException
searchFilter
- The search filter specifying the principals to be returned.principalType
- The type of the principals to be retrieved.
java.util.List
containing all the Principal
objects found according to the specified search criteria and principal type.
UMException
java.util.List findPrincipals(PrincipalSearchFilter searchFilter) throws UMException
searchFilter
- The search filter specifying the principals to be returned.
java.util.List
containing all the Principal
objects found according to the specified search criteria and principal type.
UMException
java.util.List findPrincipalReferences(PrincipalSearchFilter searchFilter, java.lang.String principalType) throws UMException
searchFilter
- The search filter specifying the principals to be returned.principalType
- The type of the principals to be retrieved.
java.util.List
containing all references PrincipalReference
for the principals found
according to the specified search criteria and principal type.
UMException
java.util.List findPrincipalReferences(PrincipalSearchFilter searchFilter) throws UMException
searchFilter
- The search filter specifying the principals to be returned.
java.util.List
containing all references PrincipalReference
for the principals found
according to the specified search criteria and principal type.
UMException
Principal findPrincipal(java.lang.String oid) throws UMException
oid
- The principal identifier.
UMException
PrincipalReference findPrincipalReference(java.lang.String oid) throws UMException
oid
- The principal identifier.
PrincipalReference
for the principal to be retrieved.
UMException
java.util.Map findPrincipalReference(java.util.List principalOids) throws UMException
principalOids
- A List
containing the principal identifiers.
PrincipalReference
for the principals.
UMException
Principal findPrincipal(java.lang.String domainName, java.lang.String canonicalName) throws UMException
domainName
- The domain name of the principal.canonicalName
- The canonical name of the principal.
UMException
PrincipalReference findPrincipalReference(java.lang.String domainName, java.lang.String canonicalName) throws UMException
domainName
- The domain name of the principal.canonicalName
- The canonical name of the principal.
PrincipalReference
for the principal to be retrieved.
UMException
java.util.Map findPrincipals(java.util.List principalOids) throws UMException
principalOids
- A List
of principal identifiers.
Map
whose keys are the principal identifiers and whose values are the principals.
UMException
java.util.List findPrincipals(PrincipalSearchFilter searchFilter, java.util.List principalOids) throws UMException
List
. Use findPrincipals(PrincipalSearchFilter).
searchFilter
- The search filter specifying the principals to be returned.principalOids
- A java.util.List
of principal identifiers used to limit the search.
List
containing all the Principal
objects found.
UMException
java.util.Map findPrincipalStatus(java.util.Set principalReferences) throws UMException
principalReferences
- A java.util.Set
of principal references PrincipalReference
.
java.util.Map
whose keys are principal references and whose values are the corresponding status in each case.
UMException
UMConstants
java.util.Map findPrincipalsByEmailId(java.util.Set emailIds) throws UMException
emailIds
- A java.util.Set
of email identifiers for the principals.
java.util.Map
whose key is the email identifier and whose value is a java.util.Set
containing the corresponding principals.
UMException
java.util.List findGroupMembers(GroupMembershipSearchFilter gsf) throws UMException
gsf
- The group membership search filter used for the search.
UMException
java.util.Map findPrincipals(java.util.Set principalReferences) throws UMException
principalReferences
- The principal references.
java.util.Map
whose key is the principal reference and whose value is a java.util.Set
containing the corresponding principals.
UMException
java.lang.String getBusinessCalendarKeyforUser(java.lang.String oid) throws UMException
oid
- The principal Oid.
java.lang.String
containing the Calender key for the User.
UMException
java.util.List getAllBusinessCalendarKeys() throws UMException
java.util.List
containing java.lang.String
values for All Business Calender Keys.
UMException
void createAllowedURIsList(java.lang.String listId, java.util.List allowedURIs) throws UMException
listId
- A java.lang.String
id that identifies the List.allowedURIs
- A java.uitl.List
of all white listed URI's
UMException
java.util.List getAllowedURIsList(java.lang.String listId) throws UMException
listId
- A java.lang.String
id that identifies the List.
java.util.List
containing java.lang.String
values for white listed URIs.
UMException
void updateAllowedURIsList(java.lang.String listId, java.util.List allowedURIs) throws UMException
listId
- A java.lang.String
id that identifies the List.allowedURIs
- A java.uitl.List
of all white listed URI's
UMException
void deleteAllowedURIsList(java.lang.String listId) throws UMException
listId
- A java.lang.String
id that identifies the List.
UMException
java.util.List getAllowedReferers() throws UMException
java.util.List
containing java.lang.String
values for white listed Referers.
UMException
java.util.List getDynamicGroupCriteriaAttributes() throws UMException
java.util.List
containing java.lang.Integer
values for Dynamic Group Attributes.
UMException
DynamicGroupMembershipCriteria#membership_canonicalName}
,
DynamicGroupMembershipCriteria#membership_commonName}
,
DynamicGroupMembershipCriteria#membership_domainName}
,
DynamicGroupMembershipCriteria#membership_email}
void addAllowedRefererExceptions(java.lang.String listId, java.util.List refererExceptions) throws UMException
listId
- A java.lang.String
id that identifies the List.allowedURIs
- A java.uitl.List
of all Allowed Referer Exceptions
UMException
java.util.List getAllowedRefererExceptions(java.lang.String listId) throws UMException
listId
- A java.lang.String
id that identifies the List.
java.util.List
containing java.lang.String
values for Allowed Referer Exceptions
UMException
void updateAllowedRefererExceptions(java.lang.String listId, java.util.List refererExceptions) throws UMException
listId
- A java.lang.String
id that identifies the List.allowedURIs
- A java.uitl.List
of all Allowed Referer Exceptions
UMException
void deleteAllowedRefererExceptions(java.lang.String listId) throws UMException
listId
- A java.lang.String
id that identifies the List.
UMException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |