|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
wt.org.StandardOrganizationServicesManager
Standard implementation of the Organization Services Manager interface. Supports also a cache of WTPrincipal objects.
Use the newStandardOrganizationServicesManager
static factory
method(s), not the StandardOrganizationServicesManager
constructor,
to construct instances of this class. Instances must be constructed
using the static factory(s), in order to ensure proper initialization
of the instance.
Supported API: true
Extendable: false
Nested Class Summary | |
(package private) class |
StandardOrganizationServicesManager.PrincipalEventListener
|
(package private) class |
StandardOrganizationServicesManager.TransactionMonitor
TransactionMonitor class Inner class used to monitor transaction commits and rollback. |
Fields inherited from class wt.services.StandardManager |
|
Fields inherited from interface wt.services.Manager |
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE |
Constructor Summary | |
StandardOrganizationServicesManager()
|
Method Summary | |
private String |
_arrayToString(String[] array)
|
private void |
_cacheMembers(DirectoryKey key,
HashSet members)
|
private void |
_checkAdministrator()
|
private void |
_checkCreatePrincipal(WTPrincipal principal)
|
private void |
_checkDeletePrincipal(WTPrincipal principal)
|
private void |
_checkDisablePrincipal(WTPrincipal principal)
|
private String |
_createNewDirectoryEntry(WTPrincipal principal)
|
private WTPrincipal |
_createNewPrincipal(WTPrincipal principal)
|
private WTUser |
_createPendingUser(String email)
|
private void |
_deleteSubordinateObjects(DirectoryContextProvider baseContext)
|
private WTPrincipal |
_disablePrincipal(WTPrincipal principal)
|
private void |
_dumpStack()
|
private String |
_escapeCriteria(String criteria)
|
private HashSet |
_findOrganizationUsers(WTOrganization organization)
|
private WTUser |
_getAdministrator()
|
private WTGroup |
_getAdministrators()
|
private String[] |
_getAllServices()
|
private String[] |
_getAttributeList(String service,
Class principalClass)
Obtains the list of LDAP attributes supported for a specific service and class of principal. |
private HashMap |
_getAttributeMap(String service,
Class principalClass)
Obtains or creates the service-specific attribute mappings for a particular service and class of principal. |
private DirectoryContextProvider |
_getDirectoryContextProvider(String service)
|
private DirectoryContextProvider |
_getDirectoryContextProvider(String[] services)
|
private ObjectVector |
_getDomainsForPersistedPrincipals(ObjectVectorIfc principalVector)
|
private ObjectVector |
_getDomainsForPrincipals(ObjectVectorIfc principalVector)
|
private String |
_getLocalId(WTPrincipal principal)
|
private String |
_getObjectClass(String service,
Class principalClass)
Obtains the LDAP object class for a Windchill principal class. |
private String |
_getParentDn(String dn)
|
private DirectoryContextProvider |
_getPendingUserDCP()
|
private WTPrincipal |
_getPersistable(WTPrincipal principal)
|
private WTPrincipal |
_getPrincipalByUfid(WTPrincipal principal)
|
private String |
_getRdnFromDn(String dn)
|
private Repository |
_getRepositoryForService(String service)
|
private String |
_getServiceForDn(String dn)
|
private String |
_getSessionUser()
|
private DirectoryContextProvider[] |
_getWindchillPDMGroupContexts(String[] services)
|
private void |
_handlePostStorePrincipal(WTPrincipal principal)
|
private boolean |
_hasAccess(WTPrincipal principal,
AccessPermission permission)
|
private void |
_hookTransaction(String event_type,
Persistable target)
|
private Map |
_immediateParentGroups(WTPrincipal principal)
Returns the immediate parent groups of a specific principal. |
private WTPrincipal |
_inflateByUfid(WTPrincipal principal)
|
private boolean |
_isAdministrator()
|
private WTPrincipal |
_mapPrincipal(Method factoryMethod,
Element element,
String service)
|
private Enumeration |
_mapPrincipals(Class principalClass,
Group group,
String service)
|
private HashSet |
_memberDns(WTGroup group)
|
private HashSet |
_members(WTGroup group,
boolean flatten)
|
private HashSet |
_members(WTGroup group,
boolean flatten,
HashSet expandedGroups)
|
private Object |
_moveBranch(Object rootNode,
String newName,
String newDn)
|
private String |
_normalizeDn(String dn)
|
private void |
_notifyPrincipalDisabled(WTPrincipal principal)
|
private void |
_notifyPrincipalRepair(WTPrincipal principal)
|
private Map |
_parentGroups(WTPrincipal principal,
String dn,
String service,
HashSet expandedGroups,
HashMap dirKeyMap)
|
private boolean |
_pendingUserExists(String email)
|
private Enumeration |
_queryDisabledGroups(String pattern)
|
private Enumeration |
_queryDisabledUsers(String attrName,
String pattern)
|
private Group |
_queryParents(String dn,
String service)
|
private WTPrincipal |
_queryPrincipal(Class principalClass,
String attrName,
String pattern,
DirectoryContextProvider context)
|
private WTPrincipal[] |
_queryPrincipals(Class principalClass,
String attrName,
String pattern,
DirectoryContextProvider context,
boolean firstMatchWins)
|
private Enumeration |
_queryPrincipals(Class principalClass,
String attrName,
String pattern,
DirectoryContextProvider context,
boolean firstMatchWins,
boolean applyAccessFilter)
|
private WTPrincipal[] |
_queryPrincipals(String service,
Class principalClass,
String criteria,
DirectoryContextProvider context)
|
private WTPrincipal[] |
_queryPrincipals(String service,
Class principalClass,
String attrName,
String pattern,
DirectoryContextProvider context)
|
private WTPrincipal[] |
_queryPrincipals(String searchFilter,
String searchScope,
String searchBase,
String service,
String[] attributes,
int sizeLimit)
|
private WTPrincipal |
_readPrincipal(String dn,
String service)
|
private WTPrincipal |
_readPrincipal(String dn,
String service,
boolean bypassCache)
|
private void |
_removeCachedMembersFromParents(WTPrincipal principal)
|
private void |
_removeCachedParents(WTPrincipal principal)
|
private WTUser |
_resolvePendingUser(WTUser user)
|
private void |
_storeUfid(WTPrincipal principal)
|
private String |
_translateSQLWildcards(String attr_value)
|
private String |
_translateWildcards(String wildcard)
|
private WTPrincipal |
_updatePrincipal(WTPrincipal principal)
|
private boolean |
_validEmailAddress(String email)
|
boolean |
addMember(WTGroup group,
WTPrincipal principal)
Adds a principal to a group. |
WTPrincipal[] |
addMembers(WTGroup group,
WTPrincipal[] principals)
Adds principals to a group. |
Enumeration |
allGroups()
Deprecated. |
Enumeration |
allUsers()
Deprecated. |
AttributeHolder |
createAttributeHolder()
Creates an object that implements the AttributeHolder interface. |
AttributeHolder |
createAttributeHolder(String name,
String javaNamingProviderTag)
Deprecated. |
void |
createNode(DirectoryInfrastructureNode node)
Supported API: false |
ArrayList |
createPendingUser(String email)
This method returns a WTUser with the passed in email address. |
WTPrincipal |
createPrincipal(WTPrincipal principal)
Supported API: true |
void |
createSubtree(DirectorySubtree subtree)
Supported API: false |
WTGroup |
delete(WTGroup group)
Deleted the group passed as argument. |
WTUser |
delete(WTUser user)
Supported API: true |
void |
deleteNode(DirectoryInfrastructureNode node)
Supported API: false |
void |
deleteSubtree(DirectorySubtree subtree)
Supported API: false |
WTPrincipal |
disablePrincipal(WTPrincipal principal)
Supported API: false |
protected void |
dispatchVetoableEvent(String eventType,
WTPrincipal object)
Supported API: false |
WTPrincipal |
enablePrincipal(WTPrincipal principal)
Supported API: false |
private QueryResult |
enforceSingleActiveElectronicID(QueryResult result,
WTUser axuser)
Enforces the business rule that there can be only a single active electronic ID. |
Enumeration |
filterPrincipals(Enumeration principals,
AccessPermission permission)
Traverse an enumeration of principals applying access control rules. |
Enumeration |
findAllActiveAndDisabledGroups()
Deprecated. |
Enumeration |
findAllActiveAndDisabledUsers()
Deprecated. |
Enumeration |
findAllGroups(String[] services,
boolean includeLocalService,
boolean includeDisabled)
Deprecated. |
Enumeration |
findAllGroups(String service,
boolean includeDisabled)
Deprecated. |
Enumeration |
findAllUsers(String[] services,
boolean includeLocalService,
boolean includeDisabled)
Deprecated. |
Enumeration |
findAllUsers(String service,
boolean includeDisabled)
Deprecated. |
Enumeration |
findLikeActiveAndDisabledUsers(String attr_name,
String attr_value)
Deprecated. |
Enumeration |
findLikeGroup(String name)
Deprecated. |
Enumeration |
findLikeGroups(String pattern,
DirectoryContextProvider context)
This method will search the given directory context for groups whose name matches the name parameter. |
Enumeration |
findLikeGroups(String name,
String service)
Deprecated. |
Enumeration |
findLikeGroups(String name,
String[] services)
Deprecated. |
Enumeration |
findLikeGroups(String name,
String[] services,
boolean includeLocalService,
boolean includeDisabled)
Deprecated. |
Enumeration |
findLikeNodes(String pattern,
DirectoryContextProvider context)
Supported API: false |
Enumeration |
findLikeOrganizations(String attributeName,
String pattern,
DirectoryContextProvider context)
Supported API: true |
Enumeration |
findLikeOrganizations(String attributeName,
String pattern,
DirectoryContextProvider context,
boolean querySubtree)
Supported API: false |
Enumeration |
findLikeOrganizations(String attributeName,
String pattern,
DirectoryContextProvider context,
boolean querySubtree,
boolean applyAccessFilter)
Supported API: false |
Enumeration |
findLikeUser(String attr_name,
String attr_value)
Deprecated. |
Enumeration |
findLikeUsers(String attributeName,
String pattern,
DirectoryContextProvider context)
This method will search the given directory context for users with the given attribute matching the given pattern. |
Enumeration |
findLikeUsers(String attributeName,
String pattern,
String[] services)
Deprecated. |
Enumeration |
findLikeUsers(String name,
String fullName,
String[] services,
boolean includeLocalService,
boolean includeDisabled)
Deprecated. |
Enumeration |
findLikeUsers(String name,
String fullName,
String service,
boolean includeDisabled)
Deprecated. |
Enumeration |
findUser(String attr_name,
String attr_value)
Deprecated. |
Enumeration |
findUser(String attr_name,
String attr_value,
String service)
Deprecated. |
WTPrincipal |
fixUfid(String newDn,
WTPrincipal principal,
String oldEnteredDn)
Supported API: false |
private String |
formatDate(Timestamp time)
Formats a timestamp from the database to the EXPLORER STANDARD FORMAT. |
WTUser |
getAuthenticatedUser(String auth_name)
Supported API: true |
String |
getConceptualClassname()
Deprecated. |
String |
getDefaultDirectoryService()
Supported API: false |
DirectoryService |
getDirectoryService(String name)
Supported API: false |
String |
getDirectoryServiceDn(String name)
Supported API: false |
String |
getDirectoryServiceName(String name)
Supported API: false |
String |
getDirectoryServiceNameByDn(String dn)
Supported API: false |
String[] |
getDirectoryServiceNames()
Supported API: true |
String |
getDirectoryServiceOfDn(String dn)
Determine which directory service holds the entry identified by a specific distinguished name. |
String |
getDnForName(String name,
Class principalClass,
String service)
Generate a distinguished name for a principal held by a specific service. |
WTGroup |
getGroup(String name)
Deprecated. |
WTGroup |
getGroup(String name,
DirectoryContextProvider context)
This method will search for groups whose name attribute matches the given name in the given directory context. |
WTGroup |
getGroup(String name,
String service)
Deprecated. |
Enumeration |
getGroup(String name,
String[] services)
Deprecated. |
Enumeration |
getGroup(String name,
String[] services,
boolean includeLocalService)
Deprecated. |
Enumeration |
getGroups(String name,
DirectoryContextProvider context)
Supported API: true |
Enumeration |
getGroups(String name,
String[] services)
Deprecated. |
DirectoryInfrastructureNode |
getNode(String name,
DirectoryContextProvider context)
Supported API: false |
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 |
String |
getOrganizationUniqueIdentifier(OrganizationOwned object)
Returns organization unique identifier without applying access rules restrictions. |
WTPrincipal |
getPrincipal(ObjectIdentifier reference)
Gets the user or group for the specified principal reference. |
WTPrincipal |
getPrincipal(String name)
Deprecated. |
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 |
getPrincipal(String name,
String service)
Deprecated. |
Enumeration |
getPrincipal(String name,
String[] services)
Deprecated. |
Enumeration |
getPrincipal(String name,
String[] services,
boolean includeLocalService)
Deprecated. |
WTPrincipal |
getPrincipalByDN(String dn)
Returns the principal identified by a specific directory distinguished name, or null if no such principal exists. |
static WTPrincipalCache |
getPrincipalCache()
Returns principal cache. |
WTPrincipalReference |
getPrincipalReference(String name)
Deprecated. |
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. |
WTPrincipalReference |
getPrincipalReference(String name,
String service)
Deprecated. |
Enumeration |
getPrincipalReference(String name,
String[] services)
Deprecated. |
Enumeration |
getPrincipalReference(String name,
String[] services,
boolean includeLocalService)
Deprecated. |
Enumeration |
getSubordinates(WTOrganization organization)
Supported API: false |
WTOrganization |
getSuperior(WTOrganization organization)
Supported API: false |
String |
getUfid(WTPrincipal principal)
Returns the Unique Federation Identifier of a principal. |
WTUser |
getUser(String name)
Deprecated. |
WTUser |
getUser(String name,
DirectoryContextProvider context)
Supported API: true |
WTUser |
getUser(String name,
String service)
Deprecated. |
Enumeration |
getUser(String name,
String[] services)
Deprecated. |
Enumeration |
getUser(String name,
String[] services,
boolean includeLocalService)
Deprecated. |
Hashtable |
getUserElectronicIdentification(boolean getAll,
WTUser a_user)
Supported API: false |
Hashtable |
getUserElectronicIdentificationInfo(boolean getAll,
WTUser a_user)
Null if no objects found. |
Enumeration |
getUserLanguages()
Returns the available languages for users. |
Enumeration |
getUsers(String name,
DirectoryContextProvider context)
Supported API: true |
Enumeration |
getUsers(String name,
String[] services)
Deprecated. |
WTPrincipal |
inflate(WTPrincipal principal)
Supported API: false |
WTPrincipal |
inflate(WTPrincipalReference ref)
Supported API: false |
boolean |
isMember(ObjectIdentifier group,
WTPrincipal principal)
Supported API: false |
boolean |
isMember(WTGroup group,
WTPrincipal principal)
Supported API: true |
boolean |
isMember(WTPrincipalReference group,
WTPrincipal principal)
Supported API: true |
protected boolean |
isReferenceAccessible(WTPrincipalReference principalRef)
Determines whether the caller has the right to access the referenced, returns true if caller has the right, false if not Supported API: false |
Vector |
listOfInvalidPrincipals()
This method returns all WTPrincipals in which the Ufid is no longer valid. |
Enumeration |
mapPrincipals(Enumeration principals,
String service)
Map an enumeration of Info*Engine Elements representing a set of principals to an enumeration of WTPrincipal objects. |
Enumeration |
members(WTGroup group)
Supported API: true |
Enumeration |
members(WTGroup group,
boolean flatten)
Supported API: true |
DirectoryInfrastructureNode |
move(DirectoryInfrastructureNode node,
DirectoryContextProvider newContext)
Moves a directory infrastructure node to a new location and updates the UFID's of all principals that are subordinate to it. |
WTPrincipal |
move(WTPrincipal principal,
DirectoryContextProvider newContext)
Supported API: true |
DirectoryContextProvider |
newDirectoryContextProvider(DirectoryContextProvider baseContext,
String[] searchScopes)
Supported API: true |
DirectoryContextProvider |
newDirectoryContextProvider(DirectoryInfrastructureNode node)
Supported API: false |
DirectoryContextProvider |
newDirectoryContextProvider(DirectorySubtree subtree)
Supported API: false |
DirectoryContextProvider |
newDirectoryContextProvider(String[] services,
String[] searchScopes)
Supported API: true |
static StandardOrganizationServicesManager |
newStandardOrganizationServicesManager()
Default factory for the class. |
Map |
parentGroupMap(WTPrincipal principal)
Returns a map identifying all of the groups of which a specified principal is a member. |
Enumeration |
parentGroups(WTPrincipal principal)
Supported API: true |
Enumeration |
parentGroups(WTPrincipal principal,
boolean flatten)
Returns groups that the argument principal is a member of. |
protected void |
performStartupProcess()
Execute initialization process. |
private ElectronicIdentificationInfo |
populateElectronicIdentificationInfo(ElectronicSignature template)
Populates the class that will be returned to the Admin client for working with a users electronic identification. |
private QueryResult |
queryActiveUserElectronicIdentification(WTUser auser)
Performs the query that retrieves all the Active ElectronicSignatures for a given user. |
Enumeration |
queryPrincipals(Class principalClass,
String criteria,
DirectoryContextProvider context)
Supported API: true |
Enumeration |
queryPrincipals(Class principalClass,
String criteria,
DirectoryContextProvider[] contexts)
Supported API: true |
private QueryResult |
queryUserElectronicIdentification(boolean all,
WTUser a_user)
Queries for a user electronic identification by either getting all the ElectronicSignatures or calls queryActiveUserElectronicIdentification for only active ElectronicSignatures. |
boolean |
removeMember(WTGroup group,
WTPrincipal principal)
Removes a principal from a group. |
DirectoryInfrastructureNode |
rename(DirectoryInfrastructureNode node,
String newName)
Renames a directory infrastructure node and updates the UFID's of all principals that are subordinate to it. |
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. |
protected WTGroup |
retrieveGroup(String name)
Deprecated. |
protected WTUser |
retrieveUser(String name)
Deprecated. |
WTPrincipal |
savePrincipal(WTPrincipal principal)
Deprecated. |
ObjectReference |
setUserElectronicIdentificationEnabled(ObjectReference objReference,
boolean active)
Sets the electronic identification object Active or InActive. |
String[] |
translateAttributeNames(String service,
String[] attributeKeys,
String[] defaultAttributeNames)
Supported API: false |
WTPrincipal |
updatePrincipal(WTPrincipal principal)
Supported API: true |
private void |
updatePrincipalCache(String event_type,
WTPrincipal principal)
Update principal cache in case of modification or deletion of principals. |
boolean |
validateDn(String dn,
String service)
Validate the given distinguished name with the service within the directory. |
boolean |
validDirectoryEntry(WTPrincipal principal)
This method invokes a task to find if the given Principal has a valid Directory entry. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static WTPrincipalCache principalCache
private KeyedEventListener listener
private static final String ACCESS_RESOURCE
private static final String UFID_RESOURCE
private static final String DEFAULT_LANGUAGE
private static final String DEFAULT_GROUP_CLASS
private static final String DEFAULT_ORG_CLASS
private static final String DEFAULT_SUBTREE_CLASS
private static final String DEFAULT_USER_CLASS
private static boolean TRACE_DEPRECATION
private static PrintWriter DEPRECATION_LOG
private static boolean VERBOSE
private static boolean VERBOSE_CACHE
private static boolean VERBOSE_QUERY
private static String LANGUAGES
private static Class ATTRIBUTE_HOLDER_CLASS
private static String DEFAULT_ADMIN_DIRECTORY_USER
private static String DEFAULT_ANON_DIRECTORY_USER
private static String DEFAULT_DIRECTORY_SERVICE
private static String DIRECTORY_SERVICES
private static String GENERATION_QUALIFIERS
private static boolean FIRST_MATCH_WINS
private static boolean STRUCTURAL_ORGS_ENABLED
private static String CREATE_PRINCIPAL_TASK
private static String DELETE_PRINCIPALS_TASK
private static String FIND_PARENT_GROUPS_TASK
private static String NOTIFY_PRINCIPAL_DISABLED_TASK
private static String NOTIFY_PRINCIPAL_REPAIR_TASK
private static String QUERY_PRINCIPALS_TASK
private static String RENAME_PRINCIPAL_TASK
private static String UPDATE_PRINCIPAL_TASK
private static String VM_NAME
private static Method groupFactoryMethod
private static Method orgFactoryMethod
private static Method userFactoryMethod
private static DirectoryKey adminDirKey
private static Hashtable orgKeyTable
private static Set recentDisabledNotifications
private static Set recentRepairNotifications
private static DirectoryInfrastructureNodeCache nodeCache
private static Hashtable serviceAttributeLists
private static Hashtable serviceAttributeMaps
private static Hashtable serviceDirectoryContextProviders
private static Hashtable serviceRepositoryTable
private static DirectoryContextProvider defaultDirectoryContextProvider
private static DirectoryContextProvider pendingUserDirectoryContextProvider
private static String[] defaultDirectoryServices
private static final int PRINCIPAL_QUERY_PAGE_SIZE
private boolean eventListenersRegistered
Constructor Detail |
public StandardOrganizationServicesManager()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
public static WTPrincipalCache getPrincipalCache()
private void updatePrincipalCache(String event_type, WTPrincipal principal)
event_type
- principal
- protected WTUser retrieveUser(String name) throws WTException
name
-
WTException
protected WTGroup retrieveGroup(String name) throws WTException
name
-
WTException
protected void performStartupProcess() throws ManagerException
performStartupProcess
in class StandardManager
ManagerException
protected void dispatchVetoableEvent(String eventType, WTPrincipal object) throws WTException, WTPropertyVetoException
eventType
- object
-
WTException
WTPropertyVetoException
public static StandardOrganizationServicesManager newStandardOrganizationServicesManager() throws WTException
WTException
public WTPrincipal getPrincipal(String name) throws WTException
getPrincipal
in interface OrganizationServicesManager
name
-
WTException
public WTPrincipal getPrincipal(ObjectIdentifier reference) throws WTException
getPrincipal
in interface OrganizationServicesManager
reference
-
WTException
public WTPrincipal getPrincipal(String name, String service) throws WTException
getPrincipal
in interface OrganizationServicesManager
name
- service
-
WTException
public Enumeration getPrincipal(String name, String[] services, boolean includeLocalService) throws WTException
getPrincipal
in interface OrganizationServicesManager
name
- services
- includeLocalService
-
WTException
public Enumeration getPrincipal(String name, String[] services) throws WTException
getPrincipal
in interface OrganizationServicesManager
name
- services
-
WTException
public Enumeration getPrincipal(String name, DirectoryContextProvider context) throws WTException
getPrincipal
in interface OrganizationServicesManager
name
- context
-
WTException
public WTPrincipal getPrincipal(String name, Class type, DirectoryContextProvider context) throws WTException
getPrincipal
in interface OrganizationServicesManager
name
- type
- context
-
WTException
public WTPrincipal getPrincipalByDN(String dn) throws WTException
getPrincipalByDN
in interface OrganizationServicesManager
dn
-
WTException
public WTPrincipalReference getPrincipalReference(String name) throws WTException
getPrincipalReference
in interface OrganizationServicesManager
name
-
WTException
public WTPrincipalReference getPrincipalReference(String name, String service) throws WTException
getPrincipalReference
in interface OrganizationServicesManager
name
- service
-
WTException
public Enumeration getPrincipalReference(String name, String[] services, boolean includeLocalService) throws WTException
getPrincipalReference
in interface OrganizationServicesManager
name
- services
- includeLocalService
-
WTException
public Enumeration getPrincipalReference(String name, String[] services) throws WTException
getPrincipalReference
in interface OrganizationServicesManager
name
- services
-
WTException
public Enumeration getPrincipalReference(String name, DirectoryContextProvider context) throws WTException
getPrincipalReference
in interface OrganizationServicesManager
name
- context
-
WTException
public WTPrincipalReference getPrincipalReference(String name, Class type, DirectoryContextProvider context) throws WTException
getPrincipalReference
in interface OrganizationServicesManager
name
- type
- context
-
WTException
public WTPrincipal inflate(WTPrincipal principal) throws WTException
inflate
in interface OrganizationServicesManager
principal
-
WTException
public WTPrincipal inflate(WTPrincipalReference ref) throws WTException
inflate
in interface OrganizationServicesManager
ref
-
WTException
public Enumeration queryPrincipals(Class principalClass, String criteria, DirectoryContextProvider context) throws WTException
queryPrincipals
in interface OrganizationServicesManager
principalClass
- criteria
- context
-
WTException
public Enumeration queryPrincipals(Class principalClass, String criteria, DirectoryContextProvider[] contexts) throws WTException
queryPrincipals
in interface OrganizationServicesManager
principalClass
- criteria
- contexts
-
WTException
public WTPrincipal createPrincipal(WTPrincipal principal) throws WTException
createPrincipal
in interface OrganizationServicesManager
principal
-
WTException
public WTPrincipal disablePrincipal(WTPrincipal principal) throws WTException
disablePrincipal
in interface OrganizationServicesManager
principal
-
WTException
public WTPrincipal enablePrincipal(WTPrincipal principal) throws WTException
enablePrincipal
in interface OrganizationServicesManager
principal
-
WTException
public WTPrincipal updatePrincipal(WTPrincipal principal) throws WTException
updatePrincipal
in interface OrganizationServicesManager
principal
-
WTException
public WTPrincipal savePrincipal(WTPrincipal principal) throws WTException
savePrincipal
in interface OrganizationServicesManager
principal
-
WTException
public Enumeration mapPrincipals(Enumeration principals, String service) throws WTException
mapPrincipals
in interface OrganizationServicesManager
principals
- service
-
WTException
public Enumeration filterPrincipals(Enumeration principals, AccessPermission permission) throws WTException
filterPrincipals
in interface OrganizationServicesManager
principals
- permission
-
WTException
public WTPrincipal rename(WTPrincipal principal, String newName) throws WTException
rename
in interface OrganizationServicesManager
principal
- newName
-
WTException
public WTPrincipal move(WTPrincipal principal, DirectoryContextProvider newContext) throws WTException
move
in interface OrganizationServicesManager
principal
- newContext
-
WTException
public WTUser getAuthenticatedUser(String auth_name) throws WTException
getAuthenticatedUser
in interface OrganizationServicesManager
auth_name
-
WTException
public WTUser getUser(String name) throws WTException
getUser
in interface OrganizationServicesManager
name
-
WTException
public WTUser getUser(String name, String service) throws WTException
getUser
in interface OrganizationServicesManager
name
- service
-
WTException
public Enumeration getUser(String name, String[] services, boolean includeLocalService) throws WTException
getUser
in interface OrganizationServicesManager
name
- services
- includeLocalService
-
WTException
public Enumeration getUser(String name, String[] services) throws WTException
getUser
in interface OrganizationServicesManager
name
- services
-
WTException
public WTUser getUser(String name, DirectoryContextProvider context) throws WTException
getUser
in interface OrganizationServicesManager
name
- context
-
WTException
public Enumeration getUsers(String name, String[] services) throws WTException
getUsers
in interface OrganizationServicesManager
name
- services
-
WTException
public Enumeration getUsers(String name, DirectoryContextProvider context) throws WTException
getUsers
in interface OrganizationServicesManager
name
- context
-
WTException
public Enumeration findUser(String attr_name, String attr_value) throws WTException
findUser
in interface OrganizationServicesManager
attr_name
- attr_value
-
WTException
public Enumeration findUser(String attr_name, String attr_value, String service) throws WTException
findUser
in interface OrganizationServicesManager
attr_name
- attr_value
- service
-
WTException
public Enumeration findLikeUser(String attr_name, String attr_value) throws WTException
findLikeUser
in interface OrganizationServicesManager
attr_name
- attr_value
-
WTException
public Enumeration findLikeUsers(String name, String fullName, String service, boolean includeDisabled) throws WTException
findLikeUsers
in interface OrganizationServicesManager
name
- fullName
- service
- includeDisabled
-
WTException
public Enumeration findLikeUsers(String name, String fullName, String[] services, boolean includeLocalService, boolean includeDisabled) throws WTException
findLikeUsers
in interface OrganizationServicesManager
name
- fullName
- services
- includeLocalService
- includeDisabled
-
WTException
public Enumeration findLikeUsers(String attributeName, String pattern, String[] services) throws WTException
findLikeUsers
in interface OrganizationServicesManager
attributeName
- pattern
- services
-
WTException
public Enumeration findLikeUsers(String attributeName, String pattern, DirectoryContextProvider context) throws WTException
findLikeUsers
in interface OrganizationServicesManager
attributeName
- pattern
- context
-
WTException
public Enumeration findLikeActiveAndDisabledUsers(String attr_name, String attr_value) throws WTException
findLikeActiveAndDisabledUsers
in interface OrganizationServicesManager
attr_name
- attr_value
-
WTException
public Enumeration allUsers() throws WTException
allUsers
in interface OrganizationServicesManager
WTException
public Enumeration findAllUsers(String service, boolean includeDisabled) throws WTException
findAllUsers
in interface OrganizationServicesManager
service
- includeDisabled
-
WTException
public Enumeration findAllUsers(String[] services, boolean includeLocalService, boolean includeDisabled) throws WTException
findAllUsers
in interface OrganizationServicesManager
services
- includeLocalService
- includeDisabled
-
WTException
public Enumeration findAllActiveAndDisabledUsers() throws WTException
findAllActiveAndDisabledUsers
in interface OrganizationServicesManager
WTException
public WTUser delete(WTUser user) throws WTException
delete
in interface OrganizationServicesManager
user
-
WTException
public WTGroup getGroup(String name) throws WTException
getGroup
in interface OrganizationServicesManager
name
-
WTException
public WTGroup getGroup(String name, String service) throws WTException
getGroup
in interface OrganizationServicesManager
name
- service
-
WTException
public Enumeration getGroup(String name, String[] services, boolean includeLocalService) throws WTException
getGroup
in interface OrganizationServicesManager
name
- services
- includeLocalService
-
WTException
public Enumeration getGroup(String name, String[] services) throws WTException
getGroup
in interface OrganizationServicesManager
name
- services
-
WTException
public WTGroup getGroup(String name, DirectoryContextProvider context) throws WTException
getGroup
in interface OrganizationServicesManager
name
- context
-
WTException
public Enumeration getGroups(String name, String[] services) throws WTException
getGroups
in interface OrganizationServicesManager
name
- services
-
WTException
public Enumeration getGroups(String name, DirectoryContextProvider context) throws WTException
getGroups
in interface OrganizationServicesManager
name
- context
-
WTException
public Enumeration findLikeGroup(String name) throws WTException
findLikeGroup
in interface OrganizationServicesManager
name
-
WTException
public Enumeration findLikeGroups(String name, String service) throws WTException
findLikeGroups
in interface OrganizationServicesManager
name
- service
-
WTException
public Enumeration findLikeGroups(String name, String[] services, boolean includeLocalService, boolean includeDisabled) throws WTException
findLikeGroups
in interface OrganizationServicesManager
name
- services
- includeLocalService
- includeDisabled
-
WTException
public Enumeration findLikeGroups(String name, String[] services) throws WTException
findLikeGroups
in interface OrganizationServicesManager
name
- services
-
WTException
public Enumeration findLikeGroups(String pattern, DirectoryContextProvider context) throws WTException
findLikeGroups
in interface OrganizationServicesManager
pattern
- context
-
WTException
public Enumeration allGroups() throws WTException
allGroups
in interface OrganizationServicesManager
WTException
public Enumeration findAllGroups(String service, boolean includeDisabled) throws WTException
findAllGroups
in interface OrganizationServicesManager
service
- includeDisabled
-
WTException
public Enumeration findAllGroups(String[] services, boolean includeLocalService, boolean includeDisabled) throws WTException
findAllGroups
in interface OrganizationServicesManager
services
- includeLocalService
- includeDisabled
-
WTException
public Enumeration findAllActiveAndDisabledGroups() throws WTException
findAllActiveAndDisabledGroups
in interface OrganizationServicesManager
WTException
public WTGroup delete(WTGroup group) throws WTException
delete
in interface OrganizationServicesManager
group
-
WTException
public boolean addMember(WTGroup group, WTPrincipal principal) throws WTException, UserNotFoundException
addMember
in interface OrganizationServicesManager
group
- principal
-
WTException
UserNotFoundException
public WTPrincipal[] addMembers(WTGroup group, WTPrincipal[] principals) throws WTException
addMembers
in interface OrganizationServicesManager
group
- principals
-
WTException
public boolean removeMember(WTGroup group, WTPrincipal principal) throws WTException, UserNotFoundException
removeMember
in interface OrganizationServicesManager
group
- principal
-
WTException
UserNotFoundException
public boolean isMember(WTGroup group, WTPrincipal principal) throws WTException
isMember
in interface OrganizationServicesManager
group
- principal
-
WTException
public boolean isMember(WTPrincipalReference group, WTPrincipal principal) throws WTException
isMember
in interface OrganizationServicesManager
group
- principal
-
WTException
public boolean isMember(ObjectIdentifier group, WTPrincipal principal) throws WTException
isMember
in interface OrganizationServicesManager
group
- principal
-
WTException
public Enumeration members(WTGroup group) throws WTException
members
in interface OrganizationServicesManager
group
-
WTException
public Enumeration members(WTGroup group, boolean flatten) throws WTException
members
in interface OrganizationServicesManager
group
- flatten
-
WTException
public Enumeration parentGroups(WTPrincipal principal) throws WTException
parentGroups
in interface OrganizationServicesManager
principal
-
WTException
public Map parentGroupMap(WTPrincipal principal) throws WTException
parentGroupMap
in interface OrganizationServicesManager
principal
-
WTException
public WTOrganization getOrganization(WTPrincipal principal) throws WTException
getOrganization
in interface OrganizationServicesManager
principal
-
WTException
public WTOrganization getOrganization(String name, DirectoryContextProvider context) throws WTException
getOrganization
in interface OrganizationServicesManager
name
- context
-
WTException
public Enumeration getOrganizations(String name, DirectoryContextProvider context) throws WTException
getOrganizations
in interface OrganizationServicesManager
name
- context
-
WTException
public Enumeration findLikeOrganizations(String attributeName, String pattern, DirectoryContextProvider context) throws WTException
findLikeOrganizations
in interface OrganizationServicesManager
attributeName
- pattern
- context
-
WTException
public Enumeration findLikeOrganizations(String attributeName, String pattern, DirectoryContextProvider context, boolean querySubtree) throws WTException
findLikeOrganizations
in interface OrganizationServicesManager
attributeName
- pattern
- context
- querySubtree
-
WTException
public Enumeration findLikeOrganizations(String attributeName, String pattern, DirectoryContextProvider context, boolean querySubtree, boolean applyAccessFilter) throws WTException
findLikeOrganizations
in interface OrganizationServicesManager
attributeName
- pattern
- context
- querySubtree
- applyAccessFilter
-
WTException
public WTOrganization getSuperior(WTOrganization organization) throws WTException
getSuperior
in interface OrganizationServicesManager
organization
-
WTException
public Enumeration getSubordinates(WTOrganization organization) throws WTException
getSubordinates
in interface OrganizationServicesManager
organization
-
WTException
public DirectoryService getDirectoryService(String name) throws WTException
getDirectoryService
in interface OrganizationServicesManager
name
-
WTException
public String[] getDirectoryServiceNames() throws WTException
getDirectoryServiceNames
in interface OrganizationServicesManager
WTException
public String getDirectoryServiceName(String name) throws WTException
getDirectoryServiceName
in interface OrganizationServicesManager
name
-
WTException
public String getDirectoryServiceNameByDn(String dn) throws WTException
getDirectoryServiceNameByDn
in interface OrganizationServicesManager
dn
-
WTException
public String getDirectoryServiceDn(String name) throws WTException
getDirectoryServiceDn
in interface OrganizationServicesManager
name
-
WTException
public String getDirectoryServiceOfDn(String dn) throws WTException
getDirectoryServiceOfDn
in interface OrganizationServicesManager
dn
-
WTException
public String getDefaultDirectoryService() throws WTException
getDefaultDirectoryService
in interface OrganizationServicesManager
WTException
public String getDnForName(String name, Class principalClass, String service) throws WTException
getDnForName
in interface OrganizationServicesManager
name
- principalClass
- service
-
WTException
public AttributeHolder createAttributeHolder() throws WTException
createAttributeHolder
in interface OrganizationServicesManager
WTException
public AttributeHolder createAttributeHolder(String name, String javaNamingProviderTag) throws WTException
createAttributeHolder
in interface OrganizationServicesManager
name
- javaNamingProviderTag
-
WTException
public Enumeration getUserLanguages() throws WTException
getUserLanguages
in interface OrganizationServicesManager
WTException
public ObjectReference setUserElectronicIdentificationEnabled(ObjectReference objReference, boolean active) throws WTPropertyVetoException, WTException
setUserElectronicIdentificationEnabled
in interface OrganizationServicesManager
objReference
- An ObjectReference to the electronic identification object.active
- boolean value to set the ObjectReference Active or InActive.
WTPropertyVetoException
WTException
public Hashtable getUserElectronicIdentificationInfo(boolean getAll, WTUser a_user) throws PropertyVetoException, QueryException, WTException
getUserElectronicIdentificationInfo
in interface OrganizationServicesManager
getAll
- (true) Gets all electronic identification object References for a usera_user
-
PropertyVetoException
QueryException
WTException
public Hashtable getUserElectronicIdentification(boolean getAll, WTUser a_user) throws QueryException, WTException
getUserElectronicIdentification
in interface OrganizationServicesManager
getAll
- getAll (true) Gets all electronic identification objects for a usera_user
-
QueryException
WTException
public ArrayList createPendingUser(String email) throws WTException
createPendingUser
in interface OrganizationServicesManager
email
-
WTException
public WTPrincipal repairPrincipal(String oldName, String newDn, String oldEnteredDn) throws WTException
repairPrincipal
in interface OrganizationServicesManager
oldName
- newDn
- oldEnteredDn
-
WTException
public boolean validateDn(String dn, String service) throws WTException
validateDn
in interface OrganizationServicesManager
dn
- service
-
WTException
public WTPrincipal fixUfid(String newDn, WTPrincipal principal, String oldEnteredDn) throws WTException
fixUfid
in interface OrganizationServicesManager
newDn
- principal
- oldEnteredDn
-
WTException
public Vector listOfInvalidPrincipals() throws WTException
listOfInvalidPrincipals
in interface OrganizationServicesManager
WTException
public boolean validDirectoryEntry(WTPrincipal principal) throws WTException
validDirectoryEntry
in interface OrganizationServicesManager
principal
-
WTException
public String getUfid(WTPrincipal principal) throws WTException
getUfid
in interface OrganizationServicesManager
principal
-
WTException
public String[] translateAttributeNames(String service, String[] attributeKeys, String[] defaultAttributeNames) throws WTException
translateAttributeNames
in interface OrganizationServicesManager
service
- attributeKeys
- defaultAttributeNames
-
WTException
public void createNode(DirectoryInfrastructureNode node) throws WTException
createNode
in interface OrganizationServicesManager
node
-
WTException
public void deleteNode(DirectoryInfrastructureNode node) throws WTException
deleteNode
in interface OrganizationServicesManager
node
-
WTException
public DirectoryInfrastructureNode getNode(String name, DirectoryContextProvider context) throws WTException
getNode
in interface OrganizationServicesManager
name
- context
-
WTException
public Enumeration findLikeNodes(String pattern, DirectoryContextProvider context) throws WTException
findLikeNodes
in interface OrganizationServicesManager
pattern
- context
-
WTException
public DirectoryInfrastructureNode rename(DirectoryInfrastructureNode node, String newName) throws WTException
rename
in interface OrganizationServicesManager
node
- newName
-
WTException
public DirectoryInfrastructureNode move(DirectoryInfrastructureNode node, DirectoryContextProvider newContext) throws WTException
move
in interface OrganizationServicesManager
node
- newContext
-
WTException
public void createSubtree(DirectorySubtree subtree) throws WTException
createSubtree
in interface OrganizationServicesManager
subtree
-
WTException
public void deleteSubtree(DirectorySubtree subtree) throws WTException
deleteSubtree
in interface OrganizationServicesManager
subtree
-
WTException
public DirectoryContextProvider newDirectoryContextProvider(DirectoryContextProvider baseContext, String[] searchScopes) throws WTException
newDirectoryContextProvider
in interface OrganizationServicesManager
baseContext
- searchScopes
-
WTException
public DirectoryContextProvider newDirectoryContextProvider(String[] services, String[] searchScopes) throws WTException
newDirectoryContextProvider
in interface OrganizationServicesManager
services
- searchScopes
-
WTException
public DirectoryContextProvider newDirectoryContextProvider(DirectoryInfrastructureNode node) throws WTException
newDirectoryContextProvider
in interface OrganizationServicesManager
node
-
WTException
public DirectoryContextProvider newDirectoryContextProvider(DirectorySubtree subtree) throws WTException
newDirectoryContextProvider
in interface OrganizationServicesManager
subtree
-
WTException
public String getOrganizationUniqueIdentifier(OrganizationOwned object) throws WTException
getOrganizationUniqueIdentifier
in interface OrganizationServicesManager
object
-
WTException
public Enumeration parentGroups(WTPrincipal principal, boolean flatten) throws WTException
parentGroups
in interface OrganizationServicesManager
principal
- flatten
- If false, only immediate parent groups will be returned
If true, all nested groups for which principal is a member will be returned, e.g. the parent groups of principal's parent groups, and the parent groups of those groups, etc.,
WTException
protected boolean isReferenceAccessible(WTPrincipalReference principalRef) throws WTException
principalRef
- Determines whether the caller has the right to access the referenced principal, returns true if it does, false if it does not.
WTException
private WTUser _getAdministrator() throws WTException
WTException
private WTGroup _getAdministrators() throws WTException
WTException
private boolean _isAdministrator() throws WTException
WTException
private void _checkAdministrator() throws WTException
WTException
private WTPrincipal _readPrincipal(String dn, String service) throws WTException
WTException
private WTPrincipal _readPrincipal(String dn, String service, boolean bypassCache) throws WTException
WTException
private WTPrincipal _queryPrincipal(Class principalClass, String attrName, String pattern, DirectoryContextProvider context) throws WTException
WTException
private Enumeration _queryPrincipals(Class principalClass, String attrName, String pattern, DirectoryContextProvider context, boolean firstMatchWins, boolean applyAccessFilter) throws WTException
WTException
private WTPrincipal[] _queryPrincipals(Class principalClass, String attrName, String pattern, DirectoryContextProvider context, boolean firstMatchWins) throws WTException
WTException
private WTPrincipal[] _queryPrincipals(String service, Class principalClass, String attrName, String pattern, DirectoryContextProvider context) throws WTException
WTException
private WTPrincipal[] _queryPrincipals(String service, Class principalClass, String criteria, DirectoryContextProvider context) throws WTException
WTException
private WTPrincipal[] _queryPrincipals(String searchFilter, String searchScope, String searchBase, String service, String[] attributes, int sizeLimit) throws WTException
WTException
private WTPrincipal _updatePrincipal(WTPrincipal principal) throws WTException
WTException
private WTPrincipal _createNewPrincipal(WTPrincipal principal) throws WTException
WTException
private String _createNewDirectoryEntry(WTPrincipal principal) throws WTException
WTException
private String _getRdnFromDn(String dn)
private String _getParentDn(String dn)
private HashSet _members(WTGroup group, boolean flatten) throws WTException
WTException
private HashSet _members(WTGroup group, boolean flatten, HashSet expandedGroups) throws WTException
WTException
private HashSet _findOrganizationUsers(WTOrganization organization) throws WTException
WTException
private Map _immediateParentGroups(WTPrincipal principal) throws WTException
principal
-
WTException
private Map _parentGroups(WTPrincipal principal, String dn, String service, HashSet expandedGroups, HashMap dirKeyMap) throws WTException
WTException
private Group _queryParents(String dn, String service) throws WTException
WTException
private WTPrincipal _mapPrincipal(Method factoryMethod, Element element, String service) throws WTException
WTException
private Enumeration _mapPrincipals(Class principalClass, Group group, String service) throws WTException
WTException
private String[] _getAttributeList(String service, Class principalClass) throws WTException
service
- the service nameprincipalClass
- the class of principal
WTException
private HashMap _getAttributeMap(String service, Class principalClass) throws WTException
service
- the service nameprincipalClass
- the class of principal
WTException
private String _getObjectClass(String service, Class principalClass) throws WTException
service
- The service for which to return the LDAP object classprincipalClass
- The Windchill principal class to translate
WTException
private void _checkCreatePrincipal(WTPrincipal principal) throws OrganizationServicesException
OrganizationServicesException
private void _handlePostStorePrincipal(WTPrincipal principal) throws WTException
WTException
private void _checkDeletePrincipal(WTPrincipal principal) throws WTException
WTException
private void _checkDisablePrincipal(WTPrincipal principal) throws WTException
WTException
private WTPrincipal _disablePrincipal(WTPrincipal principal) throws WTException
WTException
private Repository _getRepositoryForService(String service) throws WTException
WTException
private ObjectVector _getDomainsForPrincipals(ObjectVectorIfc principalVector) throws WTException
WTException
private ObjectVector _getDomainsForPersistedPrincipals(ObjectVectorIfc principalVector) throws WTException
WTException
private Enumeration _queryDisabledUsers(String attrName, String pattern) throws WTException
WTException
private Enumeration _queryDisabledGroups(String pattern) throws WTException
WTException
private Object _moveBranch(Object rootNode, String newName, String newDn) throws WTException
WTException
private void _deleteSubordinateObjects(DirectoryContextProvider baseContext) throws WTException
WTException
private String _getSessionUser() throws WTException
WTException
private String[] _getAllServices() throws WTException
WTException
private String _getServiceForDn(String dn) throws WTException
WTException
private String _escapeCriteria(String criteria)
private String _translateWildcards(String wildcard)
private String _translateSQLWildcards(String attr_value)
private WTPrincipal _getPersistable(WTPrincipal principal) throws WTException
WTException
private void _storeUfid(WTPrincipal principal) throws WTException
WTException
private WTPrincipal _getPrincipalByUfid(WTPrincipal principal) throws WTException
WTException
private WTPrincipal _inflateByUfid(WTPrincipal principal) throws WTException
WTException
private String _getLocalId(WTPrincipal principal) throws WTException
WTException
private String _normalizeDn(String dn)
private boolean _hasAccess(WTPrincipal principal, AccessPermission permission) throws WTException
WTException
private String _arrayToString(String[] array)
private ElectronicIdentificationInfo populateElectronicIdentificationInfo(ElectronicSignature template) throws PropertyVetoException, WTException
PropertyVetoException
WTException
private String formatDate(Timestamp time)
private QueryResult queryUserElectronicIdentification(boolean all, WTUser a_user) throws QueryException, WTException
QueryException
WTException
private QueryResult enforceSingleActiveElectronicID(QueryResult result, WTUser axuser) throws QueryException, WTPropertyVetoException, WTException
QueryException
WTPropertyVetoException
WTException
private QueryResult queryActiveUserElectronicIdentification(WTUser auser) throws QueryException, WTException
QueryException
WTException
private DirectoryContextProvider _getPendingUserDCP() throws WTException
WTException
private WTUser _createPendingUser(String email) throws WTException
WTException
private void _notifyPrincipalDisabled(WTPrincipal principal)
private void _notifyPrincipalRepair(WTPrincipal principal)
private boolean _pendingUserExists(String email) throws WTException
WTException
private WTUser _resolvePendingUser(WTUser user) throws WTException
WTException
private void _hookTransaction(String event_type, Persistable target)
private boolean _validEmailAddress(String email)
private DirectoryContextProvider _getDirectoryContextProvider(String service) throws WTException
WTException
private DirectoryContextProvider _getDirectoryContextProvider(String[] services) throws WTException
WTException
private DirectoryContextProvider[] _getWindchillPDMGroupContexts(String[] services) throws WTException
WTException
private void _dumpStack()
private void _cacheMembers(DirectoryKey key, HashSet members) throws WTException
WTException
private void _removeCachedParents(WTPrincipal principal) throws WTException
WTException
private void _removeCachedMembersFromParents(WTPrincipal principal) throws WTException
WTException
private HashSet _memberDns(WTGroup group) throws Exception
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |