- AbstractRequestAuthenticationFilter - Class in com.atlassian.asap.core.server.filter
-
A servlet filter that accepts or rejects requests based on the authenticity and validity of the JWT access token.
- AbstractRequestAuthenticationFilter() - Constructor for class com.atlassian.asap.core.server.filter.AbstractRequestAuthenticationFilter
-
- AbstractRequestAuthorizationFilter - Class in com.atlassian.asap.core.server.filter
-
Filters requests that contain authentic JWT tokens based on an authorization policy.
- AbstractRequestAuthorizationFilter() - Constructor for class com.atlassian.asap.core.server.filter.AbstractRequestAuthorizationFilter
-
- AbstractTokenValidator - Class in com.atlassian.asap.service.core.impl
-
Implements the builder logic for a token validator.
- AbstractTokenValidator(AsapConfiguration) - Constructor for class com.atlassian.asap.service.core.impl.AbstractTokenValidator
-
- acceptableAudienceValues() - Method in class com.atlassian.asap.service.core.impl.AbstractTokenValidator
-
- algorithm(SigningAlgorithm) - Method in class com.atlassian.asap.api.JwtBuilder
-
Sets the algorithm (alg) jws header.
- algorithmName() - Method in enum com.atlassian.asap.api.AlgorithmType
-
- AlgorithmType - Enum in com.atlassian.asap.api
-
- apply(Asap) - Method in class com.atlassian.asap.core.server.jersey.AsapValidator.AsapAnnotationWhitelistProviderWithConfigSupport
-
- apply(Asap) - Method in class com.atlassian.asap.core.server.jersey.AsapValidator.AsapWhitelistProvider
-
- apply(Asap) - Method in class com.atlassian.asap.core.server.jersey.AsapValidator.EnvironmentVariablesWhitelistProvider
-
- apply(RequestTemplate) - Method in class com.atlassian.asap.feign.AsapInterceptor
-
- Asap - Annotation Type in com.atlassian.asap.core.server.jersey
-
Asap is an annotation that will allow Jersey resource packages, classes, or methods to opt into ASAP authorization.
- AsapAnnotationWhitelistProviderWithConfigSupport(Set<String>, Set<String>) - Constructor for class com.atlassian.asap.core.server.jersey.AsapValidator.AsapAnnotationWhitelistProviderWithConfigSupport
-
- AsapAuth - Annotation Type in com.atlassian.asap.service.api
-
An annotation that declares the intent for a resource to use ASAP-based authentication and authorization.
- AsapAuthenticationFilter - Class in com.atlassian.asap.core.client.jersey
-
Use this class to authenticate Jersey client requests with ASAP.
- AsapAuthenticationFilter(String, String, String, URI) - Constructor for class com.atlassian.asap.core.client.jersey.AsapAuthenticationFilter
-
- AsapAuthenticationFilter(String, String, String, AuthorizationHeaderGenerator) - Constructor for class com.atlassian.asap.core.client.jersey.AsapAuthenticationFilter
-
- AsapAuthenticationFilter(Jwt, URI) - Constructor for class com.atlassian.asap.core.client.jersey.AsapAuthenticationFilter
-
- AsapAuthenticationFilter(Jwt, AuthorizationHeaderGenerator) - Constructor for class com.atlassian.asap.core.client.jersey.AsapAuthenticationFilter
-
- AsapAuthenticationProvider - Class in com.atlassian.asap.core.server.springsecurity
-
An authentication provider that validates an UnverifiedBearerToken and if the token is valid,
transforms it into an authenticated token which includes the granted authorities.
- AsapAuthenticationProvider(JwtValidator, Collection<GrantedAuthority>) - Constructor for class com.atlassian.asap.core.server.springsecurity.AsapAuthenticationProvider
-
- AsapAuthenticationProvider(JwtValidator) - Constructor for class com.atlassian.asap.core.server.springsecurity.AsapAuthenticationProvider
-
- AsapClientConfiguration - Class in com.atlassian.asap.core.client
-
Client-side ASAP configuration.
- AsapConfiguration - Interface in com.atlassian.asap.service.core.spi
-
Configuration for the ASAP library, which provides the ability to create and verify authentication tokens
for service-to-service communication.
- asapHttpClient() - Method in class com.atlassian.asap.core.server.AsapServerConfiguration
-
Definition of the HttpClient bean.
- AsapInterceptor - Class in com.atlassian.asap.feign
-
Decorates a Feign request with ASAP credentials.
- AsapInterceptor(AuthorizationHeaderGenerator, Jwt) - Constructor for class com.atlassian.asap.feign.AsapInterceptor
-
- AsapServerConfiguration - Class in com.atlassian.asap.core.server
-
Server-side ASAP configuration.
- AsapService - Interface in com.atlassian.asap.service.api
-
Point of contact of service-to-service authentication tools.
- AsapValidator - Class in com.atlassian.asap.core.server.jersey
-
Validates a valid
Jwt token against a whitelist of acceptable subjects and/or issuers.
- AsapValidator(Function<Asap, AsapValidator.Whitelist>) - Constructor for class com.atlassian.asap.core.server.jersey.AsapValidator
-
- AsapValidator.AsapAnnotationWhitelistProviderWithConfigSupport - Class in com.atlassian.asap.core.server.jersey
-
- AsapValidator.AsapWhitelistProvider - Class in com.atlassian.asap.core.server.jersey
-
- AsapValidator.EnvironmentVariablesWhitelistProvider - Class in com.atlassian.asap.core.server.jersey
-
Provides the whitelist from environment variables.
- AsapValidator.Whitelist - Class in com.atlassian.asap.core.server.jersey
-
Provides whitelisted values.
- AsapWhitelistProvider() - Constructor for class com.atlassian.asap.core.server.jersey.AsapValidator.AsapWhitelistProvider
-
- attemptAuthentication(HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.asap.core.server.springsecurity.BearerTokenAuthenticationProcessingFilter
-
- audience(Iterable<String>) - Method in class com.atlassian.asap.api.JwtBuilder
-
Sets the audience (aud) claim.
- audience(String...) - Method in class com.atlassian.asap.api.JwtBuilder
-
Sets the audience (aud) claim.
- AUDIENCE - Static variable in class com.atlassian.asap.it.BaseIntegrationTest
-
- audience(String...) - Method in interface com.atlassian.asap.service.api.AuthorizationBuilder
-
Specifies the intended audience(s) for the token.
- audience(Iterable<String>) - Method in interface com.atlassian.asap.service.api.AuthorizationBuilder
-
Specifies the intended audience(s) for the token.
- audience(String...) - Method in interface com.atlassian.asap.service.api.TokenValidator
-
Specifies the audience(s) that will be accepted.
- audience(Iterable<String>) - Method in interface com.atlassian.asap.service.api.TokenValidator
-
- audience(Iterable<String>) - Method in class com.atlassian.asap.service.core.impl.AbstractTokenValidator
-
- audience(Iterable<String>) - Method in class com.atlassian.asap.service.core.impl.AuthorizationBuilderImpl
-
- audience() - Method in class com.atlassian.asap.service.core.service.StringValuesAsapConfiguration
-
- audience() - Method in interface com.atlassian.asap.service.core.spi.AsapConfiguration
-
The default audience value that we expect to find when validating an authentication token that was sent to
by some other service.
- AUDIENCE_SYSPROP - Static variable in class com.atlassian.asap.core.client.SimpleClientRunner
-
- AUTHENTIC_JWT_REQUEST_ATTRIBUTE - Static variable in class com.atlassian.asap.core.server.filter.AbstractRequestAuthenticationFilter
-
- authenticate(Authentication) - Method in class com.atlassian.asap.core.server.springsecurity.AsapAuthenticationProvider
-
- authenticateRequest(String) - Method in interface com.atlassian.asap.api.server.http.RequestAuthenticator
-
Authenticates a request by validating the given authorizationHeader according to the conventions.
- authenticateRequest(String) - Method in class com.atlassian.asap.core.server.http.RequestAuthenticatorImpl
-
- AuthenticationContext - Class in com.atlassian.asap.core.server
-
Provides the contextual information needed to authenticate a JWT.
- AuthenticationContext(String, String) - Constructor for class com.atlassian.asap.core.server.AuthenticationContext
-
- AuthenticationContext(Set<String>, String) - Constructor for class com.atlassian.asap.core.server.AuthenticationContext
-
- AuthenticationContext(String, KeyProvider<PublicKey>) - Constructor for class com.atlassian.asap.core.server.AuthenticationContext
-
- AuthenticationContext(Set<String>, KeyProvider<PublicKey>) - Constructor for class com.atlassian.asap.core.server.AuthenticationContext
-
- AuthenticationFailedException - Exception in com.atlassian.asap.api.exception
-
Thrown when an incoming HTTP request cannot be authenticated using ASAP.
- AuthenticationFailedException(String, String) - Constructor for exception com.atlassian.asap.api.exception.AuthenticationFailedException
-
- AuthenticationFailedException(String, ValidatedKeyId, URI, String) - Constructor for exception com.atlassian.asap.api.exception.AuthenticationFailedException
-
- AuthenticationRequestFilter - Class in com.atlassian.asap.core.server.jersey
-
AuthenticationRequestFilter is a
ContainerRequestFilter that authenticates resources with the ASAP protocol
if opted-into by using the
Asap annotation on either a resource package, class, or method.
- AuthenticationRequestFilter(RequestAuthenticator, FailureHandler) - Constructor for class com.atlassian.asap.core.server.jersey.AuthenticationRequestFilter
-
- authorizationBuilder() - Method in interface com.atlassian.asap.service.api.AsapService
-
Creates a builder for generating an HTTP Authorization header value containing an ASAP token.
- AuthorizationBuilder - Interface in com.atlassian.asap.service.api
-
A builder-style tool for generating an HTTP Authorization header value that contains an ASAP token.
- authorizationBuilder() - Method in class com.atlassian.asap.service.core.service.DefaultAsapService
-
- AuthorizationBuilderImpl - Class in com.atlassian.asap.service.core.impl
-
- AuthorizationBuilderImpl(AsapConfiguration, AuthorizationHeaderGenerator) - Constructor for class com.atlassian.asap.service.core.impl.AuthorizationBuilderImpl
-
- AuthorizationFailedException - Exception in com.atlassian.asap.api.exception
-
Thrown when an incoming HTTP request is authentic but is not authorized.
- AuthorizationFailedException(String) - Constructor for exception com.atlassian.asap.api.exception.AuthorizationFailedException
-
- AuthorizationHeaderGenerator - Interface in com.atlassian.asap.api.client.http
-
HTTP clients can use this service to generate the value of the Authorization header to be included in
outgoing requests.
- authorizationHeaderGenerator(JwtSerializer, KeyProvider<PrivateKey>) - Method in class com.atlassian.asap.core.client.AsapClientConfiguration
-
- AuthorizationHeaderGeneratorImpl - Class in com.atlassian.asap.core.client.http
-
- AuthorizationHeaderGeneratorImpl(JwtSerializer, KeyProvider<PrivateKey>) - Constructor for class com.atlassian.asap.core.client.http.AuthorizationHeaderGeneratorImpl
-
- AuthorizationRequestFilter - Class in com.atlassian.asap.core.server.jersey
-
AuthorizationRequestFilter is a ContainerRequestFilter that validates an authenticated jwt token.
- AuthorizationRequestFilter(FailureHandler, AsapValidator) - Constructor for class com.atlassian.asap.core.server.jersey.AuthorizationRequestFilter
-
- authorize(Jwt, HttpRequestContext) - Method in interface com.atlassian.asap.core.server.jersey.JerseyRequestAuthorizer
-
Tries to authorize an authentic JWT token to perform a request.
- authorize(Jwt, HttpRequestContext) - Method in class com.atlassian.asap.core.server.jersey.WhitelistJerseyRequestAuthorizer
-
- AUTHORIZED_ISSUER_SYSPROP - Static variable in class com.atlassian.asap.core.server.SimpleServerRunner
-
System property that specifies the authorized issuers for the resource.
- AUTHORIZED_ISSUERS_KEY - Static variable in class com.atlassian.asap.core.server.jersey.AsapValidator.EnvironmentVariablesWhitelistProvider
-
- AUTHORIZED_SUBJECT_SYSPROP - Static variable in class com.atlassian.asap.core.server.SimpleServerRunner
-
System property that specifies the authorized subjects for the resource.
- AUTHORIZED_SUBJECTS_KEY - Static variable in class com.atlassian.asap.core.server.jersey.AsapValidator.EnvironmentVariablesWhitelistProvider
-
- authorizedIssuers() - Method in class com.atlassian.asap.service.core.impl.AbstractTokenValidator
-
- authorizedSubjects() - Method in class com.atlassian.asap.service.core.impl.AbstractTokenValidator
-
- CannotRetrieveKeyException - Exception in com.atlassian.asap.api.exception
-
Thrown when a cryptographic key is not available.
- CannotRetrieveKeyException(String) - Constructor for exception com.atlassian.asap.api.exception.CannotRetrieveKeyException
-
- CannotRetrieveKeyException(String, URI) - Constructor for exception com.atlassian.asap.api.exception.CannotRetrieveKeyException
-
- CannotRetrieveKeyException(String, ValidatedKeyId, URI) - Constructor for exception com.atlassian.asap.api.exception.CannotRetrieveKeyException
-
- CannotRetrieveKeyException(String, Throwable) - Constructor for exception com.atlassian.asap.api.exception.CannotRetrieveKeyException
-
- CannotRetrieveKeyException(String, Throwable, URI) - Constructor for exception com.atlassian.asap.api.exception.CannotRetrieveKeyException
-
- CannotRetrieveKeyException(String, Throwable, ValidatedKeyId, URI) - Constructor for exception com.atlassian.asap.api.exception.CannotRetrieveKeyException
-
- ChainedKeyProvider - Class in com.atlassian.asap.core.keys.publickey
-
Looks up keys sequentially in a given list of key providers.
- ClasspathPrivateKeyProvider - Class in com.atlassian.asap.core.keys.privatekey
-
Retrieves private keys from the classpath.
- ClasspathPrivateKeyProvider(String, KeyReader) - Constructor for class com.atlassian.asap.core.keys.privatekey.ClasspathPrivateKeyProvider
-
Create instance of ClasspathPrivateKeyProvider that reads private keys under the given classpath base.
- ClasspathPublicKeyProvider - Class in com.atlassian.asap.core.keys.publickey
-
Retrieves public keys from the classpath.
- ClasspathPublicKeyProvider(String, KeyReader) - Constructor for class com.atlassian.asap.core.keys.publickey.ClasspathPublicKeyProvider
-
Create a provider that reads public keys under the given classpath base.
- ClassPathUri - Class in com.atlassian.asap.core.keys
-
A class to create informative classpath URI.
- ClassPathUri() - Constructor for class com.atlassian.asap.core.keys.ClassPathUri
-
- classPathUri(String) - Static method in class com.atlassian.asap.core.keys.ClassPathUri
-
Creates a URI that denotes a classpath resource, using the classpath pseudo protocol.
- com.atlassian.asap - package com.atlassian.asap
-
Library that is used to create and verify json web tokens (JWT)
for service to service authentication purposes using the ASAP protocol.
- com.atlassian.asap.annotation - package com.atlassian.asap.annotation
-
- com.atlassian.asap.api - package com.atlassian.asap.api
-
- com.atlassian.asap.api.client.http - package com.atlassian.asap.api.client.http
-
- com.atlassian.asap.api.exception - package com.atlassian.asap.api.exception
-
- com.atlassian.asap.api.server.http - package com.atlassian.asap.api.server.http
-
- com.atlassian.asap.core - package com.atlassian.asap.core
-
- com.atlassian.asap.core.client - package com.atlassian.asap.core.client
-
- com.atlassian.asap.core.client.http - package com.atlassian.asap.core.client.http
-
- com.atlassian.asap.core.client.jersey - package com.atlassian.asap.core.client.jersey
-
- com.atlassian.asap.core.exception - package com.atlassian.asap.core.exception
-
- com.atlassian.asap.core.keys - package com.atlassian.asap.core.keys
-
- com.atlassian.asap.core.keys.privatekey - package com.atlassian.asap.core.keys.privatekey
-
- com.atlassian.asap.core.keys.publickey - package com.atlassian.asap.core.keys.publickey
-
- com.atlassian.asap.core.parser - package com.atlassian.asap.core.parser
-
- com.atlassian.asap.core.serializer - package com.atlassian.asap.core.serializer
-
- com.atlassian.asap.core.server - package com.atlassian.asap.core.server
-
- com.atlassian.asap.core.server.filter - package com.atlassian.asap.core.server.filter
-
- com.atlassian.asap.core.server.http - package com.atlassian.asap.core.server.http
-
- com.atlassian.asap.core.server.jersey - package com.atlassian.asap.core.server.jersey
-
Jersey 2 adapter for ASAP
- com.atlassian.asap.core.server.springsecurity - package com.atlassian.asap.core.server.springsecurity
-
- com.atlassian.asap.core.validator - package com.atlassian.asap.core.validator
-
- com.atlassian.asap.feign - package com.atlassian.asap.feign
-
- com.atlassian.asap.it - package com.atlassian.asap.it
-
- com.atlassian.asap.nimbus.parser - package com.atlassian.asap.nimbus.parser
-
- com.atlassian.asap.nimbus.serializer - package com.atlassian.asap.nimbus.serializer
-
- com.atlassian.asap.performance - package com.atlassian.asap.performance
-
- com.atlassian.asap.service.api - package com.atlassian.asap.service.api
-
A service API that simplifies creating and verifying ASAP tokens within an application.
- com.atlassian.asap.service.core.impl - package com.atlassian.asap.service.core.impl
-
Implementations for the token building and validation classes of the service API.
- com.atlassian.asap.service.core.service - package com.atlassian.asap.service.core.service
-
Default implementations for the core services published by the service API.
- com.atlassian.asap.service.core.spi - package com.atlassian.asap.service.core.spi
-
Supporting classes that the host application must supply in order to use the default
implementation classes in the service API.
- configure() - Method in class com.atlassian.asap.core.server.jersey.JwtParamBinder
-
- copyJwt(Jwt) - Static method in class com.atlassian.asap.api.JwtBuilder
-
Returns a builder initialised to make an identical copy of the given original Jwt.
- create(AuthenticationContext) - Method in class com.atlassian.asap.core.server.http.RequestAuthenticatorFactory
-
- create(JwtAuth) - Method in class com.atlassian.asap.core.server.jersey.JerseyRequestAuthorizerFactory
-
- createChainedKeyProvider(List<KeyProvider<PublicKey>>) - Static method in class com.atlassian.asap.core.keys.publickey.ChainedKeyProvider
-
Create a chained key provider representing a given list of key repository providers.
- createDefault(URI) - Static method in class com.atlassian.asap.core.client.http.AuthorizationHeaderGeneratorImpl
-
Constructs a default instance for the given private key path.
- createDefault() - Static method in class com.atlassian.asap.core.keys.publickey.PublicKeyProviderFactory
-
- createDefault(String, String) - Static method in class com.atlassian.asap.core.server.filter.RequestAuthenticationFilterBean
-
A factory to instantiate the filter with minimal configuration.
- createDefault(AuthenticationContext) - Static method in class com.atlassian.asap.core.validator.JwtValidatorImpl
-
A factory method that returns an instance with a typical configuration.
- createDefault(String, String) - Static method in class com.atlassian.asap.core.validator.JwtValidatorImpl
-
A factory method that returns an instance with a typical configuration.
- createDefault(Set<String>, String) - Static method in class com.atlassian.asap.core.validator.JwtValidatorImpl
-
A factory method that returns an instance with a typical configuration.
- createECDSASignerForKey(ECPrivateKey) - Method in class com.atlassian.asap.nimbus.serializer.NimbusJwtSerializer
-
- createJwtValidator(KeyProvider<PublicKey>, JwtParser, JwtClaimsValidator, Set<String>) - Method in class com.atlassian.asap.service.core.impl.TokenValidatorImpl
-
Creates the validator that will enforce correctness of the token.
- createMirroredKeyProvider(List<KeyProvider<PublicKey>>) - Static method in class com.atlassian.asap.core.keys.publickey.MirroredKeyProvider
-
Create a mirrored key provider representing a given set of mirrored key repository providers.
- createPrivateKeyProvider(URI) - Static method in class com.atlassian.asap.core.keys.privatekey.PrivateKeyProviderFactory
-
- createPublicKeyProvider(String) - Method in class com.atlassian.asap.core.keys.publickey.PublicKeyProviderFactory
-
Creates an instance of
KeyProvider for the given base URL.
- createRSASSASignerForKey(RSAPrivateKey) - Method in class com.atlassian.asap.nimbus.serializer.NimbusJwtSerializer
-
- customClaims(JsonObject) - Method in class com.atlassian.asap.api.JwtBuilder
-
Sets the custom claims for this jwt.
- customClaims(Optional<JsonObject>) - Method in interface com.atlassian.asap.service.api.AuthorizationBuilder
-
Permits the inclusion of additional parameters that are not covered by any of the standard JWT claims.
- customClaims(Optional<JsonObject>) - Method in class com.atlassian.asap.service.core.impl.AuthorizationBuilderImpl
-
- DATA_URI_PEM_HEADER - Static variable in class com.atlassian.asap.core.keys.DataUriKeyReader
-
- DATA_URI_PKCS8_HEADER - Static variable in class com.atlassian.asap.core.keys.DataUriKeyReader
-
- DataUriKeyProvider - Class in com.atlassian.asap.core.keys.privatekey
-
Key provider for keys embedded in data uri.
- DataUriKeyProvider(URI, DataUriKeyReader) - Constructor for class com.atlassian.asap.core.keys.privatekey.DataUriKeyProvider
-
- DataUriKeyReader - Class in com.atlassian.asap.core.keys
-
Reads keys encoded in a data uri.
- DataUriKeyReader() - Constructor for class com.atlassian.asap.core.keys.DataUriKeyReader
-
- DataUriKeyReader(Provider) - Constructor for class com.atlassian.asap.core.keys.DataUriKeyReader
-
- DataUriUtil - Class in com.atlassian.asap.core.keys
-
- DataUriUtil() - Constructor for class com.atlassian.asap.core.keys.DataUriUtil
-
- decision() - Method in interface com.atlassian.asap.service.api.ValidationResult
-
The overall decision as to whether or not the Authorization header has satisfied the
validator's requirements.
- DEFAULT_LIFETIME - Static variable in class com.atlassian.asap.api.JwtBuilder
-
Token lifetime, unless a specific lifetime is explicitly set.
- DEFAULT_MAX_LIFETIME - Static variable in class com.atlassian.asap.core.validator.JwtClaimsValidator
-
No matter what the claims say, the server should reject tokens that are too long-lived.
- DefaultAsapService - Class in com.atlassian.asap.service.core.service
-
A default implementation for AsapService that takes its settings from an AsapConfiguration.
- DefaultAsapService(AsapConfiguration, JwtClaimsValidator, PublicKeyProviderFactory, AuthorizationHeaderGenerator) - Constructor for class com.atlassian.asap.service.core.service.DefaultAsapService
-
- DefaultAsapService(AsapConfiguration, JwtClaimsValidator, KeyProvider<PublicKey>, AuthorizationHeaderGenerator) - Constructor for class com.atlassian.asap.service.core.service.DefaultAsapService
-
- DefaultAuthorizationHeaderGenerator - Class in com.atlassian.asap.service.core.service
-
An authorization header generator that is suitable for use as a globally configured component in a container.
- DefaultAuthorizationHeaderGenerator(AsapConfiguration) - Constructor for class com.atlassian.asap.service.core.service.DefaultAuthorizationHeaderGenerator
-
Constructs a new authorization header generator.
- defaultHttpClient() - Static method in class com.atlassian.asap.core.keys.publickey.HttpPublicKeyProvider
-
Constructs the HTTP client used by the provider if no other HttpClient is provided.
- defaultHttpClientBuilder() - Static method in class com.atlassian.asap.core.keys.publickey.HttpPublicKeyProvider
-
Configures the HTTP client used by the provider with the necessary connection manager and request/cache config.
- destroy() - Method in class com.atlassian.asap.core.server.filter.AbstractRequestAuthenticationFilter
-
- destroy() - Method in class com.atlassian.asap.core.server.filter.AbstractRequestAuthorizationFilter
-
- determineUnverifiedIssuer(String) - Method in interface com.atlassian.asap.core.parser.JwtParser
-
Extracts the issuer, if at all possible, from the claims section of the given serialized JWT.
- determineUnverifiedIssuer(String) - Method in interface com.atlassian.asap.core.validator.JwtValidator
-
Extracts the issuer, if at all possible, from the claims section by parsing the given serialized JWT.
- determineUnverifiedIssuer(String) - Method in class com.atlassian.asap.core.validator.JwtValidatorImpl
-
- determineUnverifiedIssuer(String) - Method in class com.atlassian.asap.nimbus.parser.NimbusJwtParser
-
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.atlassian.asap.core.server.filter.AbstractRequestAuthenticationFilter
-
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.atlassian.asap.core.server.filter.AbstractRequestAuthorizationFilter
-
- S3ServiceUnavailableRetryStrategy - Class in com.atlassian.asap.core.keys.publickey
-
A strategy that follows the best practices defined by Amazon for S3 buckets.
- S3ServiceUnavailableRetryStrategy(int, long) - Constructor for class com.atlassian.asap.core.keys.publickey.S3ServiceUnavailableRetryStrategy
-
- saveToken(ServletRequest, Jwt) - Method in class com.atlassian.asap.core.server.filter.AbstractRequestAuthenticationFilter
-
Save the authentic token in the request to make it available for other filters down the chain.
- SecurityProvider - Class in com.atlassian.asap.core
-
- SecurityProvider() - Constructor for class com.atlassian.asap.core.SecurityProvider
-
- serialize(Jwt, PrivateKey) - Method in interface com.atlassian.asap.core.serializer.JwtSerializer
-
Write the JWT with an appropriate signature.
- serialize(Jwt, PrivateKey) - Method in class com.atlassian.asap.nimbus.serializer.NimbusJwtSerializer
-
- shouldAcceptRequestWithValidES256Token() - Method in class com.atlassian.asap.it.BaseIntegrationTest
-
Verifies that the server accepts requests with a valid token using ES256.
- shouldAcceptRequestWithValidPS256Token() - Method in class com.atlassian.asap.it.BaseIntegrationTest
-
Verifies that the server accepts requests with a valid token using PS256.
- shouldAcceptRequestWithValidRS256Token() - Method in class com.atlassian.asap.it.BaseIntegrationTest
-
Verifies that the server accepts requests with a valid token using RS256.
- shouldRejectRequestIfPublicKeyCannotBeFound() - Method in class com.atlassian.asap.it.BaseIntegrationTest
-
Verifies that the server rejects requests if the public key cannot be found.
- shouldRejectRequestWithBasicAuth() - Method in class com.atlassian.asap.it.BaseIntegrationTest
-
Verifies that the server rejects requests that do not have a bearer token.
- shouldRejectRequestWithMalformedToken() - Method in class com.atlassian.asap.it.BaseIntegrationTest
-
Verifies that the server rejects requests which have an uparseable token.
- shouldRejectRequestWithoutAuthenticationHeader() - Method in class com.atlassian.asap.it.BaseIntegrationTest
-
Verifies that the server rejects requests that lack the authentication header.
- shouldRejectRequestWithUnauthorizedIssuer() - Method in class com.atlassian.asap.it.BaseIntegrationTest
-
Verifies that the server rejects requests if the issuer is not authorized.
- shouldRejectRequestWithUnauthorizedSubject() - Method in class com.atlassian.asap.it.BaseIntegrationTest
-
Verifies that the server rejects requests if the subject is not authorized.
- shutdownHttpClient() - Method in class com.atlassian.asap.it.BaseIntegrationTest
-
- SignatureMismatchException - Exception in com.atlassian.asap.core.exception
-
Indicates that the token signature does not match its contents.
- SignatureMismatchException(Throwable) - Constructor for exception com.atlassian.asap.core.exception.SignatureMismatchException
-
- SignatureMismatchException(String) - Constructor for exception com.atlassian.asap.core.exception.SignatureMismatchException
-
- SigningAlgorithm - Enum in com.atlassian.asap.api
-
An enumeration of asymmetric JWS algorithms.
- SigningException - Exception in com.atlassian.asap.core.exception
-
Thrown if a problem was encountered while signing a token.
- SigningException() - Constructor for exception com.atlassian.asap.core.exception.SigningException
-
- SimpleClient - Class in com.atlassian.asap.core.client
-
A simple client for demonstration purposes.
- SimpleClient(String, String, String, URI) - Constructor for class com.atlassian.asap.core.client.SimpleClient
-
- SimpleClientRunner - Class in com.atlassian.asap.core.client
-
- SimpleClientRunner() - Constructor for class com.atlassian.asap.core.client.SimpleClientRunner
-
- SimpleServer - Class in com.atlassian.asap.core.server
-
A simple server for demonstration purposes.
- SimpleServer(int, String, String, Set<String>, Set<String>) - Constructor for class com.atlassian.asap.core.server.SimpleServer
-
- SimpleServerRunner - Class in com.atlassian.asap.core.server
-
- SimpleServerRunner() - Constructor for class com.atlassian.asap.core.server.SimpleServerRunner
-
- start() - Method in class com.atlassian.asap.core.server.SimpleServer
-
Start the server.
- stop() - Method in class com.atlassian.asap.core.server.SimpleServer
-
Stop the server.
- StringPrivateKeyProvider - Class in com.atlassian.asap.core.keys.privatekey
-
Reads a single private key from a String.
- StringPrivateKeyProvider(KeyReader, String, String) - Constructor for class com.atlassian.asap.core.keys.privatekey.StringPrivateKeyProvider
-
Creates an instance that provides a single key read from a String.
- StringValuesAsapConfiguration - Class in com.atlassian.asap.service.core.service
-
- StringValuesAsapConfiguration(String, String, String, String, String) - Constructor for class com.atlassian.asap.service.core.service.StringValuesAsapConfiguration
-
- subject(Optional<String>) - Method in class com.atlassian.asap.api.JwtBuilder
-
Sets the subject (sub) claim for this jwt.
- subject(Optional<String>) - Method in interface com.atlassian.asap.service.api.AuthorizationBuilder
-
Specifies the subject of the token.
- subject(String...) - Method in interface com.atlassian.asap.service.api.TokenValidator
-
Specifies the effective subject(s) that are authorized to use this resource.
- subject(Iterable<String>) - Method in interface com.atlassian.asap.service.api.TokenValidator
-
- subject(Iterable<String>) - Method in class com.atlassian.asap.service.core.impl.AbstractTokenValidator
-
- subject(Optional<String>) - Method in class com.atlassian.asap.service.core.impl.AuthorizationBuilderImpl
-
- subjectImpersonation(boolean) - Method in interface com.atlassian.asap.service.api.TokenValidator
-
- subjectImpersonation(boolean) - Method in class com.atlassian.asap.service.core.impl.AbstractTokenValidator
-
- subjectImpersonation() - Method in class com.atlassian.asap.service.core.impl.AbstractTokenValidator
-
- successfulAuthentication(HttpServletRequest, HttpServletResponse, FilterChain, Authentication) - Method in class com.atlassian.asap.core.server.springsecurity.BearerTokenAuthenticationProcessingFilter
-
- supports(Class<?>) - Method in class com.atlassian.asap.core.server.springsecurity.AsapAuthenticationProvider
-
- SystemPropertyKeyProvider - Class in com.atlassian.asap.core.keys.privatekey
-
Reads private keys specified as data uri from system properties.
- validate(Asap, Jwt) - Method in class com.atlassian.asap.core.server.jersey.AsapValidator
-
Validates a jwt token.
- validate(Jwt, Set<String>) - Method in class com.atlassian.asap.core.validator.JwtClaimsValidator
-
Checks the validity of the claims contained in a JWT in a given authentication context.
- validate(String) - Static method in class com.atlassian.asap.core.validator.ValidatedKeyId
-
Validates the given key id and upon successful validation returns a
ValidatedKeyId instance.
- validate(AsapAuth, Optional<String>) - Method in interface com.atlassian.asap.service.api.AsapService
-
Creates a validator and populates it with the provided annotation's settings, then applies it
to the given Authorization header value.
- validate(Optional<String>) - Method in interface com.atlassian.asap.service.api.TokenValidator
-
Perform the validation.
- validate(Optional<String>) - Method in class com.atlassian.asap.service.core.impl.TokenValidatorImpl
-
- ValidatedKeyId - Class in com.atlassian.asap.core.validator
-
Represents a validated key id of the JWT Header.
- ValidationResult - Interface in com.atlassian.asap.service.api
-
The result from evaluating an
Authorization header against a
TokenValidator.
- ValidationResult.Decision - Enum in com.atlassian.asap.service.api
-
The overall decision as to whether or not the request has satisfied the validator's requirements.
- valueOf(String) - Static method in enum com.atlassian.asap.api.AlgorithmType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.atlassian.asap.api.JwsHeader.Header
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.atlassian.asap.api.JwtClaims.RegisteredClaim
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.atlassian.asap.api.SigningAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.atlassian.asap.service.api.TokenValidator.Policy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.atlassian.asap.service.api.ValidationResult.Decision
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.atlassian.asap.api.AlgorithmType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.atlassian.asap.api.JwsHeader.Header
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.atlassian.asap.api.JwtClaims.RegisteredClaim
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.atlassian.asap.api.SigningAlgorithm
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.atlassian.asap.service.api.TokenValidator.Policy
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.atlassian.asap.service.api.ValidationResult.Decision
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VerifiableJwt - Interface in com.atlassian.asap.core.parser
-
A signed JWT that can be verified using its signature and a public key.
- verifySignature(PublicKey) - Method in interface com.atlassian.asap.core.parser.VerifiableJwt
-
Verify the signature of the given Signed Jwt.
- verifySignature(PublicKey) - Method in class com.atlassian.asap.nimbus.parser.NimbusVerifiableJwt
-