Package wt.org.delegate
Interface PrincipalMatchDelegate
- All Known Implementing Classes:
ImportedDisabledUserMatchDelegate,ImportedUserByEmailIdMatchDelegate,ImportedUserByUserNameMatchDelegate,ReplicatedUserForActivationByEmailIdMatchDelegate,ReplicatedUserForActivationByUserNameMatchDelegate
public interface PrincipalMatchDelegate
A delegate interface to support the need to find a match among existing principals,
based on rules that may vary from one usage context to another. Specialized delegate
implementations will encapsulate rules specific to each usage context.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionmatch(WTPrincipal querySpec) Finds a match among existing principals based on rules that are applicable to a usage context.
-
Method Details
-
match
Finds a match among existing principals based on rules that are applicable to a usage context.
The criteria to be used for matching must be initialized in corresponding attributes in a principal object of the desired type (user, group or organization), which acts as the query specification
If a match is not found, a NULL result will be returned.
Supported API: true- Parameters:
querySpec-- Returns:
- Throws:
WTException
-