@FunctionalInterface public interface AnnotationAnalyzer
ServiceLoader - integration with Security is done automatically as long as the
implementation is discovered as a java service.| Modifier and Type | Interface and Description |
|---|---|
static class |
AnnotationAnalyzer.AnalyzerResponse
Response of an analysis run.
|
static class |
AnnotationAnalyzer.Flag
Flag for security type.
|
| Modifier and Type | Method and Description |
|---|---|
AnnotationAnalyzer.AnalyzerResponse |
analyze(Class<?> maybeAnnotated)
Analyze an application class.
|
default AnnotationAnalyzer.AnalyzerResponse |
analyze(Class<?> maybeAnnotated,
AnnotationAnalyzer.AnalyzerResponse previousResponse)
Analyze a resource class.
|
default AnnotationAnalyzer.AnalyzerResponse |
analyze(Method maybeAnnotated,
AnnotationAnalyzer.AnalyzerResponse previousResponse)
Analyze a resource method.
|
default void |
init(Config config)
Provides configuration on node "security.jersey.analyzers".
|
default void init(Config config)
config - config to use to configure an analyzer, may be empty (e.g. have reasonable defaults if possible)AnnotationAnalyzer.AnalyzerResponse analyze(Class<?> maybeAnnotated)
maybeAnnotated - class of the JAX-RS applicationdefault AnnotationAnalyzer.AnalyzerResponse analyze(Class<?> maybeAnnotated, AnnotationAnalyzer.AnalyzerResponse previousResponse)
maybeAnnotated - class of the JAX-RS resourcepreviousResponse - response from parent of this class (e.g. from application analysis)default AnnotationAnalyzer.AnalyzerResponse analyze(Method maybeAnnotated, AnnotationAnalyzer.AnalyzerResponse previousResponse)
maybeAnnotated - JAX-RS resource methodpreviousResponse - response from parent of this class (e.g. from resource class analysis)Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.