Modifier and Type | Method and Description |
---|---|
ValidationFactor[] |
HttpAuthenticator.getValidationFactors(javax.servlet.http.HttpServletRequest request)
Retrieves validation factors from the request:
Remote Address: the source IP address of the HTTP request.
Original Address: the X-Forwarded-For HTTP header (if present and distinct from the Remote Address).
|
ValidationFactor[] |
HttpAuthenticatorImpl.getValidationFactors(javax.servlet.http.HttpServletRequest request) |
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
List<ValidationFactor> |
CrowdHttpValidationFactorExtractor.getValidationFactors(javax.servlet.http.HttpServletRequest request)
Retrieves validation factors from the request:
Remote Address: the source IP address of the HTTP request.
Original Address: the X-Forwarded-For HTTP header (if present and distinct from the Remote Address).
|
List<ValidationFactor> |
CrowdHttpValidationFactorExtractorImpl.getValidationFactors(javax.servlet.http.HttpServletRequest request) |
Modifier and Type | Method and Description |
---|---|
static ValidationFactorEntity |
ValidationFactorEntity.newInstance(ValidationFactor validationFactor) |
Modifier and Type | Method and Description |
---|---|
static ValidationFactorEntityList |
ValidationFactorEntityList.newInstance(List<ValidationFactor> validationFactors) |
Modifier and Type | Method and Description |
---|---|
void |
RestCrowdClient.validateSSOAuthentication(String token,
List<ValidationFactor> validationFactors) |
Session |
RestCrowdClient.validateSSOAuthenticationAndGetSession(String token,
List<ValidationFactor> validationFactors) |
Modifier and Type | Method and Description |
---|---|
protected String |
RemoteCrowdAuthenticationProvider.authenticate(String username,
String password,
List<ValidationFactor> validationFactors) |
protected String |
RemoteCrowdAuthenticationProvider.authenticateWithoutPassword(String username,
List<ValidationFactor> validationFactors) |
protected boolean |
RemoteCrowdAuthenticationProvider.isAuthenticated(String token,
List<ValidationFactor> validationFactors) |
Modifier and Type | Method and Description |
---|---|
List<ValidationFactor> |
CrowdSSOAuthenticationDetails.getValidationFactors() |
Modifier and Type | Method and Description |
---|---|
protected String |
RemoteCrowdAuthenticationProvider.authenticate(String username,
String password,
List<ValidationFactor> validationFactors) |
protected String |
LocalCrowdAuthenticationProvider.authenticate(String username,
String password,
List<ValidationFactor> validationFactors) |
protected abstract String |
CrowdAuthenticationProvider.authenticate(String username,
String password,
List<ValidationFactor> validationFactors)
Authenticate a remote user and return the Crowd SSO token string.
|
protected String |
RemoteCrowdAuthenticationProvider.authenticateWithoutPassword(String username,
List<ValidationFactor> validationFactors) |
protected String |
LocalCrowdAuthenticationProvider.authenticateWithoutPassword(String username,
List<ValidationFactor> validationFactors) |
protected abstract String |
CrowdAuthenticationProvider.authenticateWithoutPassword(String username,
List<ValidationFactor> validationFactors)
Authenticate a remote user without password and return the Crowd SSO token string.
|
protected boolean |
RemoteCrowdAuthenticationProvider.isAuthenticated(String token,
List<ValidationFactor> validationFactors) |
protected boolean |
LocalCrowdAuthenticationProvider.isAuthenticated(String token,
List<ValidationFactor> validationFactors) |
protected abstract boolean |
CrowdAuthenticationProvider.isAuthenticated(String token,
List<ValidationFactor> validationFactors)
Determine if a remote user is authenticated via SSO based on the supplied SSO token string and validation
factors.
|
Constructor and Description |
---|
CrowdSSOAuthenticationDetails(String applicationName,
Iterable<ValidationFactor> validationFactors) |
Modifier and Type | Method and Description |
---|---|
protected List<ValidationFactor> |
TokenAuthenticationManagerImpl.activeValidationFactors(ValidationFactor[] factors) |
Modifier and Type | Method and Description |
---|---|
protected List<ValidationFactor> |
TokenAuthenticationManagerImpl.activeValidationFactors(ValidationFactor[] factors) |
protected org.apache.commons.lang3.tuple.Pair<Token,Boolean> |
TokenAuthenticationManagerImpl.genericValidateToken(String token,
ValidationFactor[] validationFactors)
Will validate a token key with the given
ValidationFactor 's
against one (if it exists) in the datastore. |
Token |
TokenAuthenticationManagerImpl.validateApplicationToken(String tokenKey,
ValidationFactor[] clientValidationFactors) |
Token |
AliasingAwareTokenAuthenticationManager.validateApplicationToken(String tokenKey,
ValidationFactor[] validationFactors) |
Token |
DelegatingTokenAuthenticationManager.validateApplicationToken(String tokenKey,
ValidationFactor[] validationFactors) |
Token |
TokenAuthenticationManager.validateApplicationToken(String tokenKey,
ValidationFactor[] validationFactors)
Validates an application token key given validation factors.
|
Token |
TokenAuthenticationManagerImpl.validateUserToken(Application application,
String userTokenKey,
ValidationFactor[] validationFactors) |
Token |
AliasingAwareTokenAuthenticationManager.validateUserToken(Application application,
String userTokenKey,
ValidationFactor[] validationFactors) |
Token |
DelegatingTokenAuthenticationManager.validateUserToken(Application application,
String userTokenKey,
ValidationFactor[] validationFactors) |
Token |
TokenAuthenticationManager.validateUserToken(Application application,
String userTokenKey,
ValidationFactor[] validationFactors)
Validates a user token key given validation factors and checks that the user is allowed to authenticate
with the specified application
|
Modifier and Type | Method and Description |
---|---|
protected void |
TokenKeyGeneratorImpl.addValidationFactor(StringBuilder message,
List<ValidationFactor> validationFactors,
String factorName)
If it exists, adds the validation factor specified in
factorName to the message . |
Token |
TokenFactoryImpl.create(long directoryID,
String name,
TokenLifetime tokenLifetime,
List<ValidationFactor> validationFactors) |
Token |
TokenFactory.create(long directoryID,
String name,
TokenLifetime tokenLifetime,
List<ValidationFactor> validationFactors)
Generates a token key based on the supplied
validationFactors . |
Token |
TokenFactoryImpl.create(long directoryID,
String name,
TokenLifetime tokenLifetime,
List<ValidationFactor> validationFactors,
long secretNumber) |
Token |
TokenFactory.create(long directoryID,
String name,
TokenLifetime tokenLifetime,
List<ValidationFactor> validationFactors,
long secretNumber)
Generates a token key based on the supplied
validationFactors . |
String |
TokenFactoryImpl.createValidationHash(long directoryID,
String name,
List<ValidationFactor> validationFactors,
long secretNumber) |
String |
TokenFactory.createValidationHash(long directoryID,
String name,
List<ValidationFactor> validationFactors,
long secretNumber)
Generates random hash based on the supplied parameters.
|
String |
TokenKeyGenerator.generateIdentifierHash(long directoryID,
String name,
List<ValidationFactor> validationFactors)
Creates a String that will be used by a
Token as its Token.identifierHash . |
String |
TokenKeyGeneratorImpl.generateIdentifierHash(long directoryID,
String name,
List<ValidationFactor> validationFactors) |
String |
TokenKeyGenerator.generateRandomHash(long directoryID,
String name,
List<ValidationFactor> validationFactors)
Creates a String that will be used by a
Token as its Token.randomHash . |
String |
TokenKeyGeneratorImpl.generateRandomHash(long directoryID,
String name,
List<ValidationFactor> validationFactors) |
Modifier and Type | Method and Description |
---|---|
ValidationFactor[] |
AuthenticationContext.getValidationFactors()
Gets the authenticating validation factors.
|
Modifier and Type | Method and Description |
---|---|
void |
AuthenticationContext.setValidationFactors(ValidationFactor[] validationFactors)
Sets the authenticating validation factors.
|
Constructor and Description |
---|
ApplicationAuthenticationContext(String name,
PasswordCredential credential,
ValidationFactor[] validationFactors) |
AuthenticationContext(String name,
PasswordCredential credential,
ValidationFactor[] validationFactors) |
UserAuthenticationContext(String name,
PasswordCredential credential,
ValidationFactor[] validationFactors,
String application) |
Modifier and Type | Method and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
boolean |
CacheAwareAuthenticationManager.isAuthenticated(String token,
ValidationFactor[] validationFactors) |
boolean |
SimpleAuthenticationManager.isAuthenticated(String token,
ValidationFactor[] validationFactors) |
Modifier and Type | Method and Description |
---|---|
void |
CrowdClient.validateSSOAuthentication(String token,
List<ValidationFactor> validationFactors)
Validates the SSO authentication.
|
Session |
CrowdClient.validateSSOAuthenticationAndGetSession(String token,
List<ValidationFactor> validationFactors)
Validates the SSO authentication.
|
Modifier and Type | Method and Description |
---|---|
String |
SecurityServerClientImpl.createPrincipalToken(String username,
ValidationFactor[] validationFactors) |
String |
SecurityServerClient.createPrincipalToken(String username,
ValidationFactor[] validationFactors)
Authenticates a principal without validating a password.
|
boolean |
SecurityServerClientImpl.isValidToken(String principalToken,
ValidationFactor[] validationFactors) |
boolean |
SecurityServerClient.isValidToken(String principalToken,
ValidationFactor[] validationFactors)
Checks if the principal's current token is still valid.
|
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Function<ValidationFactor,ValidationFactor> |
SoapObjectTranslator.FROM_SOAP_VALIDATION_FACTOR_FUNCTION |
static com.google.common.base.Function<ValidationFactor,ValidationFactor> |
SoapObjectTranslator.TO_SOAP_VALIDATION_FACTOR_FUNCTION |
Modifier and Type | Method and Description |
---|---|
static ValidationFactor |
SoapObjectTranslator.fromSoapValidationFactor(ValidationFactor validationFactor)
Converts from SOAP version of ValidationFactor.
|
static ValidationFactor[] |
SoapObjectTranslator.fromSoapValidationFactors(ValidationFactor[] validationFactors)
Converts from SOAP version of ValidationFactor.
|
Modifier and Type | Method and Description |
---|---|
static ValidationFactor |
SoapObjectTranslator.toSoapValidationFactor(ValidationFactor validationFactor)
Converts to the SOAP version of ValidationFactor.
|
static ValidationFactor[] |
SoapObjectTranslator.toSoapValidationFactors(ValidationFactor[] validationFactors)
Converts to the SOAP version of ValidationFactor.
|
Copyright © 2020 Atlassian. All rights reserved.