|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CrowdClient
Atlassian Crowd client interface.
| Method Summary | |
|---|---|
void |
addGroup(Group group)
Adds a group to the remote Crowd server. |
void |
addGroupToGroup(java.lang.String childGroup,
java.lang.String parentGroup)
Adds a group to a group. |
void |
addUser(User user,
PasswordCredential passwordCredential)
Adds a new User to the remote Crowd server. |
void |
addUserToGroup(java.lang.String username,
java.lang.String groupName)
Adds a user to a group. |
java.lang.String |
authenticateSSOUser(UserAuthenticationContext userAuthenticationContext)
Authenticates a Single-Sign-On (SSO) User. |
User |
authenticateUser(java.lang.String username,
java.lang.String password)
Authenticates a user with the server. |
User |
findUserFromSSOToken(java.lang.String token)
Returns the user from the specified user token. |
CookieConfiguration |
getCookieConfiguration()
Returns the cookie configuration. |
Group |
getGroup(java.lang.String name)
Gets a group by name. |
java.util.List<Group> |
getGroupMembershipsForGroup(java.lang.String groupName,
int startIndex,
int maxResults)
Searches for groups that a group is a direct member of. |
java.util.List<Group> |
getGroupMembershipsForUser(java.lang.String userName,
int startIndex,
int maxResults)
Searches for groups that a user is a direct member of. |
java.util.List<Group> |
getGroupMembersOfGroup(java.lang.String groupName,
int startIndex,
int maxResults)
Searches for groups who are direct members of a group. |
java.util.List<java.lang.String> |
getGroupNameMembershipsForGroup(java.lang.String groupName,
int startIndex,
int maxResults)
Searches for groups that a group is a direct member of, returning the group names. |
java.util.List<java.lang.String> |
getGroupNameMembershipsForUser(java.lang.String userName,
int startIndex,
int maxResults)
Searches for groups that a user is a direct member of, returning the group names. |
java.util.List<java.lang.String> |
getGroupNameMembersOfGroup(java.lang.String groupName,
int startIndex,
int maxResults)
Searches for groups who are direct members of a group, returning the group names. |
GroupWithAttributes |
getGroupWithAttributes(java.lang.String name)
Gets a group with attributes by name. |
java.util.List<Group> |
getNestedGroupMembershipsForGroup(java.lang.String groupName,
int startIndex,
int maxResults)
Searches for groups that a group is a nested member of. |
java.util.List<Group> |
getNestedGroupMembershipsForUser(java.lang.String userName,
int startIndex,
int maxResults)
Searches for groups that a user is a nested member of. |
java.util.List<Group> |
getNestedGroupMembersOfGroup(java.lang.String groupName,
int startIndex,
int maxResults)
Searches for groups who are nested members of a group. |
java.util.List<java.lang.String> |
getNestedGroupNameMembershipsForGroup(java.lang.String groupName,
int startIndex,
int maxResults)
Searches for groups that a group is a nested member of, returning the group names. |
java.util.List<java.lang.String> |
getNestedGroupNameMembershipsForUser(java.lang.String userName,
int startIndex,
int maxResults)
Searches for groups that a user is a nested member of, returning the group names. |
java.util.List<java.lang.String> |
getNestedGroupNameMembersOfGroup(java.lang.String groupName,
int startIndex,
int maxResults)
Searches for groups who are nested members of a group, returning the group names. |
java.util.List<java.lang.String> |
getNestedUserNameMembersOfGroup(java.lang.String groupName,
int startIndex,
int maxResults)
Searches for users who are nested members of a group, returning the user names. |
User |
getUser(java.lang.String name)
Gets a User by user name. |
java.util.List<User> |
getUserMembersOfGroup(java.lang.String groupName,
int startIndex,
int maxResults)
Searches for users who are direct members of a group. |
java.util.List<User> |
getUserMembersOfNestedGroup(java.lang.String groupName,
int startIndex,
int maxResults)
Searches for users who are nested members of a group. |
java.util.List<java.lang.String> |
getUserNameMembersOfGroup(java.lang.String groupName,
int startIndex,
int maxResults)
Searches for users who are direct members of a group, returning the user names. |
UserWithAttributes |
getUserWithAttributes(java.lang.String name)
Gets a User with Attributes by user name. |
void |
invalidateSSOToken(java.lang.String token)
Invalidates a token. |
boolean |
isGroupDirectGroupMember(java.lang.String childName,
java.lang.String parentName)
Tests if a group is a direct member of a group. |
boolean |
isUserDirectGroupMember(java.lang.String username,
java.lang.String groupName)
Tests if a user is a direct member of a group. |
void |
removeGroup(java.lang.String groupName)
Removes a group from the remote Crowd server |
void |
removeGroupAttributes(java.lang.String groupName,
java.lang.String attributeName)
Removes a group attribute (set) from the server. |
void |
removeGroupFromGroup(java.lang.String childGroup,
java.lang.String parentGroup)
Removes a group to a group. |
void |
removeUser(java.lang.String username)
Removes a user from the remote Crowd server |
void |
removeUserAttributes(java.lang.String username,
java.lang.String attributeName)
Removes a user attribute from the server. |
void |
removeUserFromGroup(java.lang.String username,
java.lang.String groupName)
Removes a user from a group. |
java.util.List<java.lang.String> |
searchGroupNames(SearchRestriction searchRestriction,
int startIndex,
int maxResults)
Searches for group names matching the searchRestriction criteria. |
java.util.List<Group> |
searchGroups(SearchRestriction searchRestriction,
int startIndex,
int maxResults)
Searches for groups matching the following criteria. |
java.util.List<java.lang.String> |
searchUserNames(SearchRestriction searchRestriction,
int startIndex,
int maxResults)
Searches for usernames matching the searchRestriction criteria. |
java.util.List<User> |
searchUsers(SearchRestriction searchRestriction,
int startIndex,
int maxResults)
Searches for users matching the following criteria. |
void |
storeGroupAttributes(java.lang.String groupName,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> attributes)
Stores the group's attributes on the remote Crowd server. |
void |
storeUserAttributes(java.lang.String username,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> attributes)
Stores the user's attributes on the remote Crowd server. |
boolean |
testConnection()
Tests if the connection is OK. |
void |
updateGroup(Group group)
Updates a group on the remote Crowd server. |
void |
updateUser(User user)
Updates a user on the remote Crowd server. |
void |
updateUserCredential(java.lang.String username,
java.lang.String password)
Updates the user's password on the remote Crowd server. |
java.lang.String |
validateSSOAuthentication(java.lang.String token,
java.util.List<ValidationFactor> validationFactors)
Validates the SSO authentication. |
| Method Detail |
|---|
User getUser(java.lang.String name)
throws UserNotFoundException,
OperationFailedException
name - Name of the user to retrieve
UserNotFoundException - if the user is not found.
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
UserWithAttributes getUserWithAttributes(java.lang.String name)
throws UserNotFoundException,
OperationFailedException
name - Name of the user to retrieve
UserNotFoundException - if the user is not found.
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
User authenticateUser(java.lang.String username,
java.lang.String password)
throws OperationFailedException
username - Name of the user to authenticate.password - Password of the user to authenticate.
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid or the username and password are not valid, or the username does not exist.
OperationFailedException - if the operation has failed for an unknown reason
void addUser(User user,
PasswordCredential passwordCredential)
throws InvalidUserException,
InvalidCredentialException,
OperationFailedException
user - The user to addpasswordCredential - user password
InvalidUserException - The user is invalid. This may be because a user of the same name already exists, or
does not pass the server side validation rules.
InvalidCredentialException - The password is invalid. It must conform to the rules set on the server.
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
void updateUser(User user)
throws InvalidUserException,
UserNotFoundException,
InvalidCredentialException,
OperationFailedException
user - The user to update
InvalidUserException - the details of the user to be updated are invalid. This may be because the user details
do not pass the server side validation rules.
UserNotFoundException - the user does not exist on the remote Crowd server
InvalidCredentialException - The password is invalid. It must conform to the rules set on the server.
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
void updateUserCredential(java.lang.String username,
java.lang.String password)
throws UserNotFoundException,
InvalidCredentialException,
OperationFailedException
username - Name of the user to update.password - New password.
UserNotFoundException - the user does not exist on the remote Crowd server
InvalidCredentialException - The password is invalid. It must conform to the rules set on the server.
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
void storeUserAttributes(java.lang.String username,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> attributes)
throws UserNotFoundException,
OperationFailedException
username - Name of the user.attributes - Set of Attributes to store. Attributes will be added or if an attribute with the
same key exists will be replaced.
UserNotFoundException - the user does not exist on the remote Crowd server
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
void removeUserAttributes(java.lang.String username,
java.lang.String attributeName)
throws UserNotFoundException,
OperationFailedException
username - Name of the userattributeName - Attribute key.
UserNotFoundException - the user does not exist on the remote Crowd server
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
void removeUser(java.lang.String username)
throws UserNotFoundException,
OperationFailedException
username - Name of the user to remove.
UserNotFoundException - the user does not exist on the remote Crowd server
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
Group getGroup(java.lang.String name)
throws GroupNotFoundException,
OperationFailedException
name - name of the group to retrieve.
GroupNotFoundException - The group does not exist on the remote server.
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
GroupWithAttributes getGroupWithAttributes(java.lang.String name)
throws GroupNotFoundException,
OperationFailedException
name - name of the group to retrieve.
GroupNotFoundException - The group does not exist on the remote server.
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
void addGroup(Group group)
throws InvalidGroupException,
OperationFailedException
group - Group to add.
InvalidGroupException - The group is invalid. This may be because a group of the same name already exists, or
does not pass the server side validation rules.
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
void updateGroup(Group group)
throws InvalidGroupException,
GroupNotFoundException,
OperationFailedException
group - Group to update.
InvalidGroupException - The group is invalid. This may be because the group
does not pass the server side validation rules.
GroupNotFoundException - The group does not exist on the remote server.
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
void storeGroupAttributes(java.lang.String groupName,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> attributes)
throws GroupNotFoundException,
OperationFailedException
groupName - Name of the group.attributes - Set of Attributes to store. Attributes will be added or if an attribute with the
same key exists will be replaced.
GroupNotFoundException - the group does not exist on the remote Crowd server
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
void removeGroupAttributes(java.lang.String groupName,
java.lang.String attributeName)
throws GroupNotFoundException,
OperationFailedException
groupName - Name of the groupattributeName - Attribute key.
GroupNotFoundException - the group does not exist on the remote Crowd server
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
void removeGroup(java.lang.String groupName)
throws GroupNotFoundException,
OperationFailedException
groupName - Name of the group to remove.
GroupNotFoundException - the group does not exist on the remote Crowd server
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
boolean isUserDirectGroupMember(java.lang.String username,
java.lang.String groupName)
throws OperationFailedException
username - User namegroupName - Group Name
UserNotFoundException - if the user does not exist.
GroupNotFoundException - if the group does not exist.
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
boolean isGroupDirectGroupMember(java.lang.String childName,
java.lang.String parentName)
throws OperationFailedException
childName - Name of the child groupparentName - Name of the Parent group
GroupNotFoundException - if either group does not exist.
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
void addUserToGroup(java.lang.String username,
java.lang.String groupName)
throws GroupNotFoundException,
UserNotFoundException,
OperationFailedException
username - Name of the user to add to the group.groupName - Name of the group to be added to.
GroupNotFoundException - if the group does not exist.
UserNotFoundException - if the user does not exist.
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
void addGroupToGroup(java.lang.String childGroup,
java.lang.String parentGroup)
throws GroupNotFoundException,
UserNotFoundException,
OperationFailedException
childGroup - Name of the group to add to the parent group.parentGroup - Name of the group the child will be added to.
GroupNotFoundException - if either group does not exist.
UserNotFoundException - if the user does not exist.
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
void removeUserFromGroup(java.lang.String username,
java.lang.String groupName)
throws GroupNotFoundException,
UserNotFoundException,
OperationFailedException
username - Name of the user to add to the group.groupName - Name of the group to be added to.
GroupNotFoundException - if the group does not exist.
UserNotFoundException - if the user does not exist.
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
void removeGroupFromGroup(java.lang.String childGroup,
java.lang.String parentGroup)
throws GroupNotFoundException,
OperationFailedException
childGroup - Name of the group to be removed from the parent group.parentGroup - Name of the group the child group will be removed from.
GroupNotFoundException - if either group does not exist.
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if for some reason the operation has failed
boolean testConnection()
throws OperationFailedException
OperationFailedException - if the test fails.
java.util.List<User> searchUsers(SearchRestriction searchRestriction,
int startIndex,
int maxResults)
throws OperationFailedException
searchRestriction - restriction on the searchstartIndex - starting index of the search resultsmaxResults - maximum number of results returned from the search
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
java.util.List<java.lang.String> searchUserNames(SearchRestriction searchRestriction,
int startIndex,
int maxResults)
throws OperationFailedException
searchRestriction - restriction on the searchstartIndex - starting index of the search resultsmaxResults - maximum number of results returned from the search
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
java.util.List<Group> searchGroups(SearchRestriction searchRestriction,
int startIndex,
int maxResults)
throws OperationFailedException
searchRestriction - restriction on the searchstartIndex - starting index of the search resultsmaxResults - maximum number of results returned from the search
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
java.util.List<java.lang.String> searchGroupNames(SearchRestriction searchRestriction,
int startIndex,
int maxResults)
throws OperationFailedException
searchRestriction - restriction on the searchstartIndex - starting index of the search resultsmaxResults - maximum number of results returned from the search
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
java.util.List<User> getUserMembersOfGroup(java.lang.String groupName,
int startIndex,
int maxResults)
throws OperationFailedException
groupName - restriction on the searchstartIndex - starting index of the search resultsmaxResults - maximum number of results returned from the search
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
java.util.List<java.lang.String> getUserNameMembersOfGroup(java.lang.String groupName,
int startIndex,
int maxResults)
throws OperationFailedException
groupName - restriction on the searchstartIndex - starting index of the search resultsmaxResults - maximum number of results returned from the search
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
java.util.List<Group> getGroupMembersOfGroup(java.lang.String groupName,
int startIndex,
int maxResults)
throws OperationFailedException
groupName - restriction on the searchstartIndex - starting index of the search resultsmaxResults - maximum number of results returned from the search
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
java.util.List<java.lang.String> getGroupNameMembersOfGroup(java.lang.String groupName,
int startIndex,
int maxResults)
throws OperationFailedException
groupName - restriction on the searchstartIndex - starting index of the search resultsmaxResults - maximum number of results returned from the search
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
java.util.List<Group> getGroupMembershipsForUser(java.lang.String userName,
int startIndex,
int maxResults)
throws OperationFailedException
userName - restriction on the searchstartIndex - starting index of the search resultsmaxResults - maximum number of results returned from the search
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
java.util.List<java.lang.String> getGroupNameMembershipsForUser(java.lang.String userName,
int startIndex,
int maxResults)
throws OperationFailedException
userName - restriction on the searchstartIndex - starting index of the search resultsmaxResults - maximum number of results returned from the search
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
java.util.List<Group> getGroupMembershipsForGroup(java.lang.String groupName,
int startIndex,
int maxResults)
throws OperationFailedException
groupName - restriction on the searchstartIndex - starting index of the search resultsmaxResults - maximum number of results returned from the search
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
java.util.List<java.lang.String> getGroupNameMembershipsForGroup(java.lang.String groupName,
int startIndex,
int maxResults)
throws OperationFailedException
groupName - restriction on the searchstartIndex - starting index of the search resultsmaxResults - maximum number of results returned from the search
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
java.util.List<User> getUserMembersOfNestedGroup(java.lang.String groupName,
int startIndex,
int maxResults)
throws OperationFailedException
groupName - restriction on the searchstartIndex - starting index of the search resultsmaxResults - maximum number of results returned from the search
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
java.util.List<java.lang.String> getNestedUserNameMembersOfGroup(java.lang.String groupName,
int startIndex,
int maxResults)
throws OperationFailedException
groupName - restriction on the searchstartIndex - starting index of the search resultsmaxResults - maximum number of results returned from the search
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
java.util.List<Group> getNestedGroupMembersOfGroup(java.lang.String groupName,
int startIndex,
int maxResults)
throws OperationFailedException
groupName - restriction on the searchstartIndex - starting index of the search resultsmaxResults - maximum number of results returned from the search
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
java.util.List<java.lang.String> getNestedGroupNameMembersOfGroup(java.lang.String groupName,
int startIndex,
int maxResults)
throws OperationFailedException
groupName - restriction on the searchstartIndex - starting index of the search resultsmaxResults - maximum number of results returned from the search
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
java.util.List<Group> getNestedGroupMembershipsForUser(java.lang.String userName,
int startIndex,
int maxResults)
throws OperationFailedException
userName - restriction on the searchstartIndex - starting index of the search resultsmaxResults - maximum number of results returned from the search
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
java.util.List<java.lang.String> getNestedGroupNameMembershipsForUser(java.lang.String userName,
int startIndex,
int maxResults)
throws OperationFailedException
userName - restriction on the searchstartIndex - starting index of the search resultsmaxResults - maximum number of results returned from the search
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
java.util.List<Group> getNestedGroupMembershipsForGroup(java.lang.String groupName,
int startIndex,
int maxResults)
throws OperationFailedException
groupName - restriction on the searchstartIndex - starting index of the search resultsmaxResults - maximum number of results returned from the search
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
java.util.List<java.lang.String> getNestedGroupNameMembershipsForGroup(java.lang.String groupName,
int startIndex,
int maxResults)
throws OperationFailedException
groupName - restriction on the searchstartIndex - starting index of the search resultsmaxResults - maximum number of results returned from the search
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
User findUserFromSSOToken(java.lang.String token)
throws OperationFailedException
token - user token used to find the authenticated user.
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
java.lang.String authenticateSSOUser(UserAuthenticationContext userAuthenticationContext)
throws OperationFailedException
userAuthenticationContext - the user's authentication details.
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
java.lang.String validateSSOAuthentication(java.lang.String token,
java.util.List<ValidationFactor> validationFactors)
throws OperationFailedException
token - Crowd SSO tokenvalidationFactors - Details of where the user's come from. If presented, must match those presented during authentication.
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
void invalidateSSOToken(java.lang.String token)
throws OperationFailedException
token - token to invalidate
OperationFailedException - if the operation has failed for an unknown reason
CookieConfiguration getCookieConfiguration()
throws OperationFailedException
OperationNotPermittedException - if the application is not permitted to perform the requested operation on the server.
InvalidAuthenticationException - if the application and password are not valid.
OperationFailedException - if the operation has failed for an unknown reason
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||