public interface IdentitySource
Modifier and Type | Method and Description |
---|---|
IResultSet |
getAllGroupsAssignedToUser(javax.security.auth.Subject subject,
java.lang.String userName,
IGroupSearchConstraint option)
Get all the groups that a user belongs to.
|
IResultSet |
getMembersInGroup(javax.security.auth.Subject subject,
java.lang.String groupName,
IUserSearchConstraint options)
Get all the members in a group
|
javax.security.auth.Subject |
getProxyUser()
Create a new logging session with proxy user's credential.
|
boolean |
isSortSupported() |
void |
releaseProxyUser(javax.security.auth.Subject subject)
Application should call this method if the proxy user login session is not needed so that
the Module Provider can release this resource associated with the login session.
|
IResultSet |
searchGroups(javax.security.auth.Subject subject,
IGroupFilter filter,
IGroupSearchConstraint option)
Search groups based on certain search criteria.
|
IResultSet |
searchUsers(javax.security.auth.Subject subject,
IUserFilter filter,
IUserSearchConstraint option)
Search users based on some search criteria
|
javax.security.auth.Subject getProxyUser() throws AuthenticationException
AuthenticationException
void releaseProxyUser(javax.security.auth.Subject subject)
subject
- the proxy user's login sessionIResultSet searchUsers(javax.security.auth.Subject subject, IUserFilter filter, IUserSearchConstraint option) throws GException
subject
- The user who initiate the search, it can be the proxy user also.filter
- Specify which users to search.option
- Specify page/sort option, and which attributes should be returned in the resultGException
IResultSet searchGroups(javax.security.auth.Subject subject, IGroupFilter filter, IGroupSearchConstraint option) throws GException
subject
- The the user who initiate the search, it can be the proxy user also.filter
- Specify which groups to search.option
- Page/sort option and which attributes should be returned in the resultGException
IResultSet getAllGroupsAssignedToUser(javax.security.auth.Subject subject, java.lang.String userName, IGroupSearchConstraint option) throws GException
subject
- The user who initiate the searchuser
- The user that the group information should be returnedConnectorException
GException
IResultSet getMembersInGroup(javax.security.auth.Subject subject, java.lang.String groupName, IUserSearchConstraint options) throws GException
subject
- The user who initiates the searchgroupName
- options
- GException
boolean isSortSupported()
?? 2022 Perforce Software, All rights reserved
This software is the confidential and proprietary information of Perforce, Inc. and is subject to copyright protection under laws of the United States of America and other countries. The use of this software should be in accordance with the license agreement terms you entered into with Perforce, Inc.