Class AnnotationAnalyzer.AnalyzerResponse.Builder
- java.lang.Object
-
- io.helidon.security.providers.common.spi.AnnotationAnalyzer.AnalyzerResponse.Builder
-
- All Implemented Interfaces:
Builder<AnnotationAnalyzer.AnalyzerResponse>
,Supplier<AnnotationAnalyzer.AnalyzerResponse>
- Enclosing class:
- AnnotationAnalyzer.AnalyzerResponse
public static class AnnotationAnalyzer.AnalyzerResponse.Builder extends Object implements Builder<AnnotationAnalyzer.AnalyzerResponse>
Fluent API builder forAnnotationAnalyzer.AnalyzerResponse
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
build
public AnnotationAnalyzer.AnalyzerResponse build()
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<AnnotationAnalyzer.AnalyzerResponse>
- Returns:
- instance of the built type
-
register
public AnnotationAnalyzer.AnalyzerResponse.Builder register(Object anInstance)
Register an object later available throughAnnotationAnalyzer.AnalyzerResponse.registry()
.- Parameters:
anInstance
- instance to register by its class- Returns:
- updated builder instance
-
register
public <T> AnnotationAnalyzer.AnalyzerResponse.Builder register(Class<? super T> theClass, T anInstance)
Register an object later available throughAnnotationAnalyzer.AnalyzerResponse.registry()
.- Parameters:
theClass
- class to register the instance byanInstance
- instance to register- Returns:
- updated builder instance
-
authenticationResponse
public AnnotationAnalyzer.AnalyzerResponse.Builder authenticationResponse(AnnotationAnalyzer.Flag atnResponse)
Authentication response.- Parameters:
atnResponse
- response for authentication- Returns:
- updated builder instance
-
authorizeResponse
public AnnotationAnalyzer.AnalyzerResponse.Builder authorizeResponse(AnnotationAnalyzer.Flag authorizeResponse)
Authorization response.- Parameters:
authorizeResponse
- authorization response flag- Returns:
- updated builder instance
-
authenticator
public AnnotationAnalyzer.AnalyzerResponse.Builder authenticator(String authenticator)
Explicit authentication provider to use.- Parameters:
authenticator
- name of a provider to use- Returns:
- updated builder instance
-
authorizer
public AnnotationAnalyzer.AnalyzerResponse.Builder authorizer(String authorizer)
Explicit authorization provider to use.- Parameters:
authorizer
- name of a provider to use- Returns:
- updated builder instance
-
-