Index

A B C D E F G H J M N O R S U V 
All Classes and Interfaces|All Packages|Constant Field Values

A

afterPropertiesSet() - Method in class org.opencastproject.security.jwt.DynamicLoginHandler
 
afterPropertiesSet() - Method in class org.opencastproject.security.jwt.JWTRequestHeaderAuthenticationFilter
 
afterPropertiesSet() - Method in class org.opencastproject.security.jwt.JWTRequestParameterAuthenticationFilter
 
AlgorithmBuilder - Class in org.opencastproject.security.jwt
Helper class to build Algorithm objects.

B

buildAlgorithm(Jwk) - Static method in class org.opencastproject.security.jwt.AlgorithmBuilder
Build algorithm object from a JSON Web Key.
buildAlgorithm(DecodedJWT, String) - Static method in class org.opencastproject.security.jwt.AlgorithmBuilder
Build algorithm object from a decoded JWT and a secret.
buildAlgorithm(String, String) - Static method in class org.opencastproject.security.jwt.AlgorithmBuilder
Build algorithm object from the 'alg' claim of a JWT and a secret.
buildAlgorithm(String, PublicKey) - Static method in class org.opencastproject.security.jwt.AlgorithmBuilder
Build algorithm object from the 'alg' claim of a JWT and a public key.

C

CachedJWT - Class in org.opencastproject.security.jwt
Class used for caching JWTs.
CachedJWT(DecodedJWT, String) - Constructor for class org.opencastproject.security.jwt.CachedJWT
Creates a cached JWT form a decoded JWT and a username.

D

debug(Log, HttpServletRequest) - Static method in class org.opencastproject.security.jwt.Util
Logs the headers of a request to the logging facility.
DynamicLoginHandler - Class in org.opencastproject.security.jwt
Dynamic login handler for JWTs.
DynamicLoginHandler() - Constructor for class org.opencastproject.security.jwt.DynamicLoginHandler
 

E

ES256 - Static variable in class org.opencastproject.security.jwt.AlgorithmBuilder
 
ES256K - Static variable in class org.opencastproject.security.jwt.AlgorithmBuilder
 
ES384 - Static variable in class org.opencastproject.security.jwt.AlgorithmBuilder
 
ES512 - Static variable in class org.opencastproject.security.jwt.AlgorithmBuilder
 
existingUserLogin(String, DecodedJWT) - Method in class org.opencastproject.security.jwt.DynamicLoginHandler
Handles an existing user login.

F

findRoles(String, Role.Target, int, int) - Method in class org.opencastproject.security.jwt.JWTRoleProvider
 

G

getAlgorithms(DecodedJWT, boolean) - Method in class org.opencastproject.security.jwt.GuavaCachedUrlJwkProvider
Getter for all algorithms corresponding to the fetched JWKs.
getAll() - Method in class org.opencastproject.security.jwt.GuavaCachedUrlJwkProvider
 
getAll(boolean) - Method in class org.opencastproject.security.jwt.GuavaCachedUrlJwkProvider
Getter for all JWKs.
getExpiresAt() - Method in class org.opencastproject.security.jwt.CachedJWT
Getter for the expiry date.
getOrganization() - Method in class org.opencastproject.security.jwt.JWTRoleProvider
 
getPreAuthenticatedCredentials(HttpServletRequest) - Method in class org.opencastproject.security.jwt.JWTRequestParameterAuthenticationFilter
 
getPreAuthenticatedPrincipal(HttpServletRequest) - Method in class org.opencastproject.security.jwt.JWTRequestHeaderAuthenticationFilter
 
getPreAuthenticatedPrincipal(HttpServletRequest) - Method in class org.opencastproject.security.jwt.JWTRequestParameterAuthenticationFilter
 
getRoles() - Method in class org.opencastproject.security.jwt.JWTRoleProvider
 
getRolesForGroup(String) - Method in class org.opencastproject.security.jwt.JWTRoleProvider
 
getRolesForUser(String) - Method in class org.opencastproject.security.jwt.JWTRoleProvider
 
getSignature() - Method in class org.opencastproject.security.jwt.CachedJWT
Getter for the signature.
getUsername() - Method in class org.opencastproject.security.jwt.CachedJWT
Getter for the username.
GuavaCachedUrlJwkProvider - Class in org.opencastproject.security.jwt
JWK provider that caches previously fetched JWKs in memory using a Google Guava cache.
GuavaCachedUrlJwkProvider(String, long, TimeUnit) - Constructor for class org.opencastproject.security.jwt.GuavaCachedUrlJwkProvider
Cons a new cached provider from a JWKs URL and a TTL.

H

handleToken(String) - Method in class org.opencastproject.security.jwt.DynamicLoginHandler
 
handleToken(String) - Method in interface org.opencastproject.security.jwt.JWTLoginHandler
Takes a JWT string, decodes it, validates it and returns the username encoded in the JWT.
hasExpired() - Method in class org.opencastproject.security.jwt.CachedJWT
Returns true if the cached JWT expired, false otherwise.
HS256 - Static variable in class org.opencastproject.security.jwt.AlgorithmBuilder
 
HS384 - Static variable in class org.opencastproject.security.jwt.AlgorithmBuilder
 
HS512 - Static variable in class org.opencastproject.security.jwt.AlgorithmBuilder
 

J

JWTLoginHandler - Interface in org.opencastproject.security.jwt
Interface for handling JWT login.
JWTRequestHeaderAuthenticationFilter - Class in org.opencastproject.security.jwt
Authentication filter for JWTs in request headers.
JWTRequestHeaderAuthenticationFilter() - Constructor for class org.opencastproject.security.jwt.JWTRequestHeaderAuthenticationFilter
 
JWTRequestParameterAuthenticationFilter - Class in org.opencastproject.security.jwt
Authentication filter for JWTs in request parameters.
JWTRequestParameterAuthenticationFilter() - Constructor for class org.opencastproject.security.jwt.JWTRequestParameterAuthenticationFilter
 
JWTRoleProvider - Class in org.opencastproject.security.jwt
Role provider for users authenticated based on JWTs.
JWTRoleProvider(SecurityService, UserReferenceProvider) - Constructor for class org.opencastproject.security.jwt.JWTRoleProvider
 
JWTVerifier - Class in org.opencastproject.security.jwt
Helper class to verify JWTs.

M

MECH_JWT - Static variable in interface org.opencastproject.security.jwt.JWTLoginHandler
String constant identifying the login mechanism.

N

newUserLogin(String, DecodedJWT) - Method in class org.opencastproject.security.jwt.DynamicLoginHandler
Handles a new user login.

O

org.opencastproject.security.jwt - package org.opencastproject.security.jwt
 

R

RS256 - Static variable in class org.opencastproject.security.jwt.AlgorithmBuilder
 
RS384 - Static variable in class org.opencastproject.security.jwt.AlgorithmBuilder
 
RS512 - Static variable in class org.opencastproject.security.jwt.AlgorithmBuilder
 

S

setClaimConstraints(List<String>) - Method in class org.opencastproject.security.jwt.DynamicLoginHandler
Setter for the claim constraints.
setEmailMapping(String) - Method in class org.opencastproject.security.jwt.DynamicLoginHandler
Setter for the email mapping.
setExceptionIfParameterMissing(boolean) - Method in class org.opencastproject.security.jwt.JWTRequestParameterAuthenticationFilter
Defines whether an exception should be raised if the principal parameter is missing.
setExpectedAlgorithms(List<String>) - Method in class org.opencastproject.security.jwt.DynamicLoginHandler
Setter for the expected algorithms.
setJwksCacheExpiresIn(int) - Method in class org.opencastproject.security.jwt.DynamicLoginHandler
Setter for the JWKS cache expiration.
setJwksUrl(String) - Method in class org.opencastproject.security.jwt.DynamicLoginHandler
Setter for the JWKS URL.
setJwtCacheExpiresIn(int) - Method in class org.opencastproject.security.jwt.DynamicLoginHandler
Setter for the JWT cache expiration.
setJwtCacheSize(int) - Method in class org.opencastproject.security.jwt.DynamicLoginHandler
Setter for the JWT cache size.
setLoginHandler(JWTLoginHandler) - Method in class org.opencastproject.security.jwt.JWTRequestHeaderAuthenticationFilter
Setter for the login handler.
setLoginHandler(JWTLoginHandler) - Method in class org.opencastproject.security.jwt.JWTRequestParameterAuthenticationFilter
Setter for the login handler.
setNameMapping(String) - Method in class org.opencastproject.security.jwt.DynamicLoginHandler
Setter for the name mapping.
setParameterName(String) - Method in class org.opencastproject.security.jwt.JWTRequestParameterAuthenticationFilter
Setter for the parameter name.
setPrincipalPrefix(String) - Method in class org.opencastproject.security.jwt.JWTRequestHeaderAuthenticationFilter
Setter for the principal prefix.
setRoleMappings(List<String>) - Method in class org.opencastproject.security.jwt.DynamicLoginHandler
Setter for the role mappings.
setSecret(String) - Method in class org.opencastproject.security.jwt.DynamicLoginHandler
Setter for the secret used for JWT validation.
setSecurityService(SecurityService) - Method in class org.opencastproject.security.jwt.DynamicLoginHandler
Setter for the security service.
setUserDetailsService(UserDetailsService) - Method in class org.opencastproject.security.jwt.DynamicLoginHandler
Setter for the user details service.
setUserDirectoryService(UserDirectoryService) - Method in class org.opencastproject.security.jwt.DynamicLoginHandler
Setter for the user directory service.
setUsernameMapping(String) - Method in class org.opencastproject.security.jwt.DynamicLoginHandler
Setter for the username mapping.
setUserReferenceProvider(UserReferenceProvider) - Method in class org.opencastproject.security.jwt.DynamicLoginHandler
Setter for the user reference provider.

U

Util - Class in org.opencastproject.security.jwt
Utility class

V

verify(DecodedJWT, List<String>, Algorithm...) - Static method in class org.opencastproject.security.jwt.JWTVerifier
Verifies a given decoded JWT with the given claim constraints and algorithms.
verify(DecodedJWT, List<String>, List<Algorithm>) - Static method in class org.opencastproject.security.jwt.JWTVerifier
Verifies a given decoded JWT with the given claim constraints and algorithms.
verify(String, String, List<String>) - Static method in class org.opencastproject.security.jwt.JWTVerifier
Verifies a given JWT string with a secret and given claim constraints.
verify(String, GuavaCachedUrlJwkProvider, List<String>) - Static method in class org.opencastproject.security.jwt.JWTVerifier
Verifies a given JWT string with a given JWK provider and given claim constraints.
A B C D E F G H J M N O R S U V 
All Classes and Interfaces|All Packages|Constant Field Values