Class AnnotationAnalyzer.AnalyzerResponse
java.lang.Object
io.helidon.security.providers.common.spi.AnnotationAnalyzer.AnalyzerResponse
- Enclosing interface:
AnnotationAnalyzer
Response of an analysis run.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Fluent API builder forAnnotationAnalyzer.AnalyzerResponse
. -
Method Summary
Modifier and TypeMethodDescriptionabstain()
Create an abstain response (e.g.abstain
(AnnotationAnalyzer.AnalyzerResponse previousResponse) Create an abstain response (e.g.Authentication response of this analysis.Explicit authentication provider name.Authorization response of this analysis.Explicit authorization provider name.builder()
Create a fluent API builder.Create a fluent API builder with a parent response.parent()
Parent of this analysis.registry()
A registry that allows transferring information between analysis of different scopes (application, resource class, method).
-
Method Details
-
abstain
Create an abstain response (e.g. the analyzer has no information to provide a valid response, such as the annotation this analyzer supports is missing).- Returns:
- an abstain response
-
abstain
public static AnnotationAnalyzer.AnalyzerResponse abstain(AnnotationAnalyzer.AnalyzerResponse previousResponse) Create an abstain response (e.g. the analyzer has no information to provide a valid response, such as the annotation this analyzer supports is missing).- Parameters:
previousResponse
- response from previous analysis (to allow parent/child structure, e.g. when some information is needed by further analysis)- Returns:
- an abstain response
-
builder
Create a fluent API builder.- Returns:
- a builder
-
builder
public static AnnotationAnalyzer.AnalyzerResponse.Builder builder(AnnotationAnalyzer.AnalyzerResponse parent) Create a fluent API builder with a parent response.- Parameters:
parent
- response from previous run- Returns:
- a builder
-
parent
Parent of this analysis. For application class analysis, the parent is empty. For resource class analysis, the parent is application class analysis result. For resource method analysis, the parent is resource class analysis result.- Returns:
- parent if exists, or empty
-
authenticationResponse
Authentication response of this analysis.- Returns:
- authentication response
-
authorizationResponse
Authorization response of this analysis.- Returns:
- authorization response
-
authenticator
Explicit authentication provider name. If none provided, the default authenticator would be used.- Returns:
- authenticator name or empty
-
authorizer
Explicit authorization provider name. If none provided, the default authorizer would be used.- Returns:
- authorization name or empty
-
registry
A registry that allows transferring information between analysis of different scopes (application, resource class, method).- Returns:
- registry to use
-