- generateEcKey() - Static method in class org.springframework.security.crypto.keys.KeyGeneratorUtils
-
- generateRsaKey() - Static method in class org.springframework.security.crypto.keys.KeyGeneratorUtils
-
- generateSecretKey() - Static method in class org.springframework.security.crypto.keys.KeyGeneratorUtils
-
- getAccessToken() - Method in class org.springframework.security.oauth2.server.authorization.authentication.OAuth2AccessTokenAuthenticationToken
Returns the access token
.
- getAccessToken() - Method in class org.springframework.security.oauth2.server.authorization.OAuth2Authorization
Returns the access token
credential.
- getActivatedOn() - Method in class org.springframework.security.crypto.keys.ManagedKey
Returns the time when this key was activated.
- getAlgorithm() - Method in class org.springframework.security.crypto.keys.ManagedKey
Returns the key algorithm.
- getAttribute(String) - Method in class org.springframework.security.oauth2.server.authorization.OAuth2Authorization
Returns the value of an attribute associated to the authorization.
- getAttributes() - Method in class org.springframework.security.oauth2.server.authorization.OAuth2Authorization
Returns the attribute(s) associated to the authorization.
- getAuthorizationGrantTypes() - Method in class org.springframework.security.oauth2.server.authorization.client.RegisteredClient
Returns the authorization grant type(s)
that the client may use.
- getClaims() - Method in class org.springframework.security.oauth2.jwt.JwtClaimsSet
-
- getClientAuthenticationMethods() - Method in class org.springframework.security.oauth2.server.authorization.client.RegisteredClient
Returns the authentication method(s)
used when authenticating the client with the authorization server.
- getClientId() - Method in class org.springframework.security.oauth2.server.authorization.client.RegisteredClient
Returns the client identifier.
- getClientSecret() - Method in class org.springframework.security.oauth2.server.authorization.client.RegisteredClient
Returns the client secret.
- getCode() - Method in class org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthorizationCodeAuthenticationToken
Returns the authorization code.
- getContentType() - Method in class org.springframework.security.oauth2.jose.JoseHeader
Returns the content type header that declares the media type of the secured content (the payload).
- getCredentials() - Method in class org.springframework.security.oauth2.server.authorization.authentication.OAuth2AccessTokenAuthenticationToken
-
- getCredentials() - Method in class org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthorizationCodeAuthenticationToken
-
- getCredentials() - Method in class org.springframework.security.oauth2.server.authorization.authentication.OAuth2ClientAuthenticationToken
-
- getCredentials() - Method in class org.springframework.security.oauth2.server.authorization.authentication.OAuth2ClientCredentialsAuthenticationToken
-
- getCritical() - Method in class org.springframework.security.oauth2.jose.JoseHeader
Returns the critical headers that indicates which extensions to the JWS/JWE/JWA specifications are being used that MUST be understood and processed.
- getDeactivatedOn() - Method in class org.springframework.security.crypto.keys.ManagedKey
Returns the time when this key was deactivated, null
if still active.
- getEndpointMatchers() - Method in class org.springframework.security.config.annotation.web.configurers.oauth2.server.authorization.OAuth2AuthorizationServerConfigurer
Returns a List
of RequestMatcher
's for the authorization server endpoints.
- getHeader(String) - Method in class org.springframework.security.oauth2.jose.JoseHeader
Returns the header value.
- getHeaders() - Method in class org.springframework.security.oauth2.jose.JoseHeader
Returns the headers.
- getId() - Method in class org.springframework.security.oauth2.server.authorization.client.RegisteredClient
Returns the identifier for the registration.
- getJwk() - Method in class org.springframework.security.oauth2.jose.JoseHeader
Returns the JSON Web Key which is the public key that corresponds to the key used to digitally sign the JWS or encrypt the JWE.
- getJwkSetUri() - Method in class org.springframework.security.oauth2.jose.JoseHeader
Returns the JWK Set URL that refers to the resource of a set of JSON-encoded public keys, one of which corresponds to the key used to digitally sign the JWS or encrypt the JWE.
- getJwsAlgorithm() - Method in class org.springframework.security.oauth2.jose.JoseHeader
Returns the JWS algorithm used to digitally sign the JWS.
- getKey() - Method in class org.springframework.security.crypto.keys.ManagedKey
Returns a type of java.security.Key
, e.g.
- getKeyId() - Method in class org.springframework.security.crypto.keys.ManagedKey
Returns the key ID.
- getKeyId() - Method in class org.springframework.security.oauth2.jose.JoseHeader
Returns the key ID that is a hint indicating which key was used to secure the JWS or JWE.
- getKeys() - Method in interface org.springframework.security.crypto.keys.KeyManager
- getKeys() - Method in class org.springframework.security.crypto.keys.StaticKeyGeneratingKeyManager
-
- getParameters(HttpServletRequest) - Static method in class org.springframework.security.oauth2.server.authorization.web.OAuth2EndpointUtils
-
- getPrincipal() - Method in class org.springframework.security.oauth2.server.authorization.authentication.OAuth2AccessTokenAuthenticationToken
-
- getPrincipal() - Method in class org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthorizationCodeAuthenticationToken
-
- getPrincipal() - Method in class org.springframework.security.oauth2.server.authorization.authentication.OAuth2ClientAuthenticationToken
-
- getPrincipal() - Method in class org.springframework.security.oauth2.server.authorization.authentication.OAuth2ClientCredentialsAuthenticationToken
-
- getPrincipalName() - Method in class org.springframework.security.oauth2.server.authorization.OAuth2Authorization
Returns the resource owner's Principal
name.
- getPublicKey() - Method in class org.springframework.security.crypto.keys.ManagedKey
Returns the java.security.PublicKey
if this is a asymmetric key, null
otherwise.
- getRedirectUri() - Method in class org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthorizationCodeAuthenticationToken
Returns the redirect uri.
- getRedirectUris() - Method in class org.springframework.security.oauth2.server.authorization.client.RegisteredClient
Returns the redirect URI(s) that the client may use in redirect-based flows.
- getRegisteredClient() - Method in class org.springframework.security.oauth2.server.authorization.authentication.OAuth2AccessTokenAuthenticationToken
- getRegisteredClient() - Method in class org.springframework.security.oauth2.server.authorization.authentication.OAuth2ClientAuthenticationToken
- getRegisteredClientId() - Method in class org.springframework.security.oauth2.server.authorization.OAuth2Authorization
- getScopes() - Method in class org.springframework.security.oauth2.server.authorization.authentication.OAuth2ClientCredentialsAuthenticationToken
Returns the requested scope(s).
- getScopes() - Method in class org.springframework.security.oauth2.server.authorization.client.RegisteredClient
Returns the scope(s) used by the client.
- getType() - Method in class org.springframework.security.oauth2.jose.JoseHeader
Returns the type header that declares the media type of the JWS/JWE.
- getValue() - Method in class org.springframework.security.oauth2.server.authorization.TokenType
-
- getVersion() - Static method in class org.springframework.security.core.SpringSecurityCoreVersion2
-
- getX509CertificateChain() - Method in class org.springframework.security.oauth2.jose.JoseHeader
Returns the X.509 certificate chain that contains the X.509 public key certificate or certificate chain corresponding to the key used to digitally sign the JWS or encrypt the JWE.
- getX509SHA1Thumbprint() - Method in class org.springframework.security.oauth2.jose.JoseHeader
Returns the X.509 certificate SHA-1 thumbprint that is a base64url-encoded SHA-1 thumbprint (a.k.a.
- getX509SHA256Thumbprint() - Method in class org.springframework.security.oauth2.jose.JoseHeader
Returns the X.509 certificate SHA-256 thumbprint that is a base64url-encoded SHA-256 thumbprint (a.k.a.
- getX509Uri() - Method in class org.springframework.security.oauth2.jose.JoseHeader
Returns the X.509 URL that refers to the resource for the X.509 public key certificate or certificate chain corresponding to the key used to digitally sign the JWS or encrypt the JWE.
- JKU - Static variable in interface org.springframework.security.oauth2.jose.JoseHeaderNames
jku
- the JWK Set URL header is a URI that refers to a resource for a set of JSON-encoded public keys, one of which corresponds to the key used to digitally sign a JWS or encrypt a JWE
- JoseHeader - Class in org.springframework.security.oauth2.jose
The JOSE header is a JSON object representing the header parameters of a JSON Web Token, whether the JWT is a JWS or JWE, that describe the cryptographic operations applied to the JWT and optionally, additional properties of the JWT.
- JoseHeader.Builder - Class in org.springframework.security.oauth2.jose
- JoseHeaderNames - Interface in org.springframework.security.oauth2.jose
The Registered Header Parameter Names defined by the JSON Web Token (JWT), JSON Web Signature (JWS) and JSON Web Encryption (JWE) specifications that may be contained in the JOSE Header of a JWT.
- jwk(Map<String, Object>) - Method in class org.springframework.security.oauth2.jose.JoseHeader.Builder
Sets the JSON Web Key which is the public key that corresponds to the key used to digitally sign the JWS or encrypt the JWE.
- JWK - Static variable in interface org.springframework.security.oauth2.jose.JoseHeaderNames
jwk
- the JSON Web Key header is the public key that corresponds to the key used to digitally sign a JWS or encrypt a JWE
- JwkSetEndpointFilter - Class in org.springframework.security.oauth2.server.authorization.web
A Filter
that processes JWK Set requests.
- JwkSetEndpointFilter(KeyManager) - Constructor for class org.springframework.security.oauth2.server.authorization.web.JwkSetEndpointFilter
Constructs a JwkSetEndpointFilter
using the provided parameters.
- JwkSetEndpointFilter(KeyManager, String) - Constructor for class org.springframework.security.oauth2.server.authorization.web.JwkSetEndpointFilter
Constructs a JwkSetEndpointFilter
using the provided parameters.
- jwkSetUri(String) - Method in class org.springframework.security.oauth2.jose.JoseHeader.Builder
Sets the JWK Set URL that refers to the resource of a set of JSON-encoded public keys, one of which corresponds to the key used to digitally sign the JWS or encrypt the JWE.
- JwtClaimsSet - Class in org.springframework.security.oauth2.jwt
The JWT
Claims Set is a JSON object representing the claims conveyed by a JSON Web Token.
- JwtClaimsSet.Builder - Class in org.springframework.security.oauth2.jwt
- JwtEncoder - Interface in org.springframework.security.oauth2.jwt
Implementations of this interface are responsible for encoding a JSON Web Token (JWT) to it's compact claims representation format.
- JwtEncodingException - Class in org.springframework.security.oauth2.jwt
This exception is thrown when an error occurs while attempting to encode a JSON Web Token (JWT).
- JwtEncodingException(String) - Constructor for class org.springframework.security.oauth2.jwt.JwtEncodingException
Constructs a JwtEncodingException
using the provided parameters.
- JwtEncodingException(String, Throwable) - Constructor for class org.springframework.security.oauth2.jwt.JwtEncodingException
Constructs a JwtEncodingException
using the provided parameters.
- OAuth2AccessTokenAuthenticationToken - Class in org.springframework.security.oauth2.server.authorization.authentication
An Authentication
implementation used when issuing an OAuth 2.0 Access Token.
- OAuth2AccessTokenAuthenticationToken(RegisteredClient, Authentication, OAuth2AccessToken) - Constructor for class org.springframework.security.oauth2.server.authorization.authentication.OAuth2AccessTokenAuthenticationToken
Constructs an OAuth2AccessTokenAuthenticationToken
using the provided parameters.
- OAuth2Authorization - Class in org.springframework.security.oauth2.server.authorization
A representation of an OAuth 2.0 Authorization, which holds state related to the authorization granted to the
client
by the
resource owner
.
- OAuth2Authorization() - Constructor for class org.springframework.security.oauth2.server.authorization.OAuth2Authorization
-
- OAuth2Authorization.Builder - Class in org.springframework.security.oauth2.server.authorization
- OAuth2AuthorizationAttributeNames - Interface in org.springframework.security.oauth2.server.authorization
- OAuth2AuthorizationCodeAuthenticationProvider - Class in org.springframework.security.oauth2.server.authorization.authentication
An AuthenticationProvider
implementation for the OAuth 2.0 Authorization Code Grant.
- OAuth2AuthorizationCodeAuthenticationProvider(RegisteredClientRepository, OAuth2AuthorizationService, JwtEncoder) - Constructor for class org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthorizationCodeAuthenticationProvider
Constructs an OAuth2AuthorizationCodeAuthenticationProvider
using the provided parameters.
- OAuth2AuthorizationCodeAuthenticationToken - Class in org.springframework.security.oauth2.server.authorization.authentication
An Authentication
implementation used for the OAuth 2.0 Authorization Code Grant.
- OAuth2AuthorizationCodeAuthenticationToken(String, Authentication, String) - Constructor for class org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthorizationCodeAuthenticationToken
Constructs an OAuth2AuthorizationCodeAuthenticationToken
using the provided parameters.
- OAuth2AuthorizationEndpointFilter - Class in org.springframework.security.oauth2.server.authorization.web
A Filter
for the OAuth 2.0 Authorization Code Grant, which handles the processing of the OAuth 2.0 Authorization Request.
- OAuth2AuthorizationEndpointFilter(RegisteredClientRepository, OAuth2AuthorizationService) - Constructor for class org.springframework.security.oauth2.server.authorization.web.OAuth2AuthorizationEndpointFilter
Constructs an OAuth2AuthorizationEndpointFilter
using the provided parameters.
- OAuth2AuthorizationEndpointFilter(RegisteredClientRepository, OAuth2AuthorizationService, String) - Constructor for class org.springframework.security.oauth2.server.authorization.web.OAuth2AuthorizationEndpointFilter
Constructs an OAuth2AuthorizationEndpointFilter
using the provided parameters.
- OAuth2AuthorizationServerConfiguration - Class in org.springframework.security.config.annotation.web.configuration
Configuration
for OAuth 2.0 Authorization Server support.
- OAuth2AuthorizationServerConfiguration() - Constructor for class org.springframework.security.config.annotation.web.configuration.OAuth2AuthorizationServerConfiguration
-
- OAuth2AuthorizationServerConfigurer<B extends <any>> - Class in org.springframework.security.config.annotation.web.configurers.oauth2.server.authorization
An AbstractHttpConfigurer
for OAuth 2.0 Authorization Server support.
- OAuth2AuthorizationServerConfigurer() - Constructor for class org.springframework.security.config.annotation.web.configurers.oauth2.server.authorization.OAuth2AuthorizationServerConfigurer
-
- OAuth2AuthorizationServerSecurity - Class in org.springframework.security.config.annotation.web.configuration
WebSecurityConfigurerAdapter
providing default security configuration for OAuth 2.0 Authorization Server.
- OAuth2AuthorizationServerSecurity() - Constructor for class org.springframework.security.config.annotation.web.configuration.OAuth2AuthorizationServerSecurity
-
- OAuth2AuthorizationService - Interface in org.springframework.security.oauth2.server.authorization
- OAuth2ClientAuthenticationFilter - Class in org.springframework.security.oauth2.server.authorization.web
A Filter
that processes an authentication request for an OAuth 2.0 Client.
- OAuth2ClientAuthenticationFilter(AuthenticationManager, RequestMatcher) - Constructor for class org.springframework.security.oauth2.server.authorization.web.OAuth2ClientAuthenticationFilter
Constructs an OAuth2ClientAuthenticationFilter
using the provided parameters.
- OAuth2ClientAuthenticationProvider - Class in org.springframework.security.oauth2.server.authorization.authentication
- OAuth2ClientAuthenticationProvider(RegisteredClientRepository) - Constructor for class org.springframework.security.oauth2.server.authorization.authentication.OAuth2ClientAuthenticationProvider
Constructs an OAuth2ClientAuthenticationProvider
using the provided parameters.
- OAuth2ClientAuthenticationToken - Class in org.springframework.security.oauth2.server.authorization.authentication
An Authentication
implementation used for OAuth 2.0 Client Authentication.
- OAuth2ClientAuthenticationToken(String, String) - Constructor for class org.springframework.security.oauth2.server.authorization.authentication.OAuth2ClientAuthenticationToken
Constructs an OAuth2ClientAuthenticationToken
using the provided parameters.
- OAuth2ClientAuthenticationToken(RegisteredClient) - Constructor for class org.springframework.security.oauth2.server.authorization.authentication.OAuth2ClientAuthenticationToken
Constructs an OAuth2ClientAuthenticationToken
using the provided parameters.
- OAuth2ClientCredentialsAuthenticationProvider - Class in org.springframework.security.oauth2.server.authorization.authentication
An AuthenticationProvider
implementation for the OAuth 2.0 Client Credentials Grant.
- OAuth2ClientCredentialsAuthenticationProvider(OAuth2AuthorizationService, JwtEncoder) - Constructor for class org.springframework.security.oauth2.server.authorization.authentication.OAuth2ClientCredentialsAuthenticationProvider
Constructs an OAuth2ClientCredentialsAuthenticationProvider
using the provided parameters.
- OAuth2ClientCredentialsAuthenticationToken - Class in org.springframework.security.oauth2.server.authorization.authentication
An Authentication
implementation used for the OAuth 2.0 Client Credentials Grant.
- OAuth2ClientCredentialsAuthenticationToken(Authentication) - Constructor for class org.springframework.security.oauth2.server.authorization.authentication.OAuth2ClientCredentialsAuthenticationToken
Constructs an OAuth2ClientCredentialsAuthenticationToken
using the provided parameters.
- OAuth2ClientCredentialsAuthenticationToken(Authentication, Set<String>) - Constructor for class org.springframework.security.oauth2.server.authorization.authentication.OAuth2ClientCredentialsAuthenticationToken
Constructs an OAuth2ClientCredentialsAuthenticationToken
using the provided parameters.
- OAuth2EndpointUtils - Class in org.springframework.security.oauth2.server.authorization.web
Utility methods for the OAuth 2.0 Protocol Endpoints.
- OAuth2TokenEndpointFilter - Class in org.springframework.security.oauth2.server.authorization.web
A Filter
for the OAuth 2.0 Authorization Code Grant, which handles the processing of the OAuth 2.0 Access Token Request.
- OAuth2TokenEndpointFilter(AuthenticationManager, OAuth2AuthorizationService) - Constructor for class org.springframework.security.oauth2.server.authorization.web.OAuth2TokenEndpointFilter
Constructs an OAuth2TokenEndpointFilter
using the provided parameters.
- OAuth2TokenEndpointFilter(AuthenticationManager, OAuth2AuthorizationService, String) - Constructor for class org.springframework.security.oauth2.server.authorization.web.OAuth2TokenEndpointFilter
Constructs an OAuth2TokenEndpointFilter
using the provided parameters.
- org.springframework.security.config.annotation.web.configuration - package org.springframework.security.config.annotation.web.configuration
-
- org.springframework.security.config.annotation.web.configurers.oauth2.server.authorization - package org.springframework.security.config.annotation.web.configurers.oauth2.server.authorization
-
- org.springframework.security.core - package org.springframework.security.core
-
- org.springframework.security.crypto.keys - package org.springframework.security.crypto.keys
-
- org.springframework.security.oauth2.jose - package org.springframework.security.oauth2.jose
-
- org.springframework.security.oauth2.jose.jws - package org.springframework.security.oauth2.jose.jws
-
- org.springframework.security.oauth2.jwt - package org.springframework.security.oauth2.jwt
-
- org.springframework.security.oauth2.server.authorization - package org.springframework.security.oauth2.server.authorization
-
- org.springframework.security.oauth2.server.authorization.authentication - package org.springframework.security.oauth2.server.authorization.authentication
-
- org.springframework.security.oauth2.server.authorization.client - package org.springframework.security.oauth2.server.authorization.client
-
- org.springframework.security.oauth2.server.authorization.web - package org.springframework.security.oauth2.server.authorization.web
-