Package io.helidon.microprofile.jwt.auth
Class JwtAuthAnnotationAnalyzer
- java.lang.Object
- 
- io.helidon.microprofile.jwt.auth.JwtAuthAnnotationAnalyzer
 
- 
- All Implemented Interfaces:
- AnnotationAnalyzer
 
 @Priority(4900) public class JwtAuthAnnotationAnalyzer extends Object implements AnnotationAnalyzer Implementation ofAnnotationAnalyzerwhich checks forLoginConfigannotation if JWT Authentication should be enabled.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface io.helidon.security.providers.common.spi.AnnotationAnalyzerAnnotationAnalyzer.AnalyzerResponse, AnnotationAnalyzer.Flag
 
- 
 - 
Constructor SummaryConstructors Constructor Description JwtAuthAnnotationAnalyzer()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationAnalyzer.AnalyzerResponseanalyze(Class<?> maybeAnnotated)Analyze an application class.AnnotationAnalyzer.AnalyzerResponseanalyze(Class<?> maybeAnnotated, AnnotationAnalyzer.AnalyzerResponse previousResponse)Analyze a resource class.AnnotationAnalyzer.AnalyzerResponseanalyze(Method maybeAnnotated, AnnotationAnalyzer.AnalyzerResponse previousResponse)Analyze a resource method.voidinit(Config config)Provides configuration on node "security.jersey.analyzers".
 
- 
- 
- 
Method Detail- 
initpublic void init(Config config) Description copied from interface:AnnotationAnalyzerProvides configuration on node "security.jersey.analyzers".- Specified by:
- initin interface- AnnotationAnalyzer
- Parameters:
- config- config to use to configure an analyzer, may be empty (e.g. have reasonable defaults if possible)
 
 - 
analyzepublic AnnotationAnalyzer.AnalyzerResponse analyze(Class<?> maybeAnnotated) Description copied from interface:AnnotationAnalyzerAnalyze an application class.- Specified by:
- analyzein interface- AnnotationAnalyzer
- Parameters:
- maybeAnnotated- class of the JAX-RS application
- Returns:
- response with information whether to (and how) authenticate and authorize
 
 - 
analyzepublic AnnotationAnalyzer.AnalyzerResponse analyze(Class<?> maybeAnnotated, AnnotationAnalyzer.AnalyzerResponse previousResponse) Description copied from interface:AnnotationAnalyzerAnalyze a resource class. By default returns an abstain response.- Specified by:
- analyzein interface- AnnotationAnalyzer
- Parameters:
- maybeAnnotated- class of the JAX-RS resource
- previousResponse- response from parent of this class (e.g. from application analysis)
- Returns:
- response with information whether to (and how) authenticate and authorize
 
 - 
analyzepublic AnnotationAnalyzer.AnalyzerResponse analyze(Method maybeAnnotated, AnnotationAnalyzer.AnalyzerResponse previousResponse) Description copied from interface:AnnotationAnalyzerAnalyze a resource method. By default returns an abstain response.- Specified by:
- analyzein interface- AnnotationAnalyzer
- Parameters:
- maybeAnnotated- JAX-RS resource method
- previousResponse- response from parent of this class (e.g. from resource class analysis)
- Returns:
- response with information whether to (and how) authenticate and authorize
 
 
- 
 
-