|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SecurityServer
Atlassian Crowd SOAP sercurity services interface. All methods, other than the authenticateApplication
must first authenticate before an API call can be made. The application token
may be reused for more than one call. If the application token expires, an
InvalidAuthorizationTokenException exception will be thrown and the client will need to re-authenticate.
| Method Summary | |
|---|---|
void |
addAttributeToPrincipal(AuthenticatedToken applicationToken,
java.lang.String principal,
SOAPAttribute attribute)
Adds an attribute to a principal who is in the application's assigned directory. |
SOAPGroup |
addGroup(AuthenticatedToken applicationToken,
SOAPGroup group)
Adds a group to the application's assigned directory. |
SOAPPrincipal |
addPrincipal(AuthenticatedToken applicationToken,
SOAPPrincipal principal,
PasswordCredential credential)
Adds a principal to the application's assigned directory. |
void |
addPrincipalToGroup(AuthenticatedToken applicationToken,
java.lang.String principal,
java.lang.String group)
Adds a principal to a group for the application's assigned directory. |
void |
addPrincipalToRole(AuthenticatedToken applicationToken,
java.lang.String principal,
java.lang.String role)
Adds the principal to a role for the application's assigned directory. |
SOAPRole |
addRole(AuthenticatedToken applicationToken,
SOAPRole role)
Adds a role to the application's assigned directory. |
AuthenticatedToken |
authenticateApplication(ApplicationAuthenticationContext authenticationContext)
Authenticates an application client to the Crowd security server. |
java.lang.String |
authenticatePrincipal(AuthenticatedToken applicationToken,
UserAuthenticationContext authenticateContext)
Authenticates a principal verses the calling who is in the application's assigned directory. |
java.lang.String |
authenticatePrincipalSimple(AuthenticatedToken authenticationContext,
java.lang.String username,
java.lang.String password)
Authentiates a principal without SSO details utilizing centralized authentication only. |
java.lang.String |
createPrincipalToken(AuthenticatedToken authenticationContext,
java.lang.String username,
ValidationFactor[] validationFactors)
Authenticates a principal without validating a password. |
java.lang.String[] |
findAllGroupNames(AuthenticatedToken applicationToken)
Finds all of the groups who are visible in the application's assigned directory. |
SOAPNestableGroup[] |
findAllGroupRelationships(AuthenticatedToken applicationToken)
Finds all of the groups who are visible in the application's assigned directory. |
java.lang.String[] |
findAllPrincipalNames(AuthenticatedToken applicationToken)
Finds all of the principals who are visable in the application's assigned directory. |
java.lang.String[] |
findAllRoleNames(AuthenticatedToken applicationToken)
Finds all of the roles who are visable in the application's assigned directory. |
SOAPGroup |
findGroupByName(AuthenticatedToken applicationToken,
java.lang.String name)
Find a group by name for the application's assigned directory. |
java.lang.String[] |
findGroupMemberships(AuthenticatedToken applicationToken,
java.lang.String principalName)
Finds all of the principals who are members of a group that is in the application's assigned directory. |
SOAPPrincipal |
findPrincipalByName(AuthenticatedToken applicationToken,
java.lang.String name)
Finds a principal by name who is in the application's assigned directory. |
SOAPPrincipal |
findPrincipalByToken(AuthenticatedToken applicationToken,
java.lang.String key)
Finds a principal by token. |
SOAPRole |
findRoleByName(AuthenticatedToken applicationToken,
java.lang.String name)
Finds a role by name for the application's assigned directory. |
java.lang.String[] |
findRoleMemberships(AuthenticatedToken applicationToken,
java.lang.String principalName)
Finds all of the principals who are members of a role that is in the application's assigned directory. |
long |
getCacheTime(AuthenticatedToken applicationToken)
Deprecated. This method is now implemented by the crowd-ehache.xml configuration file. |
SOAPCookieInfo |
getCookieInfo(AuthenticatedToken applicationToken)
Returns information needed to set the SSO cookie correctly. |
java.lang.String |
getDomain(AuthenticatedToken applicationToken)
Deprecated. This method has been superceded by getCookieInfo(com.atlassian.crowd.integration.authentication.AuthenticatedToken) |
java.lang.String[] |
getGrantedAuthorities(AuthenticatedToken applicationToken)
Will return the List of group names that have been given access to connect to the application |
void |
invalidatePrincipalToken(AuthenticatedToken applicationToken,
java.lang.String token)
Invalidates a token for all integrated applications. |
boolean |
isCacheEnabled(AuthenticatedToken applicationToken)
Checks if the client application should cache security information from the Crowd server. |
boolean |
isGroupMember(AuthenticatedToken applicationToken,
java.lang.String group,
java.lang.String principal)
Checks if a prinicipal is a member of a group for the application's assigned directory. |
boolean |
isRoleMember(AuthenticatedToken applicationToken,
java.lang.String role,
java.lang.String principal)
Checks if a principal is a member of a role for the application's assigned directory. |
boolean |
isValidPrincipalToken(AuthenticatedToken applicationToken,
java.lang.String principalToken,
ValidationFactor[] validationFactors)
Checks if the principal's current token is still valid. |
void |
removeAttributeFromPrincipal(AuthenticatedToken applicationToken,
java.lang.String principal,
java.lang.String attribute)
Removes an attribute from a principal who is in the application's assigned directory. |
void |
removeGroup(AuthenticatedToken applicationToken,
java.lang.String group)
Removes a group from the applciation's assigned directory. |
void |
removePrincipal(AuthenticatedToken applicationToken,
java.lang.String principal)
Removes a principal from the application's assigned directory. |
void |
removePrincipalFromGroup(AuthenticatedToken applicationToken,
java.lang.String principal,
java.lang.String group)
Removes a principal from a group for the application's assigned directory. |
void |
removePrincipalFromRole(AuthenticatedToken applicationToken,
java.lang.String principal,
java.lang.String role)
Removes a principal from a role for the application's assigned directory. |
void |
removeRole(AuthenticatedToken applicationToken,
java.lang.String role)
Removes a role from the application's assigned directory. |
void |
resetPrincipalCredential(AuthenticatedToken applicationToken,
java.lang.String principal)
Resets a principal's password credential to a random password and emails the new password who is in the application's assigned directory. |
SOAPGroup[] |
searchGroups(AuthenticatedToken applicationToken,
SearchRestriction[] searchRestrictions)
Searches for groups that are in the application's assigned directory. |
SOAPPrincipal[] |
searchPrincipals(AuthenticatedToken applicationToken,
SearchRestriction[] searchRestrictions)
Searches for prnicipals that are in the application's assigned directory. |
SOAPRole[] |
searchRoles(AuthenticatedToken applicationToken,
SearchRestriction[] searchRestrictions)
Searches for roles that are in the application's assigned directory. |
void |
updateGroup(AuthenticatedToken authenticatedToken,
java.lang.String group,
java.lang.String description,
boolean active)
Updates the first group located from the list of directories assigned to an application Available fields that can be updated are description and active |
void |
updatePrincipalAttribute(AuthenticatedToken applicationToken,
java.lang.String name,
SOAPAttribute attribute)
Updates an attribute for a principal who is in the application's assigned directory.. |
void |
updatePrincipalCredential(AuthenticatedToken applicationToken,
java.lang.String principal,
PasswordCredential credential)
Updates the password credential for a principal who is in the application's assigned directory. |
| Method Detail |
|---|
java.lang.String createPrincipalToken(AuthenticatedToken authenticationContext,
java.lang.String username,
ValidationFactor[] validationFactors)
throws java.rmi.RemoteException,
InvalidAuthenticationException,
InvalidAuthorizationTokenException,
InactiveAccountException,
ApplicationAccessDeniedException
authenticationContext - The application authentication details.username - The username to create an authenticate token for.validationFactors - The known attributes of the user to use when creating a token, such as their remote IP address and user-agent.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthenticationException - An invalid authentication occurred.
InvalidAuthorizationTokenException - An invalid authentication occurred.
InactiveAccountException - The principal's account is inactive.
ApplicationAccessDeniedException
java.lang.String authenticatePrincipalSimple(AuthenticatedToken authenticationContext,
java.lang.String username,
java.lang.String password)
throws java.rmi.RemoteException,
InvalidAuthenticationException,
InvalidAuthorizationTokenException,
InactiveAccountException,
ApplicationAccessDeniedException
authenticationContext - The application authentication details.username - The username of the principal.password - The password credential.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthenticationException - An invalid authentication occurred.
InvalidAuthorizationTokenException - An invalid authentication occurred.
InactiveAccountException - The principal's account is inactive.
ApplicationAccessDeniedException
AuthenticatedToken authenticateApplication(ApplicationAuthenticationContext authenticationContext)
throws java.rmi.RemoteException,
InvalidAuthenticationException,
InvalidAuthorizationTokenException
authenticationContext - The application authentication details.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthenticationException - An invalid authentication occurred.
InvalidAuthorizationTokenException - An invalid authentication occurred.
java.lang.String authenticatePrincipal(AuthenticatedToken applicationToken,
UserAuthenticationContext authenticateContext)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException,
InvalidAuthenticationException,
InactiveAccountException,
ApplicationAccessDeniedException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.authenticateContext - The principal's authentication details.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
InvalidAuthenticationException - The principal's authentication details were invalid.
InactiveAccountException - The principal's account is not active.
ApplicationAccessDeniedException
boolean isValidPrincipalToken(AuthenticatedToken applicationToken,
java.lang.String principalToken,
ValidationFactor[] validationFactors)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException,
ApplicationAccessDeniedException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.principalToken - The token to check.validationFactors - The known identity factors used when creating the principal's token.
true if and only if the token is active, otherwise false.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
ApplicationAccessDeniedException
void invalidatePrincipalToken(AuthenticatedToken applicationToken,
java.lang.String token)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.token - The token to invalidate.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
SOAPGroup[] searchGroups(AuthenticatedToken applicationToken,
SearchRestriction[] searchRestrictions)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.searchRestrictions - The search restrictions to use when performing this search.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
SOAPPrincipal[] searchPrincipals(AuthenticatedToken applicationToken,
SearchRestriction[] searchRestrictions)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.searchRestrictions - The search restrictions to use when performing this search.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
SOAPRole[] searchRoles(AuthenticatedToken applicationToken,
SearchRestriction[] searchRestrictions)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.searchRestrictions - The search restrictions to use when performing this search.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
SOAPGroup addGroup(AuthenticatedToken applicationToken,
SOAPGroup group)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException,
InvalidGroupException,
ApplicationPermissionException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.group - The group to add.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
InvalidGroupException - An error occurred adding the group to the directory server.
ApplicationPermissionException - The application does not have the proper permissions to add the entity to the directory server.
void updateGroup(AuthenticatedToken authenticatedToken,
java.lang.String group,
java.lang.String description,
boolean active)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException,
ApplicationPermissionException,
ObjectNotFoundException
description and active
authenticatedToken - The application's authentication token. Obtained from the authenticateApplication method.group - The name of the group to update.description - the new description of the group.active - the new active flag for the group.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
ApplicationPermissionException - The application does not have the proper permissions to update the entity to the directory server.
ObjectNotFoundException - no groups matching the supplied name is found.
SOAPGroup findGroupByName(AuthenticatedToken applicationToken,
java.lang.String name)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException,
ObjectNotFoundException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.name - The name of the group.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
ObjectNotFoundException - Unable to find the specific group.
SOAPRole addRole(AuthenticatedToken applicationToken,
SOAPRole role)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException,
InvalidRoleException,
ApplicationPermissionException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.role - The name of the role.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
InvalidRoleException - An error occurred adding the role to the directory server.
ApplicationPermissionException - The application does not have the proper permissions to add the entity to the directory server.
SOAPRole findRoleByName(AuthenticatedToken applicationToken,
java.lang.String name)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException,
ObjectNotFoundException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.name - The name of the role.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
ObjectNotFoundException - Unable to find the specified role.
SOAPPrincipal findPrincipalByToken(AuthenticatedToken applicationToken,
java.lang.String key)
throws InvalidAuthorizationTokenException,
java.rmi.RemoteException,
InvalidTokenException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.key - The principal's token.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidTokenException - Unable to find the specified token.
void updatePrincipalAttribute(AuthenticatedToken applicationToken,
java.lang.String name,
SOAPAttribute attribute)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException,
ObjectNotFoundException,
ApplicationPermissionException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.name - The name of the principal.attribute - The name of the attribute to update.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
ObjectNotFoundException - Unable to find the specified principal.
ApplicationPermissionException - The application does not have the proper permissions to update the entity in the directory server.
SOAPPrincipal findPrincipalByName(AuthenticatedToken applicationToken,
java.lang.String name)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException,
ObjectNotFoundException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.name - The name of the principal.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
ObjectNotFoundException - Unable to find the specified principal.
SOAPPrincipal addPrincipal(AuthenticatedToken applicationToken,
SOAPPrincipal principal,
PasswordCredential credential)
throws InvalidAuthorizationTokenException,
java.rmi.RemoteException,
InvalidCredentialException,
InvalidUserException,
ApplicationPermissionException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.principal - The populated principal object to added.credential - The password for the principal.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidCredentialException - The supplied password is invalid.
InvalidUserException - The supplied principal is invalid.
ApplicationPermissionException - The application does not have the proper permissions to add the entity to the directory server.
void addPrincipalToGroup(AuthenticatedToken applicationToken,
java.lang.String principal,
java.lang.String group)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException,
ObjectNotFoundException,
ApplicationPermissionException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.principal - The name of the principal.group - The name of the group.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
ObjectNotFoundException - Unable to find one or both of the entities by name.
ApplicationPermissionException - The application does not have the proper permissions to update the entity in the directory server.
void updatePrincipalCredential(AuthenticatedToken applicationToken,
java.lang.String principal,
PasswordCredential credential)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException,
ObjectNotFoundException,
InvalidCredentialException,
ApplicationPermissionException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.principal - The name of the principal.credential - The password.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
ObjectNotFoundException - Unable to find the specified principal.
InvalidCredentialException - The supplied password is invalid.
ApplicationPermissionException - The application does not have the proper permissions to update the entity in the directory server.
void resetPrincipalCredential(AuthenticatedToken applicationToken,
java.lang.String principal)
throws java.rmi.RemoteException,
InvalidEmailAddressException,
InvalidAuthorizationTokenException,
InvalidCredentialException,
ObjectNotFoundException,
ApplicationPermissionException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.principal - The name of the principal.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
InvalidCredentialException - Unable to reset the principal's password.
ObjectNotFoundException - Unable to find the specified principal.
ApplicationPermissionException - The application does not have the proper permissions to update the entity in the directory server.
InvalidEmailAddressException
void removeGroup(AuthenticatedToken applicationToken,
java.lang.String group)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException,
ObjectNotFoundException,
ApplicationPermissionException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.group - The name of the group.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
ObjectNotFoundException - Unable to find the specified group.
ApplicationPermissionException - The application does not have the proper permissions to remove the entity from the directory server.
void removeRole(AuthenticatedToken applicationToken,
java.lang.String role)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException,
ObjectNotFoundException,
ApplicationPermissionException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.role - The name of the role.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
ObjectNotFoundException - The specified role is invalid.
ApplicationPermissionException - The application does not have the proper permissions to remove the entity from the directory server.
void removePrincipal(AuthenticatedToken applicationToken,
java.lang.String principal)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException,
ObjectNotFoundException,
ApplicationPermissionException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.principal - The name of the principal.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
ObjectNotFoundException - The specified principal is invalid.
ApplicationPermissionException - The application does not have the proper permissions to remove the entity from the directory server.
void addPrincipalToRole(AuthenticatedToken applicationToken,
java.lang.String principal,
java.lang.String role)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException,
ObjectNotFoundException,
ApplicationPermissionException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.principal - The name of the principal.role - The name of the role.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
ObjectNotFoundException - Unable to find one or both of the entities by name.
ApplicationPermissionException - The application does not have the proper permissions to update the entity to the directory server.
boolean isGroupMember(AuthenticatedToken applicationToken,
java.lang.String group,
java.lang.String principal)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.group - The name of the group.principal - The name of the principal.
true if and only if the principal is a group member, otherwise false.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
boolean isRoleMember(AuthenticatedToken applicationToken,
java.lang.String role,
java.lang.String principal)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.role - The name of the role.principal - The name of the principal.
true if and only if the principal is a role member, otherwise false.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
void removePrincipalFromGroup(AuthenticatedToken applicationToken,
java.lang.String principal,
java.lang.String group)
throws InvalidAuthorizationTokenException,
java.rmi.RemoteException,
ObjectNotFoundException,
ApplicationPermissionException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.principal - The name of the principal.group - The name of the group.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
java.rmi.RemoteException - An unknown remote exception occurred.
ObjectNotFoundException - The specified principal or group is invalid.
ApplicationPermissionException - The application does not have the proper permissions to update the entity in the directory server.
void removePrincipalFromRole(AuthenticatedToken applicationToken,
java.lang.String principal,
java.lang.String role)
throws InvalidAuthorizationTokenException,
java.rmi.RemoteException,
ObjectNotFoundException,
ApplicationPermissionException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.principal - The name of the principal.role - The name of the role.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
java.rmi.RemoteException - An unknown remote exception occurred.
ObjectNotFoundException - The specified principal or role is invalid.
ApplicationPermissionException - The application does not have the proper permissions to remove the entity from the directory server.
void addAttributeToPrincipal(AuthenticatedToken applicationToken,
java.lang.String principal,
SOAPAttribute attribute)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException,
ObjectNotFoundException,
ApplicationPermissionException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.principal - The name of the principal.attribute - The name attribute to add.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
ObjectNotFoundException - The specified principal is invalid.
ApplicationPermissionException - The application does not have the proper permissions to update the entity in the directory server.
void removeAttributeFromPrincipal(AuthenticatedToken applicationToken,
java.lang.String principal,
java.lang.String attribute)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException,
ObjectNotFoundException,
ApplicationPermissionException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.principal - The name of the principal.attribute - The name of the attribute.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
ObjectNotFoundException - The specified principal is invalid.
ApplicationPermissionException - The application does not have the proper permissions to remove the entity from the directory server.
long getCacheTime(AuthenticatedToken applicationToken)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException
crowd-ehache.xml configuration file.
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
boolean isCacheEnabled(AuthenticatedToken applicationToken)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.
true if and only if the cache is enabled, otherwise false.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
java.lang.String getDomain(AuthenticatedToken applicationToken)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException
getCookieInfo(com.atlassian.crowd.integration.authentication.AuthenticatedToken)
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
java.lang.String[] findAllPrincipalNames(AuthenticatedToken applicationToken)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
java.lang.String[] findAllGroupNames(AuthenticatedToken applicationToken)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.
String listing of the group names.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
SOAPNestableGroup[] findAllGroupRelationships(AuthenticatedToken applicationToken)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.
SOAPNestableGroup listing of the groups, plus any direct sub-groups.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
java.lang.String[] findAllRoleNames(AuthenticatedToken applicationToken)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.
String listing of the role names.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
java.lang.String[] findGroupMemberships(AuthenticatedToken applicationToken,
java.lang.String principalName)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException,
ObjectNotFoundException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.principalName - The name of the principal to use when performing the lookup.
String listing of the principal's group memberships.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
ObjectNotFoundException
java.lang.String[] findRoleMemberships(AuthenticatedToken applicationToken,
java.lang.String principalName)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException,
ObjectNotFoundException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.principalName - The name of the principal to use role performing the lookup.
String listing of the principal's group memberships.
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
ObjectNotFoundException
java.lang.String[] getGrantedAuthorities(AuthenticatedToken applicationToken)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException
applicationToken - The application's authentication token. Obtained from the authenticateApplication method.
java.rmi.RemoteException
InvalidAuthorizationTokenException
SOAPCookieInfo getCookieInfo(AuthenticatedToken applicationToken)
throws java.rmi.RemoteException,
InvalidAuthorizationTokenException
applicationToken -
java.rmi.RemoteException - An unknown remote exception occurred.
InvalidAuthorizationTokenException - The calling application's applicationToken is invalid.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||