Modifier and Type | Method and Description |
---|---|
void |
PrincipalAuthenticationLoadTest.hammerAuthentications() |
void |
TokenValidationLoadTest.hammerTokenValidation() |
Modifier and Type | Method and Description |
---|---|
void |
AuthenticationTokenTest.authenticatePrincipalDifferentTokenAfterLogout() |
void |
AuthenticationTokenTest.authenticatePrincipalDifferentUsersAuthenticationProducesDifferentTokens() |
void |
AuthenticationTokenTest.authenticatePrincipalSameUserDifferentConditionProducesDifferentTokens() |
void |
AuthenticationTokenTest.authenticatePrincipalSameUserDifferentUserAgentProducesSameTokens() |
void |
AuthenticationTokenTest.authenticatePrincipalSuccessiveAuthenticationProducesSameToken() |
void |
AuthenticationTokenTest.authenticateSimpleDifferentTokenAfterLogout() |
void |
AuthenticationTokenTest.authenticateSimpleDifferentUsersAuthenticationProducesDifferentTokens() |
void |
AuthenticationTokenTest.authenticateSimpleSuccessiveAuthenticationProducesSameToken() |
Modifier and Type | Method and Description |
---|---|
void |
HttpAuthenticator.authenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String username,
String password)
Authenticate a remote user using SSO.
|
void |
HttpAuthenticatorImpl.authenticate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String username,
String password) |
void |
HttpAuthenticator.authenticateWithoutValidatingPassword(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String username)
Authenticate a remote user using SSO, without validating their password.
|
void |
HttpAuthenticatorImpl.authenticateWithoutValidatingPassword(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String username) |
SOAPPrincipal |
HttpAuthenticator.getPrincipal(javax.servlet.http.HttpServletRequest request)
Attempts to retrieve the principal from the request.
|
SOAPPrincipal |
HttpAuthenticatorImpl.getPrincipal(javax.servlet.http.HttpServletRequest request) |
boolean |
HttpAuthenticator.isAuthenticated(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Tests whether a request is authenticated via SSO.
|
boolean |
HttpAuthenticatorImpl.isAuthenticated(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
HttpAuthenticator.logoff(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Log off the SSO authenticated user.
|
void |
HttpAuthenticatorImpl.logoff(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
HttpAuthenticator.setPrincipalToken(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String token)
Sets the underlying principal token on:
the request: as an attribute, so the user is authenticated for the span of the request.
the response: as a cookie, so the user is authenticated for subsequent requests.
|
void |
HttpAuthenticatorImpl.setPrincipalToken(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String token) |
void |
HttpAuthenticator.verifyAuthentication(String username,
String password)
Authenticate a remote principal without using SSO.
|
void |
HttpAuthenticatorImpl.verifyAuthentication(String username,
String password) |
String |
HttpAuthenticator.verifyAuthentication(String username,
String password,
ValidationFactor[] validationFactors)
Verifies the authentication of a principal's username/password,
given a set of validation factors.
|
String |
HttpAuthenticatorImpl.verifyAuthentication(String username,
String password,
ValidationFactor[] validationFactors) |
Modifier and Type | Method and Description |
---|---|
String |
ForgottenLoginDetails.update() |
Modifier and Type | Method and Description |
---|---|
void |
UserManager.addAllUsers(Collection<SOAPPrincipalWithCredential> users)
Adds all users to Crowd.
|
SOAPGroup |
GroupManager.addGroup(SOAPGroup group)
Adds
group to the Crowd server. |
void |
GroupMembershipManager.addMembership(String userName,
String groupName)
Adds a user identified by
userName to the group identified by groupName . |
SOAPPrincipal |
UserManager.addUser(SOAPPrincipal user,
PasswordCredential credential)
Adds a user to Crowd.
|
String |
AuthenticationManager.authenticate(String username,
String password)
Authenticates a user, using just a username and password.
|
String |
AuthenticationManager.authenticate(UserAuthenticationContext authenticationContext)
Authenticate a user.
|
String |
AuthenticationManager.authenticateWithoutValidatingPassword(UserAuthenticationContext authenticationContext)
Authenticate a user without validating their password.
|
List |
GroupManager.getAllGroupNames()
Deprecated.
Since 1.4.
|
List |
UserManager.getAllUserNames()
Deprecated.
Since 1.4.
|
SOAPGroup |
GroupManager.getGroup(String groupName)
Given a
groupName , returns a SOAPGroup that represents the group. |
List |
GroupMembershipManager.getMembers(String groupName)
Obtains a list of all users in the group identified by
groupName , sorted naturally. |
List |
GroupMembershipManager.getMemberships(String userName)
Deprecated.
Since 1.4
|
SOAPPrincipal |
UserManager.getUser(String userName)
Given a
userName , fetches the user's details, either from cache or from the Crowd server. |
SOAPPrincipal |
UserManager.getUserFromToken(String token)
Given an authentication token, retrieves the user associated with it.
|
SOAPPrincipal |
UserManager.getUserWithAttributes(String userName)
Given a
userName , fetches the user's details and their associated attributes, either from cache or from the Crowd server. |
void |
AuthenticationManager.invalidate(String token)
Marks the presented
token as invalid, meaning that the principal it represents is no longer
authenticated. |
boolean |
AuthenticationManager.isAuthenticated(String token,
ValidationFactor[] validationFactors)
Checks that the token (as returned from
AuthenticationManager.authenticate(com.atlassian.crowd.model.authentication.UserAuthenticationContext) is still valid, given the validation factors. |
boolean |
GroupManager.isGroup(String groupName)
Returns true if
groupName represents a valid group, false otherwise. |
boolean |
GroupMembershipManager.isMember(String userName,
String groupName)
Returns true if the user represented by
userName is a member of groupName |
boolean |
UserManager.isUser(String userName)
Returns
true if userName represents a valid user. |
void |
GroupManager.removeGroup(String groupName)
Removes a group from Crowd.
|
void |
GroupMembershipManager.removeMembership(String userName,
String groupName)
Removes a user identified by
userName from the group identified by groupName . |
void |
UserManager.removeUser(String userName)
Removes a user from Crowd.
|
List |
GroupManager.searchGroups(SearchRestriction[] restrictions)
Searches the list of all available groups based on the passed-in
restrictions and returns a list
of groups that match. |
List |
UserManager.searchUsers(SearchRestriction[] restrictions)
Searches the list of all available users based on the passed-in
restrictions and returns a list
of users that match. |
void |
GroupManager.updateGroup(SOAPGroup group)
Updates a group's details in Crowd.
|
void |
UserManager.updatePassword(String userName,
PasswordCredential credential)
Changes the password for the user specified by
userName . |
void |
UserManager.updateUser(SOAPPrincipal user)
Updates a user's details in Crowd.
|
Modifier and Type | Method and Description |
---|---|
void |
CachingUserManager.addAllUsers(Collection<SOAPPrincipalWithCredential> users) |
SOAPGroup |
CachingGroupManager.addGroup(SOAPGroup group) |
void |
CachingGroupMembershipManager.addMembership(String userName,
String groupName) |
SOAPPrincipal |
CachingUserManager.addUser(SOAPPrincipal user,
PasswordCredential credential) |
String |
CacheAwareAuthenticationManager.authenticate(String username,
String password) |
String |
SimpleAuthenticationManager.authenticate(String username,
String password) |
String |
CacheAwareAuthenticationManager.authenticate(UserAuthenticationContext authenticationContext) |
String |
SimpleAuthenticationManager.authenticate(UserAuthenticationContext authenticationContext) |
String |
CacheAwareAuthenticationManager.authenticateWithoutValidatingPassword(UserAuthenticationContext authenticationContext) |
String |
SimpleAuthenticationManager.authenticateWithoutValidatingPassword(UserAuthenticationContext authenticationContext) |
List |
CachingGroupManager.getAllGroupNames() |
List |
CachingUserManager.getAllUserNames()
This optimises the background getAllUserNames() call.
|
SOAPGroup |
CachingGroupManager.getGroup(String groupName)
See also
CachingGroupMembershipManager.getMembers(String) } for similar logic. |
List |
CachingGroupMembershipManager.getMembers(String groupName)
Also see
CachingGroupManager.getGroup(String) for very similar logic. |
List |
CachingGroupMembershipManager.getMemberships(String userName) |
SOAPPrincipal |
CachingUserManager.getUser(String userName) |
SOAPPrincipal |
CachingUserManager.getUserFromToken(String token)
Note: the lookup is not currently cached - it will always hit the server.
|
SOAPPrincipal |
CachingUserManager.getUserWithAttributes(String userName) |
void |
CacheAwareAuthenticationManager.invalidate(String token) |
void |
SimpleAuthenticationManager.invalidate(String token) |
boolean |
CacheAwareAuthenticationManager.isAuthenticated(String token,
ValidationFactor[] validationFactors) |
boolean |
SimpleAuthenticationManager.isAuthenticated(String token,
ValidationFactor[] validationFactors) |
boolean |
CachingGroupManager.isGroup(String groupName) |
boolean |
CachingGroupMembershipManager.isMember(String userName,
String groupName) |
boolean |
CachingUserManager.isUser(String userName)
With JIRA we're guaranteed that if there are any names in the user list, all the names are in the user list.
|
Boolean |
CachingGroupMembershipManager.isUserOrGroup(String name) |
void |
CachingGroupManager.removeGroup(String groupName) |
void |
CachingGroupMembershipManager.removeMembership(String userName,
String groupName) |
void |
CachingUserManager.removeUser(String userName) |
List |
CachingGroupManager.searchGroups(SearchRestriction[] restrictions) |
List |
CachingUserManager.searchUsers(SearchRestriction[] restrictions) |
void |
CachingGroupManager.updateGroup(SOAPGroup group) |
void |
CachingUserManager.updatePassword(String userName,
PasswordCredential credential) |
void |
CachingUserManager.updateUser(SOAPPrincipal user) |
Modifier and Type | Method and Description |
---|---|
Application |
SOAPService.validateSOAPService(AuthenticatedToken applicationToken) |
Modifier and Type | Method and Description |
---|---|
void |
SecurityServerClientImpl.addAllPrincipals(Collection<SOAPPrincipalWithCredential> principals) |
void |
SecurityServerClient.addAllPrincipals(Collection<SOAPPrincipalWithCredential> principals)
Adds principals to the application's assigned directory.
|
void |
SecurityServerClientImpl.addAttributeToGroup(String group,
SOAPAttribute attribute) |
void |
SecurityServerClient.addAttributeToGroup(String group,
SOAPAttribute attribute)
Adds an attribute to a group that is in the application's assigned directory.
|
void |
SecurityServerClientImpl.addAttributeToPrincipal(String principal,
SOAPAttribute attribute) |
void |
SecurityServerClient.addAttributeToPrincipal(String principal,
SOAPAttribute attribute)
Adds an attribute to a principal who is in the application's assigned directory.
|
SOAPGroup |
SecurityServerClientImpl.addGroup(SOAPGroup group) |
SOAPGroup |
SecurityServerClient.addGroup(SOAPGroup group)
Adds a group to the application's assigned directory.
|
SOAPPrincipal |
SecurityServerClientImpl.addPrincipal(SOAPPrincipal principal,
PasswordCredential credential) |
SOAPPrincipal |
SecurityServerClient.addPrincipal(SOAPPrincipal principal,
PasswordCredential credential)
Adds a principal to the application's assigned directory.
|
void |
SecurityServerClientImpl.addPrincipalToGroup(String principal,
String group) |
void |
SecurityServerClient.addPrincipalToGroup(String principal,
String group)
Adds a principal to a group for the application's assigned directory.
|
void |
SecurityServerClientImpl.addPrincipalToRole(String principal,
String role) |
void |
SecurityServerClient.addPrincipalToRole(String principal,
String role)
Deprecated.
|
SOAPRole |
SecurityServerClientImpl.addRole(SOAPRole role) |
SOAPRole |
SecurityServerClient.addRole(SOAPRole role)
Deprecated.
|
void |
SecurityServerClientImpl.authenticate() |
void |
SecurityServerClient.authenticate()
Authenticate the client using the application name and password
from crowd.properties.
|
String |
SecurityServerClientImpl.authenticatePrincipal(UserAuthenticationContext userAuthenticationContext) |
String |
SecurityServerClient.authenticatePrincipal(UserAuthenticationContext userAuthenticationContext)
Authenticates a principal who is in the application's assigned directory.
|
String |
SecurityServerClientImpl.authenticatePrincipalSimple(String username,
String password) |
String |
SecurityServerClient.authenticatePrincipalSimple(String username,
String password)
Authenticates a principal without SSO details utilizing centralized authentication only.
|
String |
SecurityServerClientImpl.createPrincipalToken(String username,
ValidationFactor[] validationFactors) |
String |
SecurityServerClient.createPrincipalToken(String username,
ValidationFactor[] validationFactors)
Authenticates a principal without validating a password.
|
String[] |
SecurityServerClientImpl.findAllGroupNames() |
String[] |
SecurityServerClient.findAllGroupNames()
Finds all of the groups who are visible in the application's assigned directory.
|
SOAPNestableGroup[] |
SecurityServerClientImpl.findAllGroupRelationships() |
SOAPNestableGroup[] |
SecurityServerClient.findAllGroupRelationships()
Finds all of the groups who are visible in the application's assigned directory.
|
SOAPGroup[] |
SecurityServerClientImpl.findAllGroups() |
SOAPGroup[] |
SecurityServerClient.findAllGroups()
Retrieves all groups in the application's assigned directories.
|
String[] |
SecurityServerClientImpl.findAllPrincipalNames() |
String[] |
SecurityServerClient.findAllPrincipalNames()
Finds all of the principals who are visible in the application's assigned directory.
|
SOAPPrincipal[] |
SecurityServerClientImpl.findAllPrincipals() |
SOAPPrincipal[] |
SecurityServerClient.findAllPrincipals()
Retrieves all principals in the application's assigned directories.
|
String[] |
SecurityServerClientImpl.findAllRoleNames() |
String[] |
SecurityServerClient.findAllRoleNames()
Deprecated.
|
SOAPRole[] |
SecurityServerClientImpl.findAllRoles() |
SOAPRole[] |
SecurityServerClient.findAllRoles()
Deprecated.
|
SOAPGroup |
SecurityServerClientImpl.findGroupByName(String name) |
SOAPGroup |
SecurityServerClient.findGroupByName(String name)
Find a group by name for the application's assigned directory.
|
String[] |
SecurityServerClientImpl.findGroupMemberships(String principalName) |
String[] |
SecurityServerClient.findGroupMemberships(String principalName)
Finds all the groups the principal is a direct member of.
|
SOAPGroup |
SecurityServerClientImpl.findGroupWithAttributesByName(String name) |
SOAPGroup |
SecurityServerClient.findGroupWithAttributesByName(String name)
Find a group by name for the application's assigned directory.
|
SOAPPrincipal |
SecurityServerClientImpl.findPrincipalByName(String name) |
SOAPPrincipal |
SecurityServerClient.findPrincipalByName(String name)
Finds a principal by name who is in the application's assigned directory.
|
SOAPPrincipal |
SecurityServerClientImpl.findPrincipalByToken(String key) |
SOAPPrincipal |
SecurityServerClient.findPrincipalByToken(String key)
Finds a principal by token.
|
SOAPPrincipal |
SecurityServerClientImpl.findPrincipalWithAttributesByName(String name) |
SOAPPrincipal |
SecurityServerClient.findPrincipalWithAttributesByName(String name)
Finds a principal by name who is in the application's assigned directory.
|
SOAPRole |
SecurityServerClientImpl.findRoleByName(String name) |
SOAPRole |
SecurityServerClient.findRoleByName(String name)
Deprecated.
|
String[] |
SecurityServerClientImpl.findRoleMemberships(String principalName) |
String[] |
SecurityServerClient.findRoleMemberships(String principalName)
Deprecated.
|
AuthenticatedToken |
SecurityServerClientImpl.getApplicationToken()
Retrieve the current application token.
|
long |
SecurityServerClientImpl.getCacheTime() |
long |
SecurityServerClient.getCacheTime()
Deprecated.
This method is now implemented by the
crowd-ehcache.xml configuration file. |
SOAPCookieInfo |
SecurityServerClientImpl.getCookieInfo() |
SOAPCookieInfo |
SecurityServerClient.getCookieInfo()
Returns information needed to set the SSO cookie correctly.
|
String |
SecurityServerClientImpl.getDomain() |
String |
SecurityServerClient.getDomain()
This will return the domain configured in Crowd or null if no domain has been set.
|
String[] |
SecurityServerClientImpl.getGrantedAuthorities() |
String[] |
SecurityServerClient.getGrantedAuthorities()
Will return the List of group names that have been given access to connect to the application
|
void |
SecurityServerClientImpl.invalidateToken(String token) |
void |
SecurityServerClient.invalidateToken(String token)
Invalidates a principal token for all integrated applications.
|
boolean |
SecurityServerClientImpl.isCacheEnabled() |
boolean |
SecurityServerClient.isCacheEnabled()
Checks if the client application should cache security information from the Crowd server.
|
boolean |
SecurityServerClientImpl.isGroupMember(String group,
String principal) |
boolean |
SecurityServerClient.isGroupMember(String group,
String principal)
Checks if a principal is a member of a group for the application's assigned directory.
|
boolean |
SecurityServerClientImpl.isRoleMember(String role,
String principal) |
boolean |
SecurityServerClient.isRoleMember(String role,
String principal)
Deprecated.
|
boolean |
SecurityServerClientImpl.isValidToken(String principalToken,
ValidationFactor[] validationFactors) |
boolean |
SecurityServerClient.isValidToken(String principalToken,
ValidationFactor[] validationFactors)
Checks if the principal's current token is still valid.
|
void |
SecurityServerClientImpl.removeAttributeFromGroup(String group,
String attribute) |
void |
SecurityServerClient.removeAttributeFromGroup(String group,
String attribute)
Removes an attribute from a group that is in the application's assigned directory.
|
void |
SecurityServerClientImpl.removeAttributeFromPrincipal(String principal,
String attribute) |
void |
SecurityServerClient.removeAttributeFromPrincipal(String principal,
String attribute)
Removes an attribute from a principal who is in the application's assigned directory.
|
void |
SecurityServerClientImpl.removeGroup(String group) |
void |
SecurityServerClient.removeGroup(String group)
Removes a group from the application's assigned directory.
|
void |
SecurityServerClientImpl.removePrincipal(String principal) |
void |
SecurityServerClient.removePrincipal(String principal)
Removes a principal from the application's assigned directory.
|
void |
SecurityServerClientImpl.removePrincipalFromGroup(String principal,
String group) |
void |
SecurityServerClient.removePrincipalFromGroup(String principal,
String group)
Removes a principal from a group for the application's assigned directory.
|
void |
SecurityServerClientImpl.removePrincipalFromRole(String principal,
String role) |
void |
SecurityServerClient.removePrincipalFromRole(String principal,
String role)
Deprecated.
|
void |
SecurityServerClientImpl.removeRole(String role) |
void |
SecurityServerClient.removeRole(String role)
Deprecated.
|
void |
SecurityServerClientImpl.resetPrincipalCredential(String principal) |
void |
SecurityServerClient.resetPrincipalCredential(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[] |
SecurityServerClientImpl.searchGroups(SearchRestriction[] searchRestrictions) |
SOAPGroup[] |
SecurityServerClient.searchGroups(SearchRestriction[] searchRestrictions)
Searches for groups that are in the application's assigned directory.
|
SOAPPrincipal[] |
SecurityServerClientImpl.searchPrincipals(SearchRestriction[] searchRestrictions) |
SOAPPrincipal[] |
SecurityServerClient.searchPrincipals(SearchRestriction[] searchRestrictions)
Searches for principals that are in the application's assigned directory.
|
SOAPRole[] |
SecurityServerClientImpl.searchRoles(SearchRestriction[] searchRestrictions) |
SOAPRole[] |
SecurityServerClient.searchRoles(SearchRestriction[] searchRestrictions)
Deprecated.
|
void |
SecurityServerClientImpl.updateGroup(String group,
String description,
boolean active) |
void |
SecurityServerClient.updateGroup(String group,
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 |
SecurityServerClientImpl.updateGroupAttribute(String name,
SOAPAttribute attribute) |
void |
SecurityServerClient.updateGroupAttribute(String name,
SOAPAttribute attribute)
Updates an attribute for a group that is in the application's assigned directory.
|
void |
SecurityServerClientImpl.updatePrincipalAttribute(String name,
SOAPAttribute attribute) |
void |
SecurityServerClient.updatePrincipalAttribute(String name,
SOAPAttribute attribute)
Updates an attribute for a principal who is in the application's assigned directory.
|
void |
SecurityServerClientImpl.updatePrincipalCredential(String principal,
PasswordCredential credential) |
void |
SecurityServerClient.updatePrincipalCredential(String principal,
PasswordCredential credential)
Updates the password credential for a principal who is in the application's assigned directory.
|
Modifier and Type | Method and Description |
---|---|
static void |
SoapExceptionTranslator.throwSoapEquivalentCheckedException(InvalidAuthorizationTokenException e) |
Modifier and Type | Method and Description |
---|---|
static void |
SoapExceptionTranslator.throwEquivalentCheckedException(InvalidAuthorizationTokenException e) |
Copyright © 2020 Atlassian. All rights reserved.