Class JwtTokenAnnotationHandler
java.lang.Object
no.nav.security.token.support.core.validation.JwtTokenAnnotationHandler
-
Constructor Summary
ConstructorsConstructorDescriptionJwtTokenAnnotationHandler
(TokenValidationContextHolder tokenValidationContextHolder) -
Method Summary
Modifier and TypeMethodDescriptionboolean
protected boolean
containsRequiredClaims
(JwtToken jwtToken, boolean combineWithOr, String... claims) protected Annotation
getAnnotation
(Method method, List<Class<? extends Annotation>> types) protected boolean
handleProtectedWithClaims
(String issuer, String[] requiredClaims, boolean combineWithOr, JwtToken jwtToken) protected boolean
-
Constructor Details
-
Method Details
-
assertValidAnnotation
- Throws:
AnnotationRequiredException
-
getAnnotation
-