Index

A C D E F G H J M N O 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
 

C

CachedJWT - Class in org.opencastproject.security.jwt
Class used for caching JWTs.
CachedJWT(SignedJWT, 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

existingUserLogin(String, SignedJWT) - 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

getAll() - Method in class org.opencastproject.security.jwt.JWKSetProvider
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.

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.

J

JWKSetProvider - Class in org.opencastproject.security.jwt
JWK provider that fetches and caches jwk sets
JWKSetProvider(String, long, long) - Constructor for class org.opencastproject.security.jwt.JWKSetProvider
Creates a new cached provider from a JWKs URL.
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, SignedJWT) - Method in class org.opencastproject.security.jwt.DynamicLoginHandler
Handles a new user login.

O

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

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.
setJwksTimeToLive(int) - Method in class org.opencastproject.security.jwt.DynamicLoginHandler
Setter for the JWKS ttl.
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.
setOcStandardRoleMappings(boolean) - Method in class org.opencastproject.security.jwt.DynamicLoginHandler
 
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(SignedJWT, List<String>, JWSVerifier...) - Static method in class org.opencastproject.security.jwt.JWTVerifier
 
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, JWKSetProvider, 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 C D E F G H J M N O S U V 
All Classes and Interfaces|All Packages|Constant Field Values