A B C D E F G H I J M N O P R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AUD - Static variable in interface org.springframework.security.oauth2.jwt.JwtClaimNames
-
aud- the Audience claim identifies the recipient(s) that the JWT is intended for - audience(Collection<String>) - Method in class org.springframework.security.oauth2.jwt.Jwt.Builder
-
Use this audience in the resulting
Jwt
B
- BadJwtException - Exception in org.springframework.security.oauth2.jwt
-
An exception similar to
BadCredentialsExceptionthat indicates aJwtthat is invalid in some way. - BadJwtException(String) - Constructor for exception org.springframework.security.oauth2.jwt.BadJwtException
- BadJwtException(String, Throwable) - Constructor for exception org.springframework.security.oauth2.jwt.BadJwtException
- build() - Method in class org.springframework.security.oauth2.jwt.Jwt.Builder
-
Build the
Jwt - build() - Method in class org.springframework.security.oauth2.jwt.NimbusJwtDecoder.JwkSetUriJwtDecoderBuilder
-
Build the configured
NimbusJwtDecoder. - build() - Method in class org.springframework.security.oauth2.jwt.NimbusJwtDecoder.PublicKeyJwtDecoderBuilder
-
Build the configured
NimbusJwtDecoder. - build() - Method in class org.springframework.security.oauth2.jwt.NimbusJwtDecoder.SecretKeyJwtDecoderBuilder
-
Build the configured
NimbusJwtDecoder. - build() - Method in class org.springframework.security.oauth2.jwt.NimbusReactiveJwtDecoder.JwkSetUriReactiveJwtDecoderBuilder
-
Build the configured
NimbusReactiveJwtDecoder. - build() - Method in class org.springframework.security.oauth2.jwt.NimbusReactiveJwtDecoder.JwkSourceReactiveJwtDecoderBuilder
-
Build the configured
NimbusReactiveJwtDecoder. - build() - Method in class org.springframework.security.oauth2.jwt.NimbusReactiveJwtDecoder.PublicKeyReactiveJwtDecoderBuilder
-
Build the configured
NimbusReactiveJwtDecoder. - build() - Method in class org.springframework.security.oauth2.jwt.NimbusReactiveJwtDecoder.SecretKeyReactiveJwtDecoderBuilder
-
Build the configured
NimbusReactiveJwtDecoder.
C
- cache(Cache) - Method in class org.springframework.security.oauth2.jwt.NimbusJwtDecoder.JwkSetUriJwtDecoderBuilder
-
Use the given
Cacheto store JWK Set. - claim(String, Object) - Method in class org.springframework.security.oauth2.jwt.Jwt.Builder
-
Use this claim in the resulting
Jwt - claims(Consumer<Map<String, Object>>) - Method in class org.springframework.security.oauth2.jwt.Jwt.Builder
-
Provides access to every
Jwt.Builder.claim(String, Object)declared so far with the possibility to add, replace, or remove. - convert(Map<String, Object>) - Method in class org.springframework.security.oauth2.jwt.MappedJwtClaimSetConverter
- createDecoder(C) - Method in interface org.springframework.security.oauth2.jwt.JwtDecoderFactory
-
Creates a
JwtDecoderusing the supplied "contextual" type. - createDecoder(C) - Method in interface org.springframework.security.oauth2.jwt.ReactiveJwtDecoderFactory
-
Creates a
ReactiveJwtDecoderusing the supplied "contextual" type. - createDefault() - Static method in class org.springframework.security.oauth2.jwt.JwtValidators
-
Create a
JwtValidator that contains all standard validators. - createDefaultWithIssuer(String) - Static method in class org.springframework.security.oauth2.jwt.JwtValidators
-
Create a
JwtValidator that contains all standard validators when an issuer is known.
D
- decode(String) - Method in interface org.springframework.security.oauth2.jwt.JwtDecoder
-
Decodes the JWT from it's compact claims representation format and returns a
Jwt. - decode(String) - Method in class org.springframework.security.oauth2.jwt.NimbusJwtDecoder
-
Decode and validate the JWT from its compact claims representation format
- decode(String) - Method in class org.springframework.security.oauth2.jwt.NimbusJwtDecoderJwkSupport
-
Deprecated.
- decode(String) - Method in class org.springframework.security.oauth2.jwt.NimbusReactiveJwtDecoder
- decode(String) - Method in interface org.springframework.security.oauth2.jwt.ReactiveJwtDecoder
-
Decodes the JWT from it's compact claims representation format and returns a
Jwt.
E
- ES256 - org.springframework.security.oauth2.jose.jws.SignatureAlgorithm
-
ECDSA using P-256 and SHA-256 (Recommended+)
- ES256 - Static variable in interface org.springframework.security.oauth2.jose.jws.JwsAlgorithms
-
ECDSA using P-256 and SHA-256 (Recommended+)
- ES384 - org.springframework.security.oauth2.jose.jws.SignatureAlgorithm
-
ECDSA using P-384 and SHA-384 (Optional)
- ES384 - Static variable in interface org.springframework.security.oauth2.jose.jws.JwsAlgorithms
-
ECDSA using P-384 and SHA-384 (Optional)
- ES512 - org.springframework.security.oauth2.jose.jws.SignatureAlgorithm
-
ECDSA using P-521 and SHA-512 (Optional)
- ES512 - Static variable in interface org.springframework.security.oauth2.jose.jws.JwsAlgorithms
-
ECDSA using P-521 and SHA-512 (Optional)
- EXP - Static variable in interface org.springframework.security.oauth2.jwt.JwtClaimNames
-
exp- the Expiration time claim identifies the expiration time on or after which the JWT MUST NOT be accepted for processing - expiresAt(Instant) - Method in class org.springframework.security.oauth2.jwt.Jwt.Builder
-
Use this expiration in the resulting
Jwt
F
- from(String) - Static method in enum org.springframework.security.oauth2.jose.jws.MacAlgorithm
-
Attempt to resolve the provided algorithm name to a
MacAlgorithm. - from(String) - Static method in enum org.springframework.security.oauth2.jose.jws.SignatureAlgorithm
-
Attempt to resolve the provided algorithm name to a
SignatureAlgorithm. - fromIssuerLocation(String) - Static method in class org.springframework.security.oauth2.jwt.JwtDecoders
-
Creates a
JwtDecoderusing the provided Issuer by querying three different discovery endpoints serially, using the values in the first successful response to initialize. - fromIssuerLocation(String) - Static method in class org.springframework.security.oauth2.jwt.ReactiveJwtDecoders
-
Creates a
ReactiveJwtDecoderusing the provided Issuer by querying three different discovery endpoints serially, using the values in the first successful response to initialize. - fromOidcIssuerLocation(String) - Static method in class org.springframework.security.oauth2.jwt.JwtDecoders
-
Creates a
JwtDecoderusing the provided Issuer by making an OpenID Provider Configuration Request and using the values in the OpenID Provider Configuration Response to initialize theJwtDecoder. - fromOidcIssuerLocation(String) - Static method in class org.springframework.security.oauth2.jwt.ReactiveJwtDecoders
-
Creates a
ReactiveJwtDecoderusing the provided Issuer by making an OpenID Provider Configuration Request and using the values in the OpenID Provider Configuration Response to initialize theReactiveJwtDecoder.
G
- getAudience() - Method in interface org.springframework.security.oauth2.jwt.JwtClaimAccessor
-
Returns the Audience
(aud)claim which identifies the recipient(s) that the JWT is intended for. - getClaims() - Method in class org.springframework.security.oauth2.jwt.Jwt
-
Returns the JWT Claims Set.
- getErrors() - Method in exception org.springframework.security.oauth2.jwt.JwtValidationException
-
Return the list of
OAuth2Errors associated with this exception - getExpiresAt() - Method in interface org.springframework.security.oauth2.jwt.JwtClaimAccessor
-
Returns the Expiration time
(exp)claim which identifies the expiration time on or after which the JWT MUST NOT be accepted for processing. - getHeaders() - Method in class org.springframework.security.oauth2.jwt.Jwt
-
Returns the JOSE header(s).
- getId() - Method in interface org.springframework.security.oauth2.jwt.JwtClaimAccessor
-
Returns the JWT ID
(jti)claim which provides a unique identifier for the JWT. - getIssuedAt() - Method in interface org.springframework.security.oauth2.jwt.JwtClaimAccessor
-
Returns the Issued at
(iat)claim which identifies the time at which the JWT was issued. - getIssuer() - Method in interface org.springframework.security.oauth2.jwt.JwtClaimAccessor
-
Returns the Issuer
(iss)claim which identifies the principal that issued the JWT. - getName() - Method in interface org.springframework.security.oauth2.jose.JwaAlgorithm
-
Returns the algorithm name.
- getName() - Method in enum org.springframework.security.oauth2.jose.jws.MacAlgorithm
-
Returns the algorithm name.
- getName() - Method in enum org.springframework.security.oauth2.jose.jws.SignatureAlgorithm
-
Returns the algorithm name.
- getNotBefore() - Method in interface org.springframework.security.oauth2.jwt.JwtClaimAccessor
-
Returns the Not Before
(nbf)claim which identifies the time before which the JWT MUST NOT be accepted for processing. - getSubject() - Method in interface org.springframework.security.oauth2.jwt.JwtClaimAccessor
-
Returns the Subject
(sub)claim which identifies the principal that is the subject of the JWT.
H
- header(String, Object) - Method in class org.springframework.security.oauth2.jwt.Jwt.Builder
-
Use this header in the resulting
Jwt - headers(Consumer<Map<String, Object>>) - Method in class org.springframework.security.oauth2.jwt.Jwt.Builder
-
Provides access to every
Jwt.Builder.header(String, Object)declared so far with the possibility to add, replace, or remove. - HS256 - org.springframework.security.oauth2.jose.jws.MacAlgorithm
-
HMAC using SHA-256 (Required)
- HS256 - Static variable in interface org.springframework.security.oauth2.jose.jws.JwsAlgorithms
-
HMAC using SHA-256 (Required)
- HS384 - org.springframework.security.oauth2.jose.jws.MacAlgorithm
-
HMAC using SHA-384 (Optional)
- HS384 - Static variable in interface org.springframework.security.oauth2.jose.jws.JwsAlgorithms
-
HMAC using SHA-384 (Optional)
- HS512 - org.springframework.security.oauth2.jose.jws.MacAlgorithm
-
HMAC using SHA-512 (Optional)
- HS512 - Static variable in interface org.springframework.security.oauth2.jose.jws.JwsAlgorithms
-
HMAC using SHA-512 (Optional)
I
- IAT - Static variable in interface org.springframework.security.oauth2.jwt.JwtClaimNames
-
iat- The Issued at claim identifies the time at which the JWT was issued - ISS - Static variable in interface org.springframework.security.oauth2.jwt.JwtClaimNames
-
iss- the Issuer claim identifies the principal that issued the JWT - issuedAt(Instant) - Method in class org.springframework.security.oauth2.jwt.Jwt.Builder
-
Use this issued-at timestamp in the resulting
Jwt - issuer(String) - Method in class org.springframework.security.oauth2.jwt.Jwt.Builder
-
Use this issuer in the resulting
Jwt
J
- jti(String) - Method in class org.springframework.security.oauth2.jwt.Jwt.Builder
-
Use this identifier in the resulting
Jwt - JTI - Static variable in interface org.springframework.security.oauth2.jwt.JwtClaimNames
-
jti- The JWT ID claim provides a unique identifier for the JWT - JwaAlgorithm - Interface in org.springframework.security.oauth2.jose
-
Super interface for cryptographic algorithms defined by the JSON Web Algorithms (JWA) specification and used by JSON Web Signature (JWS) to digitally sign or create a MAC of the contents and JSON Web Encryption (JWE) to encrypt the contents.
- jwsAlgorithm(JwsAlgorithm) - Method in class org.springframework.security.oauth2.jwt.NimbusReactiveJwtDecoder.JwkSourceReactiveJwtDecoderBuilder
-
Use the given signing algorithm.
- jwsAlgorithm(SignatureAlgorithm) - Method in class org.springframework.security.oauth2.jwt.NimbusJwtDecoder.JwkSetUriJwtDecoderBuilder
-
Append the given signing algorithm to the set of algorithms to use.
- jwsAlgorithm(SignatureAlgorithm) - Method in class org.springframework.security.oauth2.jwt.NimbusReactiveJwtDecoder.JwkSetUriReactiveJwtDecoderBuilder
-
Append the given signing algorithm to the set of algorithms to use.
- JwsAlgorithm - Interface in org.springframework.security.oauth2.jose.jws
-
Super interface for cryptographic algorithms defined by the JSON Web Algorithms (JWA) specification and used by JSON Web Signature (JWS) to digitally sign or create a MAC of the contents of the JWS Protected Header and JWS Payload.
- jwsAlgorithms(Consumer<Set<SignatureAlgorithm>>) - Method in class org.springframework.security.oauth2.jwt.NimbusJwtDecoder.JwkSetUriJwtDecoderBuilder
-
Configure the list of algorithms to use with the given
Consumer. - jwsAlgorithms(Consumer<Set<SignatureAlgorithm>>) - Method in class org.springframework.security.oauth2.jwt.NimbusReactiveJwtDecoder.JwkSetUriReactiveJwtDecoderBuilder
-
Configure the list of algorithms to use with the given
Consumer. - JwsAlgorithms - Interface in org.springframework.security.oauth2.jose.jws
-
The cryptographic algorithms defined by the JSON Web Algorithms (JWA) specification and used by JSON Web Signature (JWS) to digitally sign or create a MAC of the contents of the JWS Protected Header and JWS Payload.
- Jwt - Class in org.springframework.security.oauth2.jwt
-
An implementation of an
AbstractOAuth2Tokenrepresenting a JSON Web Token (JWT). - Jwt(String, Instant, Instant, Map<String, Object>, Map<String, Object>) - Constructor for class org.springframework.security.oauth2.jwt.Jwt
-
Constructs a
Jwtusing the provided parameters. - Jwt.Builder - Class in org.springframework.security.oauth2.jwt
-
Helps configure a
Jwt - JwtClaimAccessor - Interface in org.springframework.security.oauth2.jwt
-
A
ClaimAccessorfor the "claims" that may be contained in the JSON object JWT Claims Set of a JSON Web Token (JWT). - JwtClaimNames - Interface in org.springframework.security.oauth2.jwt
-
The Registered Claim Names defined by the JSON Web Token (JWT) specification that may be contained in the JSON object JWT Claims Set.
- JwtClaimValidator<T> - Class in org.springframework.security.oauth2.jwt
-
Validates a claim in a
Jwtagainst a providedPredicate - JwtClaimValidator(String, Predicate<T>) - Constructor for class org.springframework.security.oauth2.jwt.JwtClaimValidator
-
Constructs a
JwtClaimValidatorusing the provided parameters - JwtDecoder - Interface in org.springframework.security.oauth2.jwt
-
Implementations of this interface are responsible for "decoding" a JSON Web Token (JWT) from it's compact claims representation format to a
Jwt. - JwtDecoderFactory<C> - Interface in org.springframework.security.oauth2.jwt
-
A factory for
JwtDecoder(s). - JwtDecoders - Class in org.springframework.security.oauth2.jwt
-
Allows creating a
JwtDecoderfrom an OpenID Provider Configuration or Authorization Server Metadata Request based on provided issuer and method invoked. - JwtException - Exception in org.springframework.security.oauth2.jwt
-
Base exception for all JSON Web Token (JWT) related errors.
- JwtException(String) - Constructor for exception org.springframework.security.oauth2.jwt.JwtException
-
Constructs a
JwtExceptionusing the provided parameters. - JwtException(String, Throwable) - Constructor for exception org.springframework.security.oauth2.jwt.JwtException
-
Constructs a
JwtExceptionusing the provided parameters. - JwtIssuerValidator - Class in org.springframework.security.oauth2.jwt
-
Validates the "iss" claim in a
Jwt, that is matches a configured value - JwtIssuerValidator(String) - Constructor for class org.springframework.security.oauth2.jwt.JwtIssuerValidator
-
Constructs a
JwtIssuerValidatorusing the provided parameters - jwtProcessorCustomizer(Consumer<ConfigurableJWTProcessor<JWKSecurityContext>>) - Method in class org.springframework.security.oauth2.jwt.NimbusReactiveJwtDecoder.JwkSetUriReactiveJwtDecoderBuilder
-
Use the given
Consumerto customize theConfigurableJWTProcessorbefore passing it to the buildNimbusReactiveJwtDecoder. - jwtProcessorCustomizer(Consumer<ConfigurableJWTProcessor<JWKSecurityContext>>) - Method in class org.springframework.security.oauth2.jwt.NimbusReactiveJwtDecoder.JwkSourceReactiveJwtDecoderBuilder
-
Use the given
Consumerto customize theConfigurableJWTProcessorbefore passing it to the buildNimbusReactiveJwtDecoder. - jwtProcessorCustomizer(Consumer<ConfigurableJWTProcessor<SecurityContext>>) - Method in class org.springframework.security.oauth2.jwt.NimbusJwtDecoder.JwkSetUriJwtDecoderBuilder
-
Use the given
Consumerto customize theConfigurableJWTProcessorbefore passing it to the buildNimbusJwtDecoder. - jwtProcessorCustomizer(Consumer<ConfigurableJWTProcessor<SecurityContext>>) - Method in class org.springframework.security.oauth2.jwt.NimbusJwtDecoder.PublicKeyJwtDecoderBuilder
-
Use the given
Consumerto customize theConfigurableJWTProcessorbefore passing it to the buildNimbusJwtDecoder. - jwtProcessorCustomizer(Consumer<ConfigurableJWTProcessor<SecurityContext>>) - Method in class org.springframework.security.oauth2.jwt.NimbusJwtDecoder.SecretKeyJwtDecoderBuilder
-
Use the given
Consumerto customize theConfigurableJWTProcessorbefore passing it to the buildNimbusJwtDecoder. - jwtProcessorCustomizer(Consumer<ConfigurableJWTProcessor<SecurityContext>>) - Method in class org.springframework.security.oauth2.jwt.NimbusReactiveJwtDecoder.PublicKeyReactiveJwtDecoderBuilder
-
Use the given
Consumerto customize theConfigurableJWTProcessorbefore passing it to the buildNimbusReactiveJwtDecoder. - jwtProcessorCustomizer(Consumer<ConfigurableJWTProcessor<SecurityContext>>) - Method in class org.springframework.security.oauth2.jwt.NimbusReactiveJwtDecoder.SecretKeyReactiveJwtDecoderBuilder
-
Use the given
Consumerto customize theConfigurableJWTProcessorbefore passing it to the buildNimbusReactiveJwtDecoder. - JwtTimestampValidator - Class in org.springframework.security.oauth2.jwt
-
An implementation of
OAuth2TokenValidatorfor verifying claims in a Jwt-based access token - JwtTimestampValidator() - Constructor for class org.springframework.security.oauth2.jwt.JwtTimestampValidator
-
A basic instance with no custom verification and the default max clock skew
- JwtTimestampValidator(Duration) - Constructor for class org.springframework.security.oauth2.jwt.JwtTimestampValidator
- JwtValidationException - Exception in org.springframework.security.oauth2.jwt
-
An exception that results from an unsuccessful
OAuth2TokenValidatorResult - JwtValidationException(String, Collection<OAuth2Error>) - Constructor for exception org.springframework.security.oauth2.jwt.JwtValidationException
-
Constructs a
JwtValidationExceptionusing the provided parameters While eachOAuth2Errordoes contain an error description, this constructor can take an overarching description that encapsulates the composition of failures That said, it is appropriate to pass one of the messages from the error list in as the exception description, for example: - JwtValidators - Class in org.springframework.security.oauth2.jwt
-
Provides factory methods for creating
OAuth2TokenValidator<Jwt>
M
- macAlgorithm(MacAlgorithm) - Method in class org.springframework.security.oauth2.jwt.NimbusJwtDecoder.SecretKeyJwtDecoderBuilder
-
Use the given algorithm when generating the MAC.
- macAlgorithm(MacAlgorithm) - Method in class org.springframework.security.oauth2.jwt.NimbusReactiveJwtDecoder.SecretKeyReactiveJwtDecoderBuilder
-
Use the given algorithm when generating the MAC.
- MacAlgorithm - Enum in org.springframework.security.oauth2.jose.jws
-
An enumeration of the cryptographic algorithms defined by the JSON Web Algorithms (JWA) specification and used by JSON Web Signature (JWS) to create a MAC of the contents of the JWS Protected Header and JWS Payload.
- MappedJwtClaimSetConverter - Class in org.springframework.security.oauth2.jwt
-
Converts a JWT claim set, claim by claim.
- MappedJwtClaimSetConverter(Map<String, Converter<Object, ?>>) - Constructor for class org.springframework.security.oauth2.jwt.MappedJwtClaimSetConverter
-
Constructs a
MappedJwtClaimSetConverterwith the provided arguments This will completely replace any set of default converters.
N
- NBF - Static variable in interface org.springframework.security.oauth2.jwt.JwtClaimNames
-
nbf- the Not Before claim identifies the time before which the JWT MUST NOT be accepted for processing - NimbusJwtDecoder - Class in org.springframework.security.oauth2.jwt
-
A low-level Nimbus implementation of
JwtDecoderwhich takes a raw Nimbus configuration. - NimbusJwtDecoder(JWTProcessor<SecurityContext>) - Constructor for class org.springframework.security.oauth2.jwt.NimbusJwtDecoder
-
Configures a
NimbusJwtDecoderwith the given parameters - NimbusJwtDecoder.JwkSetUriJwtDecoderBuilder - Class in org.springframework.security.oauth2.jwt
-
A builder for creating
NimbusJwtDecoderinstances based on a JWK Set uri. - NimbusJwtDecoder.PublicKeyJwtDecoderBuilder - Class in org.springframework.security.oauth2.jwt
-
A builder for creating
NimbusJwtDecoderinstances based on a public key. - NimbusJwtDecoder.SecretKeyJwtDecoderBuilder - Class in org.springframework.security.oauth2.jwt
-
A builder for creating
NimbusJwtDecoderinstances based on aSecretKey. - NimbusJwtDecoderJwkSupport - Class in org.springframework.security.oauth2.jwt
-
Deprecated.Use
NimbusJwtDecoderorJwtDecodersinstead - NimbusJwtDecoderJwkSupport(String) - Constructor for class org.springframework.security.oauth2.jwt.NimbusJwtDecoderJwkSupport
-
Deprecated.Constructs a
NimbusJwtDecoderJwkSupportusing the provided parameters. - NimbusJwtDecoderJwkSupport(String, String) - Constructor for class org.springframework.security.oauth2.jwt.NimbusJwtDecoderJwkSupport
-
Deprecated.Constructs a
NimbusJwtDecoderJwkSupportusing the provided parameters. - NimbusReactiveJwtDecoder - Class in org.springframework.security.oauth2.jwt
-
An implementation of a
ReactiveJwtDecoderthat "decodes" a JSON Web Token (JWT) and additionally verifies it's digital signature if the JWT is a JSON Web Signature (JWS). - NimbusReactiveJwtDecoder(String) - Constructor for class org.springframework.security.oauth2.jwt.NimbusReactiveJwtDecoder
-
Constructs a
NimbusReactiveJwtDecoderusing the provided parameters. - NimbusReactiveJwtDecoder(RSAPublicKey) - Constructor for class org.springframework.security.oauth2.jwt.NimbusReactiveJwtDecoder
-
Constructs a
NimbusReactiveJwtDecoderusing the provided parameters. - NimbusReactiveJwtDecoder(Converter<JWT, Mono<JWTClaimsSet>>) - Constructor for class org.springframework.security.oauth2.jwt.NimbusReactiveJwtDecoder
-
Constructs a
NimbusReactiveJwtDecoderusing the provided parameters. - NimbusReactiveJwtDecoder.JwkSetUriReactiveJwtDecoderBuilder - Class in org.springframework.security.oauth2.jwt
-
A builder for creating
NimbusReactiveJwtDecoderinstances based on a JWK Set uri. - NimbusReactiveJwtDecoder.JwkSourceReactiveJwtDecoderBuilder - Class in org.springframework.security.oauth2.jwt
-
A builder for creating
NimbusReactiveJwtDecoderinstances. - NimbusReactiveJwtDecoder.PublicKeyReactiveJwtDecoderBuilder - Class in org.springframework.security.oauth2.jwt
-
A builder for creating
NimbusReactiveJwtDecoderinstances based on a public key. - NimbusReactiveJwtDecoder.SecretKeyReactiveJwtDecoderBuilder - Class in org.springframework.security.oauth2.jwt
-
A builder for creating
NimbusReactiveJwtDecoderinstances based on aSecretKey. - notBefore(Instant) - Method in class org.springframework.security.oauth2.jwt.Jwt.Builder
-
Use this not-before timestamp in the resulting
Jwt
O
- org.springframework.security.oauth2.jose - package org.springframework.security.oauth2.jose
- org.springframework.security.oauth2.jose.jws - package org.springframework.security.oauth2.jose.jws
-
Core classes and interfaces providing support for JSON Web Signature (JWS).
- org.springframework.security.oauth2.jwt - package org.springframework.security.oauth2.jwt
-
Core classes and interfaces providing support for JSON Web Token (JWT).
P
- PS256 - org.springframework.security.oauth2.jose.jws.SignatureAlgorithm
-
RSASSA-PSS using SHA-256 and MGF1 with SHA-256 (Optional)
- PS256 - Static variable in interface org.springframework.security.oauth2.jose.jws.JwsAlgorithms
-
RSASSA-PSS using SHA-256 and MGF1 with SHA-256 (Optional)
- PS384 - org.springframework.security.oauth2.jose.jws.SignatureAlgorithm
-
RSASSA-PSS using SHA-384 and MGF1 with SHA-384 (Optional)
- PS384 - Static variable in interface org.springframework.security.oauth2.jose.jws.JwsAlgorithms
-
RSASSA-PSS using SHA-384 and MGF1 with SHA-384 (Optional)
- PS512 - org.springframework.security.oauth2.jose.jws.SignatureAlgorithm
-
RSASSA-PSS using SHA-512 and MGF1 with SHA-512 (Optional)
- PS512 - Static variable in interface org.springframework.security.oauth2.jose.jws.JwsAlgorithms
-
RSASSA-PSS using SHA-512 and MGF1 with SHA-512 (Optional)
R
- ReactiveJwtDecoder - Interface in org.springframework.security.oauth2.jwt
-
Implementations of this interface are responsible for "decoding" a JSON Web Token (JWT) from it's compact claims representation format to a
Jwt. - ReactiveJwtDecoderFactory<C> - Interface in org.springframework.security.oauth2.jwt
-
A factory for
ReactiveJwtDecoder(s). - ReactiveJwtDecoders - Class in org.springframework.security.oauth2.jwt
-
Allows creating a
ReactiveJwtDecoderfrom an OpenID Provider Configuration or Authorization Server Metadata Request based on provided issuer and method invoked. - restOperations(RestOperations) - Method in class org.springframework.security.oauth2.jwt.NimbusJwtDecoder.JwkSetUriJwtDecoderBuilder
- RS256 - org.springframework.security.oauth2.jose.jws.SignatureAlgorithm
-
RSASSA-PKCS1-v1_5 using SHA-256 (Recommended)
- RS256 - Static variable in interface org.springframework.security.oauth2.jose.jws.JwsAlgorithms
-
RSASSA-PKCS1-v1_5 using SHA-256 (Recommended)
- RS384 - org.springframework.security.oauth2.jose.jws.SignatureAlgorithm
-
RSASSA-PKCS1-v1_5 using SHA-384 (Optional)
- RS384 - Static variable in interface org.springframework.security.oauth2.jose.jws.JwsAlgorithms
-
RSASSA-PKCS1-v1_5 using SHA-384 (Optional)
- RS512 - org.springframework.security.oauth2.jose.jws.SignatureAlgorithm
-
RSASSA-PKCS1-v1_5 using SHA-512 (Optional)
- RS512 - Static variable in interface org.springframework.security.oauth2.jose.jws.JwsAlgorithms
-
RSASSA-PKCS1-v1_5 using SHA-512 (Optional)
S
- setClaimSetConverter(Converter<Map<String, Object>, Map<String, Object>>) - Method in class org.springframework.security.oauth2.jwt.NimbusJwtDecoder
-
Use the following
Converterfor manipulating the JWT's claim set - setClaimSetConverter(Converter<Map<String, Object>, Map<String, Object>>) - Method in class org.springframework.security.oauth2.jwt.NimbusJwtDecoderJwkSupport
-
Deprecated.Use the following
Converterfor manipulating the JWT's claim set - setClaimSetConverter(Converter<Map<String, Object>, Map<String, Object>>) - Method in class org.springframework.security.oauth2.jwt.NimbusReactiveJwtDecoder
-
Use the following
Converterfor manipulating the JWT's claim set - setClock(Clock) - Method in class org.springframework.security.oauth2.jwt.JwtTimestampValidator
-
Use this
ClockwithInstant.now()for assessing timestamp validity - setJwtValidator(OAuth2TokenValidator<Jwt>) - Method in class org.springframework.security.oauth2.jwt.NimbusJwtDecoder
-
Use this
JwtValidator - setJwtValidator(OAuth2TokenValidator<Jwt>) - Method in class org.springframework.security.oauth2.jwt.NimbusJwtDecoderJwkSupport
-
Deprecated.Use this
JwtValidator - setJwtValidator(OAuth2TokenValidator<Jwt>) - Method in class org.springframework.security.oauth2.jwt.NimbusReactiveJwtDecoder
-
Use the provided
OAuth2TokenValidatorto validate incomingJwts. - setRestOperations(RestOperations) - Method in class org.springframework.security.oauth2.jwt.NimbusJwtDecoderJwkSupport
-
Deprecated.Sets the
RestOperationsused when requesting the JSON Web Key (JWK) Set. - signatureAlgorithm(SignatureAlgorithm) - Method in class org.springframework.security.oauth2.jwt.NimbusJwtDecoder.PublicKeyJwtDecoderBuilder
-
Use the given signing algorithm.
- signatureAlgorithm(SignatureAlgorithm) - Method in class org.springframework.security.oauth2.jwt.NimbusReactiveJwtDecoder.PublicKeyReactiveJwtDecoderBuilder
-
Use the given signing algorithm.
- SignatureAlgorithm - Enum in org.springframework.security.oauth2.jose.jws
-
An enumeration of the cryptographic algorithms defined by the JSON Web Algorithms (JWA) specification and used by JSON Web Signature (JWS) to digitally sign the contents of the JWS Protected Header and JWS Payload.
- SUB - Static variable in interface org.springframework.security.oauth2.jwt.JwtClaimNames
-
sub- the Subject claim identifies the principal that is the subject of the JWT - subject(String) - Method in class org.springframework.security.oauth2.jwt.Jwt.Builder
-
Use this subject in the resulting
Jwt
T
- tokenValue(String) - Method in class org.springframework.security.oauth2.jwt.Jwt.Builder
-
Use this token value in the resulting
Jwt
V
- validate(Jwt) - Method in class org.springframework.security.oauth2.jwt.JwtClaimValidator
- validate(Jwt) - Method in class org.springframework.security.oauth2.jwt.JwtIssuerValidator
- validate(Jwt) - Method in class org.springframework.security.oauth2.jwt.JwtTimestampValidator
- valueOf(String) - Static method in enum org.springframework.security.oauth2.jose.jws.MacAlgorithm
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.springframework.security.oauth2.jose.jws.SignatureAlgorithm
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.springframework.security.oauth2.jose.jws.MacAlgorithm
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.springframework.security.oauth2.jose.jws.SignatureAlgorithm
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- webClient(WebClient) - Method in class org.springframework.security.oauth2.jwt.NimbusReactiveJwtDecoder.JwkSetUriReactiveJwtDecoderBuilder
- withDefaults(Map<String, Converter<Object, ?>>) - Static method in class org.springframework.security.oauth2.jwt.MappedJwtClaimSetConverter
-
Construct a
MappedJwtClaimSetConverter, overriding individual claim converters with the providedMapofConverters. - withJwkSetUri(String) - Static method in class org.springframework.security.oauth2.jwt.NimbusJwtDecoder
-
Use the given JWK Set uri.
- withJwkSetUri(String) - Static method in class org.springframework.security.oauth2.jwt.NimbusReactiveJwtDecoder
-
Use the given JWK Set uri to validate JWTs.
- withJwkSource(Function<SignedJWT, Flux<JWK>>) - Static method in class org.springframework.security.oauth2.jwt.NimbusReactiveJwtDecoder
-
Use the given
Functionto validate JWTs - withPublicKey(RSAPublicKey) - Static method in class org.springframework.security.oauth2.jwt.NimbusJwtDecoder
-
Use the given public key to validate JWTs
- withPublicKey(RSAPublicKey) - Static method in class org.springframework.security.oauth2.jwt.NimbusReactiveJwtDecoder
-
Use the given public key to validate JWTs
- withSecretKey(SecretKey) - Static method in class org.springframework.security.oauth2.jwt.NimbusJwtDecoder
-
Use the given
SecretKeyto validate the MAC on a JSON Web Signature (JWS). - withSecretKey(SecretKey) - Static method in class org.springframework.security.oauth2.jwt.NimbusReactiveJwtDecoder
-
Use the given
SecretKeyto validate the MAC on a JSON Web Signature (JWS). - withTokenValue(String) - Static method in class org.springframework.security.oauth2.jwt.Jwt
-
Return a
Jwt.Builder
All Classes All Packages