Skip navigation links
A B C D E F G H I J K M P R S T U V X 

A

AbstractParameter<T> - Class in software.sandc.springframework.security.jwt.model.parameter
 
AbstractParameter(T) - Constructor for class software.sandc.springframework.security.jwt.model.parameter.AbstractParameter
 
AdditionalAuthoritiesParameter - Class in software.sandc.springframework.security.jwt.model.parameter
 
AdditionalAuthoritiesParameter(List<String>) - Constructor for class software.sandc.springframework.security.jwt.model.parameter.AdditionalAuthoritiesParameter
 
afterPropertiesSet() - Method in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 
afterPropertiesSet() - Method in class software.sandc.springframework.security.jwt.impl.authority.JWTAuthenticationFilter
 
afterPropertiesSet() - Method in class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
afterPropertiesSet() - Method in class software.sandc.springframework.security.jwt.impl.DefaultSigningKeyResolver
 
attemptAuthentication(HttpServletRequest, HttpServletResponse) - Method in class software.sandc.springframework.security.jwt.impl.authority.JWTAuthenticationFilter
 
authenticateJWTRequest(HttpServletRequest, HttpServletResponse) - Method in interface software.sandc.springframework.security.jwt.consumer.JWTConsumer
Authenticate HTTP request if the request contains JWT and related tokens are valid.

The created JWTAuthentication object (which is also the part of JWTContext) is implicitly attached into SecurityContextHolder to inform spring security about the authenticated user.
authenticateJWTRequest(HttpServletRequest, HttpServletResponse) - Method in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 
authenticateJWTRequest(HttpServletRequest, HttpServletResponse) - Method in class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
authenticateLoginRequest(Credentials, HttpServletRequest, HttpServletResponse) - Method in interface software.sandc.springframework.security.jwt.authority.JWTAuthority
Authenticate login request if the provided credentials are valid.

The created JWTAuthentication object (which is also the part of JWTContext) is implicitly attached into SecurityContextHolder to inform spring security about the authenticated user.
authenticateLoginRequest(Credentials, HttpServletRequest, HttpServletResponse) - Method in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 
authoritiesParameterName - Variable in class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
AuthorityKeyProvider - Interface in software.sandc.springframework.security.jwt.authority
AuthorityKeyProvider is an extension of KeyProvider which is responsible to provide keys used for signing and validating of JWT tokens.
authorityKeyProvider - Variable in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 

B

BooleanUtils - Class in software.sandc.springframework.security.jwt.util
 
BooleanUtils() - Constructor for class software.sandc.springframework.security.jwt.util.BooleanUtils
 

C

convertToString(Collection<? extends GrantedAuthority>) - Method in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 
cookiePath - Variable in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
create(String, Parameters) - Method in interface software.sandc.springframework.security.jwt.authority.JWTAuthority
Create a fully fledged JWTContext for given principal.
create(String, Parameters) - Method in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
Creates JWTContext for given principal.
createAndAttach(String, HttpServletRequest, HttpServletResponse, Parameters) - Method in interface software.sandc.springframework.security.jwt.authority.JWTAuthority
Create a fully fledged JWTContext for given principal and attach it into given HTTP Response.
createAndAttach(String, HttpServletRequest, HttpServletResponse, Parameters) - Method in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 
createJWTContext(String, String, String, Collection<? extends GrantedAuthority>, String, String) - Method in class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
createSession(String) - Method in interface software.sandc.springframework.security.jwt.authority.SessionProvider
Creates and stores a new session for given principal.
createSession(String) - Method in class software.sandc.springframework.security.jwt.impl.authority.FakeSessionProvider
 
Credentials - Class in software.sandc.springframework.security.jwt.model
Credentials class contains principal (unique user identifier like user name, user id, email address etc.) and password data which are needed for user authentication.
Credentials() - Constructor for class software.sandc.springframework.security.jwt.model.Credentials
 

D

DefaultJWTAuthority - Class in software.sandc.springframework.security.jwt.impl.authority
 
DefaultJWTAuthority(UserDetailsService) - Constructor for class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 
DefaultJWTConsumer - Class in software.sandc.springframework.security.jwt.impl.consumer
 
DefaultJWTConsumer() - Constructor for class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
DefaultJWTConsumer(JWTAuthorityConnector) - Constructor for class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
DefaultJWTRequestResponseHandler - Class in software.sandc.springframework.security.jwt.impl
 
DefaultJWTRequestResponseHandler() - Constructor for class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
DefaultSigningKeyResolver - Class in software.sandc.springframework.security.jwt.impl
 
DefaultSigningKeyResolver(KeyProvider) - Constructor for class software.sandc.springframework.security.jwt.impl.DefaultSigningKeyResolver
 
deserialize(JsonParser, DeserializationContext) - Method in class software.sandc.springframework.security.jwt.model.JWTAuthenticationSerializer
 
DisableXSRFParameter - Class in software.sandc.springframework.security.jwt.model.parameter
 
DisableXSRFParameter(Boolean) - Constructor for class software.sandc.springframework.security.jwt.model.parameter.DisableXSRFParameter
 
doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class software.sandc.springframework.security.jwt.impl.authority.JWTAuthenticationFilter
 

E

equals(Object) - Method in class software.sandc.springframework.security.jwt.model.Credentials
 
equals(Object) - Method in class software.sandc.springframework.security.jwt.model.JWTContext
 
equals(Object) - Method in class software.sandc.springframework.security.jwt.model.TokenContainer
 
ExpiredTokenException - Exception in software.sandc.springframework.security.jwt.model.exception
Thrown if the token is expired.
ExpiredTokenException(String) - Constructor for exception software.sandc.springframework.security.jwt.model.exception.ExpiredTokenException
Constructs a ExpiredTokenException with the specified message.
ExpiredTokenException(String, Throwable) - Constructor for exception software.sandc.springframework.security.jwt.model.exception.ExpiredTokenException
Constructs a ExpiredTokenException with the specified message and root cause.
extractPrincipal(Claims) - Method in class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
extractSessionId(Claims) - Method in class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 

F

FakeKeyProvider - Class in software.sandc.springframework.security.jwt.impl.authority
 
FakeKeyProvider() - Constructor for class software.sandc.springframework.security.jwt.impl.authority.FakeKeyProvider
 
FakeSessionProvider - Class in software.sandc.springframework.security.jwt.impl.authority
 
FakeSessionProvider() - Constructor for class software.sandc.springframework.security.jwt.impl.authority.FakeSessionProvider
 

G

generateXSRFToken() - Method in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 
getAuthentication() - Method in class software.sandc.springframework.security.jwt.model.JWTContext
Get JWTAuthentication instance from context.
getAuthorities(Claims) - Method in class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
getAuthorityListAsString(Collection<? extends GrantedAuthority>) - Method in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 
getCredentials() - Method in class software.sandc.springframework.security.jwt.model.JWTAuthentication
 
getCurrentSigningKeyId() - Method in interface software.sandc.springframework.security.jwt.authority.AuthorityKeyProvider
Get current key id for signing JWT token.
getCurrentSigningKeyId() - Method in class software.sandc.springframework.security.jwt.impl.authority.FakeKeyProvider
 
getCurrentUserAuthorities() - Static method in class software.sandc.springframework.security.jwt.util.JWTAuthenticationUtil
Get authorities of the authenticated user.
getCurrentUserId() - Static method in class software.sandc.springframework.security.jwt.util.JWTAuthenticationUtil
Get user id if the user authenticated.
getCurrentUserSessionId() - Static method in class software.sandc.springframework.security.jwt.util.JWTAuthenticationUtil
Get session id of the JWT token if the user authenticated.
getJwtMode() - Method in class software.sandc.springframework.security.jwt.model.TokenContainer
Get JWT mode.
getJWTModeFromHeader(HttpServletRequest) - Method in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
getJWTModeFromParameters(Parameters) - Method in class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
getJwtRequestResponseHandler() - Method in class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
getJwtToken() - Method in class software.sandc.springframework.security.jwt.model.TokenContainer
Get JWT token.
getJWTTokenFromCookie(HttpServletRequest) - Method in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
getJWTTokenFromHeader(HttpServletRequest) - Method in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
getJWTTokenFromRequest(HttpServletRequest) - Method in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
getKeyType(String) - Method in interface software.sandc.springframework.security.jwt.consumer.KeyProvider
Get the type of the related key.
getKeyType(String) - Method in class software.sandc.springframework.security.jwt.impl.authority.FakeKeyProvider
 
getParameterMap() - Method in class software.sandc.springframework.security.jwt.model.parameter.Parameters
 
getParametersFromRequest(HttpServletRequest) - Method in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
getParametersFromRequest(HttpServletRequest) - Method in interface software.sandc.springframework.security.jwt.JWTRequestResponseHandler
Extract Parameters from HTTP request.
getPassword() - Method in class software.sandc.springframework.security.jwt.model.Credentials
Get password in clear text.
getPrincipal() - Method in class software.sandc.springframework.security.jwt.model.Credentials
Get principal (unique user identifier like user name, user id, email address etc.)
getPrincipal() - Method in class software.sandc.springframework.security.jwt.model.JWTAuthentication
Get principal (unique user identifier like user name, user id, email address etc.)
getPrivateKey(String) - Method in interface software.sandc.springframework.security.jwt.consumer.KeyProvider
Get private key for given key id.
getPrivateKey(String) - Method in class software.sandc.springframework.security.jwt.impl.authority.FakeKeyProvider
 
getPublicKey(String) - Method in interface software.sandc.springframework.security.jwt.consumer.KeyProvider
Get public key for given key id.
getPublicKey(String) - Method in class software.sandc.springframework.security.jwt.impl.authority.FakeKeyProvider
 
getSessionId() - Method in class software.sandc.springframework.security.jwt.model.JWTAuthentication
Get session id (if exists)
getSignatureAlgorithm(String) - Method in interface software.sandc.springframework.security.jwt.authority.AuthorityKeyProvider
Get the signature algorithm of the related key.
getSignatureAlgorithm(String) - Method in class software.sandc.springframework.security.jwt.impl.authority.FakeKeyProvider
 
getTokenContainer() - Method in class software.sandc.springframework.security.jwt.model.JWTContext
Get TokenContainer instance from context.
getTokenFromRequest(HttpServletRequest) - Method in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
getTokenFromRequest(HttpServletRequest) - Method in interface software.sandc.springframework.security.jwt.JWTRequestResponseHandler
Extract tokens from HTTP request.
getUserDetails(String) - Method in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 
getUserDetailsService() - Method in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 
getValue() - Method in class software.sandc.springframework.security.jwt.model.parameter.AbstractParameter
 
getValue() - Method in interface software.sandc.springframework.security.jwt.model.parameter.Parameter
 
getValueOf(Class<? extends Parameter<T>>) - Method in class software.sandc.springframework.security.jwt.model.parameter.Parameters
 
getXsrfToken() - Method in class software.sandc.springframework.security.jwt.model.TokenContainer
Get XSRF token.
getXSRFTokenFromHeader(HttpServletRequest) - Method in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 

H

handleAuthenticationException(AuthenticationException, HttpServletRequest, HttpServletResponse, FilterChain) - Method in class software.sandc.springframework.security.jwt.impl.authority.JWTAuthenticationFilter
 
handleJWTContext(HttpServletRequest, HttpServletResponse, JWTContext) - Method in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 
handleJWTContext(HttpServletRequest, HttpServletResponse, JWTContext) - Method in class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
hashCode() - Method in class software.sandc.springframework.security.jwt.model.Credentials
 
hashCode() - Method in class software.sandc.springframework.security.jwt.model.JWTContext
 
hashCode() - Method in class software.sandc.springframework.security.jwt.model.TokenContainer
 

I

IgnoreExpiryParameter - Class in software.sandc.springframework.security.jwt.model.parameter
 
IgnoreExpiryParameter(Boolean) - Constructor for class software.sandc.springframework.security.jwt.model.parameter.IgnoreExpiryParameter
 
invalidateSession(String) - Method in interface software.sandc.springframework.security.jwt.authority.SessionProvider
Revokes given session (referenced by session id).
invalidateSession(String) - Method in class software.sandc.springframework.security.jwt.impl.authority.FakeSessionProvider
 
InvalidCredentialsException - Exception in software.sandc.springframework.security.jwt.model.exception
Thrown if the credentials are invalid.
InvalidCredentialsException(String) - Constructor for exception software.sandc.springframework.security.jwt.model.exception.InvalidCredentialsException
Constructs a InvalidCredentialsException with the specified message.
InvalidCredentialsException(String, Throwable) - Constructor for exception software.sandc.springframework.security.jwt.model.exception.InvalidCredentialsException
Constructs a InvalidCredentialsException with the specified message and root cause.
InvalidSessionException - Exception in software.sandc.springframework.security.jwt.model.exception
Thrown if the linked session does not exist or is not valid anymore.
InvalidSessionException() - Constructor for exception software.sandc.springframework.security.jwt.model.exception.InvalidSessionException
Constructs an empty InvalidSessionException.
InvalidSessionException(String) - Constructor for exception software.sandc.springframework.security.jwt.model.exception.InvalidSessionException
Constructs a InvalidSessionException with the specified message.
InvalidSessionException(String, Throwable) - Constructor for exception software.sandc.springframework.security.jwt.model.exception.InvalidSessionException
Constructs a InvalidSessionException with the specified message and root cause.
InvalidTokenException - Exception in software.sandc.springframework.security.jwt.model.exception
Thrown if token is not valid.
InvalidTokenException() - Constructor for exception software.sandc.springframework.security.jwt.model.exception.InvalidTokenException
Constructs an empty InvalidTokenException.
InvalidTokenException(String) - Constructor for exception software.sandc.springframework.security.jwt.model.exception.InvalidTokenException
Constructs a InvalidTokenException with the specified message.
InvalidTokenException(String, Throwable) - Constructor for exception software.sandc.springframework.security.jwt.model.exception.InvalidTokenException
Constructs a InvalidTokenException with the specified message and root cause.
isAuthenticated() - Method in class software.sandc.springframework.security.jwt.model.JWTContext
Checks if JWTAuthentication from context exists and is authenticated.
isFalse(Boolean) - Static method in class software.sandc.springframework.security.jwt.util.BooleanUtils
Check if given Boolean value is false.
isJWTRequestedInAppMode(HttpServletRequest) - Method in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
isSessionValid(String) - Method in interface software.sandc.springframework.security.jwt.authority.SessionProvider
Checks if the given session (referenced by session id) valid.
isSessionValid(String) - Method in class software.sandc.springframework.security.jwt.impl.authority.FakeSessionProvider
 
istJWTInAppMode(String) - Method in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
isTokenRenewalEnabled() - Method in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 
isTrue(Boolean) - Static method in class software.sandc.springframework.security.jwt.util.BooleanUtils
Check if given Boolean value is true.
isXSRFProtectionDisabled(Parameters) - Method in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 

J

join(Iterable<String>, String) - Static method in class software.sandc.springframework.security.jwt.util.StringUtils
 
JWTAuthentication - Class in software.sandc.springframework.security.jwt.model
JWTAuthentication is a sub class AbstractAuthenticationToken.
JWTAuthentication(String, Collection<? extends GrantedAuthority>) - Constructor for class software.sandc.springframework.security.jwt.model.JWTAuthentication
Create a JWTAuthentication instance for a specific user (identified by principal parameter) and its authorities (roles and rights).
JWTAuthentication(String, String, Collection<? extends GrantedAuthority>) - Constructor for class software.sandc.springframework.security.jwt.model.JWTAuthentication
Create a JWTAuthentication instance for a specific user (identified by principal parameter), session id and its authorities (roles and rights).
JWTAuthenticationFilter - Class in software.sandc.springframework.security.jwt.impl.authority
 
JWTAuthenticationFilter(JWTConsumer) - Constructor for class software.sandc.springframework.security.jwt.impl.authority.JWTAuthenticationFilter
 
JWTAuthenticationSerializer - Class in software.sandc.springframework.security.jwt.model
 
JWTAuthenticationSerializer() - Constructor for class software.sandc.springframework.security.jwt.model.JWTAuthenticationSerializer
 
JWTAuthenticationUtil - Class in software.sandc.springframework.security.jwt.util
 
JWTAuthenticationUtil() - Constructor for class software.sandc.springframework.security.jwt.util.JWTAuthenticationUtil
 
JWTAuthority - Interface in software.sandc.springframework.security.jwt.authority
JWTAuthority is the core component of spring security JWT extension.
JWTAuthorityConnector - Interface in software.sandc.springframework.security.jwt.consumer
 
jwtAuthorityConnector - Variable in class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
JWTConsumer - Interface in software.sandc.springframework.security.jwt.consumer
JWTConsumer is the core component of spring security JWT extension.
jwtConsumer - Variable in class software.sandc.springframework.security.jwt.impl.authority.JWTAuthenticationFilter
 
JWTContext - Class in software.sandc.springframework.security.jwt.model
JWTContext is a container class for JWTAuthentication and TokenContainer instances.
JWTContext() - Constructor for class software.sandc.springframework.security.jwt.model.JWTContext
Create an empty JWTContext instance.
JWTContext(JWTAuthentication, TokenContainer) - Constructor for class software.sandc.springframework.security.jwt.model.JWTContext
Create a JWTContext instance with given JWTAuthentication and TokenContainer instances.
jwtCookieParameter - Variable in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
jwtModeRequestHeaderParameter - Variable in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
jwtRequestHeaderParameter - Variable in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
jwtRequestResponseHandler - Variable in class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
JWTRequestResponseHandler - Interface in software.sandc.springframework.security.jwt
A JWTRequestResponseHandler implementation is responsible to extract JWT and XSRF tokens from HTTP request and attache them in HTTP response accordingly.
jwtResponseHeaderParameter - Variable in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 

K

KeyProvider - Interface in software.sandc.springframework.security.jwt.consumer
KeyProvider is responsible to provide keys used for signing and validating of JWT tokens.
keyToString(Key) - Static method in class software.sandc.springframework.security.jwt.util.RSAUtils
 
KeyType - Enum in software.sandc.springframework.security.jwt.model
KeyType indicates the type of a certain key.

M

merge(Parameters) - Method in class software.sandc.springframework.security.jwt.model.parameter.Parameters
Merge given parameters into existing parameters.

P

Parameter<T> - Interface in software.sandc.springframework.security.jwt.model.parameter
A parameter can be used to customize processing of the request.
Parameters - Class in software.sandc.springframework.security.jwt.model.parameter
Additional parameters to customize processing of the request.
Parameters() - Constructor for class software.sandc.springframework.security.jwt.model.parameter.Parameters
 
Parameters(Parameter<?>) - Constructor for class software.sandc.springframework.security.jwt.model.parameter.Parameters
 
Parameters(Parameters) - Constructor for class software.sandc.springframework.security.jwt.model.parameter.Parameters
 
passwordEncoder - Variable in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 
put(Parameter<T>) - Method in class software.sandc.springframework.security.jwt.model.parameter.Parameters
 
putTokenToResponse(HttpServletRequest, HttpServletResponse, TokenContainer) - Method in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
putTokenToResponse(HttpServletRequest, HttpServletResponse, TokenContainer) - Method in interface software.sandc.springframework.security.jwt.JWTRequestResponseHandler
Attach tokens to HTTP response.

R

refreshSession(String) - Method in interface software.sandc.springframework.security.jwt.authority.SessionProvider
Refreshes given session (referenced by session id).
refreshSession(JWTContext) - Method in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 
refreshSession(String) - Method in class software.sandc.springframework.security.jwt.impl.authority.FakeSessionProvider
 
refreshSessionOnAuthentication - Variable in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 
refreshSessionOnRenewal - Variable in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 
remove(Class<? extends Parameter>) - Method in class software.sandc.springframework.security.jwt.model.parameter.Parameters
 
removeSession(String) - Method in interface software.sandc.springframework.security.jwt.authority.SessionProvider
Remove given session (referenced by session id).
removeSession(String) - Method in class software.sandc.springframework.security.jwt.impl.authority.FakeSessionProvider
 
renew(TokenContainer, Parameters) - Method in interface software.sandc.springframework.security.jwt.authority.JWTAuthority
Renew tokens given in the TokenContainer object.
renew(HttpServletRequest, HttpServletResponse) - Method in interface software.sandc.springframework.security.jwt.authority.JWTAuthority
Authenticate HTTP request if the request contains JWT and renew it if renewable.
renew(HttpServletRequest, HttpServletResponse) - Method in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 
renew(TokenContainer, Parameters) - Method in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 
renewSession(String) - Method in interface software.sandc.springframework.security.jwt.authority.SessionProvider
Create a new session and invalidate existing session.
renewSession(String) - Method in class software.sandc.springframework.security.jwt.impl.authority.FakeSessionProvider
 
requestRenew(HttpServletRequest) - Method in interface software.sandc.springframework.security.jwt.consumer.JWTAuthorityConnector
 
resolveSigningKey(JwsHeader, Claims) - Method in class software.sandc.springframework.security.jwt.impl.DefaultSigningKeyResolver
 
resolveSigningKey(JwsHeader, String) - Method in class software.sandc.springframework.security.jwt.impl.DefaultSigningKeyResolver
 
resolveSigningKeyBytes(JwsHeader, Claims) - Method in class software.sandc.springframework.security.jwt.impl.DefaultSigningKeyResolver
 
resolveSigningKeyBytes(JwsHeader, String) - Method in class software.sandc.springframework.security.jwt.impl.DefaultSigningKeyResolver
 
RSAUtils - Class in software.sandc.springframework.security.jwt.util
 
RSAUtils() - Constructor for class software.sandc.springframework.security.jwt.util.RSAUtils
 

S

secureCookie - Variable in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
SessionIdParameter - Class in software.sandc.springframework.security.jwt.model.parameter
 
SessionIdParameter(String) - Constructor for class software.sandc.springframework.security.jwt.model.parameter.SessionIdParameter
 
sessionIdParameterName - Variable in class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
sessionInvalidationDelayInMinutes - Variable in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 
SessionProvider - Interface in software.sandc.springframework.security.jwt.authority
SessionProvider is used only if a JWT token is linked to a session to increase token security.
sessionProvider - Variable in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 
setAuthentication(JWTAuthentication) - Method in class software.sandc.springframework.security.jwt.model.JWTContext
Set JWTAuthentication instance into context.
setAuthoritiesParameterName(String) - Method in class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
setAuthorityKeyProvider(AuthorityKeyProvider) - Method in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 
setCookiePath(String) - Method in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
setJWTAuthorityConnector(JWTAuthorityConnector) - Method in class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
setJwtCookieParameter(String) - Method in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
setJwtModeRequestHeaderParameter(String) - Method in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
setJwtRequestHeaderParameter(String) - Method in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
setJwtRequestResponseHandler(JWTRequestResponseHandler) - Method in class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
setJwtResponseHeaderParameter(String) - Method in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
setPassword(String) - Method in class software.sandc.springframework.security.jwt.model.Credentials
Set password in clear text.
setPasswordEncoder(PasswordEncoder) - Method in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
Set custom password encoder.
setPrincipal(String) - Method in class software.sandc.springframework.security.jwt.model.Credentials
Set principal (unique user identifier like user name, user id, email address etc.)
setRefreshSessionOnAuthentication(boolean) - Method in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
Refresh related session on each JWT authentication step.
setRefreshSessionOnRenewal(boolean) - Method in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
Refresh related session on each JWT renewal.
setSecureCookie(boolean) - Method in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
setSessionIdParameterName(String) - Method in class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
setSessionInvalidationDelayInMinutes(int) - Method in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
Set session invalidation delay in minutes.
setSessionProvider(SessionProvider) - Method in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 
setSigningKeyResolver(SigningKeyResolver) - Method in class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
setTokenContainer(TokenContainer) - Method in class software.sandc.springframework.security.jwt.model.JWTContext
Set TokenContainer instance into context.
setTokenLifetimeInSeconds(int) - Method in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
Set token lifetime in seconds.
setUserDetailsChecker(UserDetailsChecker) - Method in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
Set UserDetailsChecker which will be used to validate the loaded UserDetails object.
setUserDetailsService(UserDetailsService) - Method in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 
setXsrfCookieParameter(String) - Method in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
setXsrfParameterName(String) - Method in class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
setXsrfRequestHeaderParameter(String) - Method in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
setXsrfResponseHeaderParameter(String) - Method in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
signingKeyResolver - Variable in class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
software.sandc.springframework.security.jwt - package software.sandc.springframework.security.jwt
 
software.sandc.springframework.security.jwt.authority - package software.sandc.springframework.security.jwt.authority
 
software.sandc.springframework.security.jwt.consumer - package software.sandc.springframework.security.jwt.consumer
 
software.sandc.springframework.security.jwt.impl - package software.sandc.springframework.security.jwt.impl
 
software.sandc.springframework.security.jwt.impl.authority - package software.sandc.springframework.security.jwt.impl.authority
 
software.sandc.springframework.security.jwt.impl.consumer - package software.sandc.springframework.security.jwt.impl.consumer
 
software.sandc.springframework.security.jwt.model - package software.sandc.springframework.security.jwt.model
 
software.sandc.springframework.security.jwt.model.exception - package software.sandc.springframework.security.jwt.model.exception
 
software.sandc.springframework.security.jwt.model.parameter - package software.sandc.springframework.security.jwt.model.parameter
 
software.sandc.springframework.security.jwt.util - package software.sandc.springframework.security.jwt.util
 
SPRING_SECURITY_JWT_AUTHORITIES_PARAMETER_NAME - Static variable in class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
SPRING_SECURITY_JWT_COOKIE_JWT_PARAMETER - Static variable in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
SPRING_SECURITY_JWT_COOKIE_XSRF_PARAMETER - Static variable in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
SPRING_SECURITY_JWT_REQUEST_HEADER_JWT - Static variable in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
SPRING_SECURITY_JWT_REQUEST_HEADER_JWT_MODE - Static variable in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
SPRING_SECURITY_JWT_REQUEST_HEADER_JWT_MODE_VALUE_APP - Static variable in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
SPRING_SECURITY_JWT_REQUEST_HEADER_JWT_MODE_VALUE_WEB - Static variable in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
SPRING_SECURITY_JWT_REQUEST_HEADER_XSRF - Static variable in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
SPRING_SECURITY_JWT_RESPONSE_HEADER_JWT - Static variable in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
SPRING_SECURITY_JWT_RESPONSE_HEADER_XSRF - Static variable in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
SPRING_SECURITY_JWT_SESSION_ID_PARAMETER_NAME - Static variable in class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
SPRING_SECURITY_JWT_XSRF_PARAMETER_NAME - Static variable in class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
StringUtils - Class in software.sandc.springframework.security.jwt.util
 
StringUtils() - Constructor for class software.sandc.springframework.security.jwt.util.StringUtils
 

T

TEN_YEARS_IN_SECONDS - Static variable in class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
TokenContainer - Class in software.sandc.springframework.security.jwt.model
TokenContainer is a container class for JWT and XSRF tokens.
TokenContainer(String, String) - Constructor for class software.sandc.springframework.security.jwt.model.TokenContainer
Create a TokenContainer instance with given JWT token.
TokenContainer(String, String, String) - Constructor for class software.sandc.springframework.security.jwt.model.TokenContainer
Create a TokenContainer instance with given JWT and XSRF tokens.
tokenLifetimeInSeconds - Variable in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 
TokenRenewalException - Exception in software.sandc.springframework.security.jwt.model.exception
Thrown if token cannot be renewed.
TokenRenewalException(String) - Constructor for exception software.sandc.springframework.security.jwt.model.exception.TokenRenewalException
Constructs a TokenRenewalException with the specified message.
TokenRenewalException(String, Throwable) - Constructor for exception software.sandc.springframework.security.jwt.model.exception.TokenRenewalException
Constructs a TokenRenewalException with the specified message and root cause.
toPrivateKey(String) - Static method in class software.sandc.springframework.security.jwt.util.RSAUtils
 
toPublicKey(String) - Static method in class software.sandc.springframework.security.jwt.util.RSAUtils
 
toString() - Method in class software.sandc.springframework.security.jwt.model.Credentials
 
toString() - Method in class software.sandc.springframework.security.jwt.model.JWTContext
 
toString() - Method in class software.sandc.springframework.security.jwt.model.TokenContainer
 

U

userDetailsChecker - Variable in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 
userDetailsService - Variable in class software.sandc.springframework.security.jwt.impl.authority.DefaultJWTAuthority
 
UserNotFoundException - Exception in software.sandc.springframework.security.jwt.model.exception
Thrown if the wanted user cannot be found.
UserNotFoundException(String) - Constructor for exception software.sandc.springframework.security.jwt.model.exception.UserNotFoundException
Constructs a UserNotFoundException with the specified message.
UserNotFoundException(String, Throwable) - Constructor for exception software.sandc.springframework.security.jwt.model.exception.UserNotFoundException
Constructs a UserNotFoundException with the specified message and root cause.

V

validate(TokenContainer, Parameters) - Method in interface software.sandc.springframework.security.jwt.consumer.JWTConsumer
Validate tokens given in a TokenContainer instance.
validate(TokenContainer, Parameters) - Method in class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
validateXSRF(Claims, String) - Method in class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
valueOf(String) - Static method in enum software.sandc.springframework.security.jwt.model.KeyType
Returns the enum constant of this type with the specified name.
values() - Static method in enum software.sandc.springframework.security.jwt.model.KeyType
Returns an array containing the constants of this enum type, in the order they are declared.

X

xsrfCookieParameter - Variable in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
xsrfParameterName - Variable in class software.sandc.springframework.security.jwt.impl.consumer.DefaultJWTConsumer
 
xsrfRequestHeaderParameter - Variable in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
xsrfResponseHeaderParameter - Variable in class software.sandc.springframework.security.jwt.impl.DefaultJWTRequestResponseHandler
 
A B C D E F G H I J K M P R S T U V X 
Skip navigation links

Copyright © 2017 S&C Software. All rights reserved.