public class JwtAuthAnnotationAnalyzer extends Object implements AnnotationAnalyzer
AnnotationAnalyzer which checks for LoginConfig annotation if
JWT Authentication should be enabled.AnnotationAnalyzer.AnalyzerResponse, AnnotationAnalyzer.Flag| Constructor and Description |
|---|
JwtAuthAnnotationAnalyzer() |
| Modifier and Type | Method and Description |
|---|---|
AnnotationAnalyzer.AnalyzerResponse |
analyze(Class<?> maybeAnnotated)
Analyze an application class.
|
AnnotationAnalyzer.AnalyzerResponse |
analyze(Class<?> maybeAnnotated,
AnnotationAnalyzer.AnalyzerResponse previousResponse)
Analyze a resource class.
|
AnnotationAnalyzer.AnalyzerResponse |
analyze(Method maybeAnnotated,
AnnotationAnalyzer.AnalyzerResponse previousResponse)
Analyze a resource method.
|
void |
init(Config config)
Provides configuration on node "security.jersey.analyzers".
|
public void init(Config config)
AnnotationAnalyzerinit in interface AnnotationAnalyzerconfig - config to use to configure an analyzer, may be empty (e.g. have reasonable defaults if possible)public AnnotationAnalyzer.AnalyzerResponse analyze(Class<?> maybeAnnotated)
AnnotationAnalyzeranalyze in interface AnnotationAnalyzermaybeAnnotated - class of the JAX-RS applicationpublic AnnotationAnalyzer.AnalyzerResponse analyze(Class<?> maybeAnnotated, AnnotationAnalyzer.AnalyzerResponse previousResponse)
AnnotationAnalyzeranalyze in interface AnnotationAnalyzermaybeAnnotated - class of the JAX-RS resourcepreviousResponse - response from parent of this class (e.g. from application analysis)public AnnotationAnalyzer.AnalyzerResponse analyze(Method maybeAnnotated, AnnotationAnalyzer.AnalyzerResponse previousResponse)
AnnotationAnalyzeranalyze in interface AnnotationAnalyzermaybeAnnotated - JAX-RS resource methodpreviousResponse - response from parent of this class (e.g. from resource class analysis)Copyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.