com.webmethods.sc.directory
Interface IDirectoryRoleResolver


public interface IDirectoryRoleResolver

Implement this interface to add custom role resolution logic to the directory system


Method Summary
 boolean canResolvePrincipal(String principalID)
          Whether or not this resolver can resolve this principal.
 String[] getRoleMembership(String principalID)
          Retrieve the role membership for this principal
 

Method Detail

canResolvePrincipal

boolean canResolvePrincipal(String principalID)
Whether or not this resolver can resolve this principal. Note, if returned true, group resolution will be skipped


getRoleMembership

String[] getRoleMembership(String principalID)
Retrieve the role membership for this principal

Returns:
an array of role ids that this principal belongs to