|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface OrganizationServicesManager
This interface provides API definitions to manage participants in LDAP
and database.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
boolean |
addMember(WTGroup group,
WTPrincipal principal)
Adds a principal to a group. |
WTPrincipal[] |
addMembers(WTGroup group,
WTPrincipal[] principals)
Adds principals to a group. |
WTPrincipal |
createPrincipal(WTPrincipal principal)
This API persists the principal object in the database. |
WTGroup |
delete(WTGroup group)
The API is used to delete a group from the database and its corresponding entry in LDAP. |
WTUser |
delete(WTUser user)
The API is used to delete a user object from the database and its corresponding entry in LDAP. |
WTPrincipal |
disablePrincipal(WTPrincipal principal)
This API is used to disable a principal in the database. |
WTPrincipal |
enablePrincipal(WTPrincipal principal)
This API is used to enable a previously disabled principal. |
Enumeration |
findLikeActiveAndDisabledUsers(Class principalClass,
String criteria,
DirectoryContextProvider[] contexts)
This API returns a resultset containing all the active and disabled users. |
Enumeration |
findLikeDisabledUsers(String criteria)
Provides a result set of all disabled users that match the search criteria provided as a parameter. |
Enumeration |
findLikeGroups(String pattern,
DirectoryContextProvider context)
This method will search the given directory context for groups whose name matches the name pattern provided. |
Enumeration |
findLikeOrganizations(String attributeName,
String pattern,
DirectoryContextProvider context)
This API returns all the organizations matching the name provided as a pattern. |
Enumeration |
findLikeOrganizations(String attributeName,
String pattern,
DirectoryContextProvider context,
boolean querySubtree)
This API returns all the organizations matching the name provided as a pattern. |
Enumeration |
findLikeOrganizations(String attributeName,
String pattern,
DirectoryContextProvider context,
boolean querySubtree,
boolean applyAccessFilter)
This API returns all the organizations matching the name provided as a pattern. |
Enumeration |
findLikeUsers(String attributeName,
String pattern,
DirectoryContextProvider context)
This API returns all the users matching the name provided as a pattern. |
WTUser |
getAuthenticatedUser(String auth_name)
Supported API: true |
String[] |
getDirectoryServiceNames()
Supported API: true |
WTGroup |
getGroup(String name,
DirectoryContextProvider context)
This method will search for groups whose name attribute matches the given name in the given directory context. |
Enumeration |
getGroups(String name,
DirectoryContextProvider context)
Supported API: true |
WTOrganization |
getOrganization(String name,
DirectoryContextProvider context)
Supported API: true |
WTOrganization |
getOrganization(WTPrincipal principal)
Returns the organization with which a principal is associated. |
Enumeration |
getOrganizations(String name,
DirectoryContextProvider context)
Supported API: true |
WTPrincipal |
getPrincipal(ObjectIdentifier reference)
Gets the user or group for the specified principal reference. |
WTPrincipal |
getPrincipal(String name,
Class type,
DirectoryContextProvider context)
This method will search for a principal with the given name in the given organization. |
Enumeration |
getPrincipal(String name,
DirectoryContextProvider context)
This method will search for principals with the given name in the given organization. |
WTPrincipal |
getPrincipalByDN(String dn)
Returns the principal identified by a specific directory distinguished name, or null if no such principal exists. |
WTPrincipalReference |
getPrincipalReference(String name,
Class type,
DirectoryContextProvider context)
This method will search for a principal with the given name in the given organization, and return its reference. |
Enumeration |
getPrincipalReference(String name,
DirectoryContextProvider context)
This method will search for principals with the given name in the given organization, and references to them will be returned. |
WTUser |
getUser(String name,
DirectoryContextProvider context)
Supported API: true |
Enumeration |
getUsers(String name,
DirectoryContextProvider context)
Supported API: true |
boolean |
isMember(WTGroup group,
WTPrincipal principal)
Supported API: true |
boolean |
isMember(WTPrincipalReference group,
WTPrincipal principal)
Supported API: true |
Enumeration |
members(WTGroup group)
Supported API: true |
Enumeration |
members(WTGroup group,
boolean flatten)
Supported API: true |
WTPrincipal |
move(WTPrincipal principal,
DirectoryContextProvider newContext)
Supported API: true |
DirectoryContextProvider |
newDirectoryContextProvider(DirectoryContextProvider baseContext,
String[] searchScopes)
Supported API: true |
DirectoryContextProvider |
newDirectoryContextProvider(String[] services,
String[] searchScopes)
Supported API: true |
Enumeration |
parentGroups(WTPrincipal principal)
Supported API: true |
Enumeration |
queryPrincipals(Class principalClass,
String criteria,
DirectoryContextProvider context)
Supported API: true |
Enumeration |
queryPrincipals(Class principalClass,
String criteria,
DirectoryContextProvider[] contexts)
Supported API: true |
boolean |
removeMember(WTGroup group,
WTPrincipal principal)
Removes a principal from a group. |
boolean |
removeMember(WTGroup group,
WTPrincipal principal,
boolean bValidate)
Removes a principal from a group. |
boolean |
removeMembers(WTGroup group,
WTPrincipal[] principals)
Removes principals from a group. |
boolean |
removeMembers(WTGroup group,
WTPrincipal[] principals,
boolean bValidate)
Removes principals from a group. |
WTPrincipal |
rename(WTPrincipal principal,
String newName)
Supported API: true |
WTPrincipal |
repairPrincipal(String oldName,
String newDn,
String oldEnteredDn)
This method tries and repairs the principal given the "oldName" (name that is currently in the database and possibly will continue to be -- ie. |
WTPrincipal |
updatePrincipal(WTPrincipal principal)
Supported API: true |
| Method Detail |
|---|
WTPrincipal getPrincipal(ObjectIdentifier reference)
throws WTException
reference -
WTException
Enumeration getPrincipal(String name,
DirectoryContextProvider context)
throws WTException
name - context -
WTException
WTPrincipal getPrincipal(String name,
Class type,
DirectoryContextProvider context)
throws WTException
name - type - context -
WTException
WTPrincipal getPrincipalByDN(String dn)
throws WTException
dn -
WTException
Enumeration getPrincipalReference(String name,
DirectoryContextProvider context)
throws WTException
name - context -
WTException
WTPrincipalReference getPrincipalReference(String name,
Class type,
DirectoryContextProvider context)
throws WTException
name - type - context -
WTException
Enumeration queryPrincipals(Class principalClass,
String criteria,
DirectoryContextProvider context)
throws WTException
principalClass - criteria - context -
WTException
Enumeration queryPrincipals(Class principalClass,
String criteria,
DirectoryContextProvider[] contexts)
throws WTException
principalClass - criteria - contexts -
WTException
WTPrincipal createPrincipal(WTPrincipal principal)
throws WTException
principal -
WTException
WTPrincipal disablePrincipal(WTPrincipal principal)
throws WTException
principal -
WTException
WTPrincipal enablePrincipal(WTPrincipal principal)
throws WTException
principal -
WTException
WTPrincipal updatePrincipal(WTPrincipal principal)
throws WTException
principal -
WTException
WTPrincipal rename(WTPrincipal principal,
String newName)
throws WTException
principal - newName -
WTException
WTPrincipal move(WTPrincipal principal,
DirectoryContextProvider newContext)
throws WTException
principal - newContext -
WTException
WTUser getAuthenticatedUser(String auth_name)
throws WTException
auth_name -
WTException
WTUser getUser(String name,
DirectoryContextProvider context)
throws WTException
name - context -
WTException
Enumeration getUsers(String name,
DirectoryContextProvider context)
throws WTException
name - context -
WTException
Enumeration findLikeUsers(String attributeName,
String pattern,
DirectoryContextProvider context)
throws WTException
attributeName - pattern - context -
WTException
WTUser delete(WTUser user)
throws WTException
user -
WTException
WTGroup getGroup(String name,
DirectoryContextProvider context)
throws WTException
name - context -
WTException
Enumeration getGroups(String name,
DirectoryContextProvider context)
throws WTException
name - context -
WTException
Enumeration findLikeGroups(String pattern,
DirectoryContextProvider context)
throws WTException
pattern - context -
WTException
WTGroup delete(WTGroup group)
throws WTException
group -
WTException
boolean addMember(WTGroup group,
WTPrincipal principal)
throws WTException,
UserNotFoundException
group - principal -
WTException
UserNotFoundException
WTPrincipal[] addMembers(WTGroup group,
WTPrincipal[] principals)
throws WTException
group - principals -
WTException
boolean removeMember(WTGroup group,
WTPrincipal principal)
throws WTException,
UserNotFoundException
group - principal -
WTException
UserNotFoundException
boolean isMember(WTGroup group,
WTPrincipal principal)
throws WTException
group - principal -
WTException
boolean isMember(WTPrincipalReference group,
WTPrincipal principal)
throws WTException
group - principal -
WTException
Enumeration members(WTGroup group)
throws WTException
group -
WTException
Enumeration members(WTGroup group,
boolean flatten)
throws WTException
group - flatten -
WTException
Enumeration parentGroups(WTPrincipal principal)
throws WTException
principal -
WTException
WTOrganization getOrganization(WTPrincipal principal)
throws WTException
principal -
WTException
WTOrganization getOrganization(String name,
DirectoryContextProvider context)
throws WTException
name - context -
WTException
Enumeration getOrganizations(String name,
DirectoryContextProvider context)
throws WTException
name - context -
WTException
Enumeration findLikeOrganizations(String attributeName,
String pattern,
DirectoryContextProvider context)
throws WTException
attributeName - pattern - context -
WTException
Enumeration findLikeOrganizations(String attributeName,
String pattern,
DirectoryContextProvider context,
boolean querySubtree)
throws WTException
attributeName - pattern - context - querySubtree -
WTException
Enumeration findLikeOrganizations(String attributeName,
String pattern,
DirectoryContextProvider context,
boolean querySubtree,
boolean applyAccessFilter)
throws WTException
attributeName - pattern - context - querySubtree - applyAccessFilter -
WTException
String[] getDirectoryServiceNames()
throws WTException
WTException
WTPrincipal repairPrincipal(String oldName,
String newDn,
String oldEnteredDn)
throws WTException
oldName - newDn - oldEnteredDn -
WTException
DirectoryContextProvider newDirectoryContextProvider(DirectoryContextProvider baseContext,
String[] searchScopes)
throws WTException
baseContext - searchScopes -
WTException
DirectoryContextProvider newDirectoryContextProvider(String[] services,
String[] searchScopes)
throws WTException
services - searchScopes -
WTException
boolean removeMembers(WTGroup group,
WTPrincipal[] principals)
throws WTException,
UserNotFoundException
group - principals -
WTException
UserNotFoundException
Enumeration findLikeActiveAndDisabledUsers(Class principalClass,
String criteria,
DirectoryContextProvider[] contexts)
throws WTException
principalClass - criteria - contexts -
WTException
Enumeration findLikeDisabledUsers(String criteria)
throws WTException
criteria -
WTException
boolean removeMember(WTGroup group,
WTPrincipal principal,
boolean bValidate)
throws WTException,
UserNotFoundException
group - principal - bValidate -
WTException
UserNotFoundException
boolean removeMembers(WTGroup group,
WTPrincipal[] principals,
boolean bValidate)
throws WTException,
UserNotFoundException
group - principals - bValidate -
WTException
UserNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||