Uses of Class
io.helidon.security.Security.Builder
Package
Description
Integration of Helidon security with Microprofile server.
Security
Helidon WebServer Security Support.
-
Uses of Security.Builder in io.helidon.microprofile.security
Modifier and TypeMethodDescriptionSecurityCdiExtension.securityBuilder()
Other extensions may update security builder. -
Uses of Security.Builder in io.helidon.security
Modifier and TypeMethodDescriptionSecurity.Builder.addAuditProvider
(AuditProvider provider) Add an audit provider to this security runtime.Security.Builder.addAuditProvider
(Supplier<? extends AuditProvider> builder) Add an audit provider to this security runtime.Security.Builder.addAuthenticationProvider
(AuthenticationProvider provider) Add an authentication provider.Security.Builder.addAuthenticationProvider
(AuthenticationProvider provider, String name) Add a named authentication provider.Security.Builder.addAuthenticationProvider
(Supplier<? extends AuthenticationProvider> builder) Add an authentication provider.Security.Builder.addAuthenticationProvider
(Supplier<? extends AuthenticationProvider> builder, String name) Add a named authentication provider.Security.Builder.addAuthorizationProvider
(AuthorizationProvider provider) Add authorization provider.Security.Builder.addAuthorizationProvider
(AuthorizationProvider provider, String name) Add a named authorization provider.Security.Builder.addAuthorizationProvider
(Supplier<? extends AuthorizationProvider> builder) Add authorization provider.Security.Builder.addAuthorizationProvider
(Supplier<? extends AuthorizationProvider> builder, String name) Add a named authorization provider.<T extends ProviderConfig>
Security.BuilderSecurity.Builder.addDigest
(String name, DigestProvider<T> digestProvider, T providerConfig) Add a signature/HMAC to security configuration.Security.Builder.addDigestProvider
(DigestProvider<?> provider, String name) Add a named digest provider (providing signatures and possibly HMAC).<T extends ProviderConfig>
Security.BuilderSecurity.Builder.addEncryption
(String name, EncryptionProvider<T> encryptionProvider, T providerConfig) Add an encryption to security configuration.Security.Builder.addEncryptionProvider
(EncryptionProvider<?> provider, String name) Add a named encryption provider.Security.Builder.addOutboundSecurityProvider
(OutboundSecurityProvider provider) All configured identity propagation providers are used.Security.Builder.addOutboundSecurityProvider
(OutboundSecurityProvider provider, String name) Add a named outbound security provider.Security.Builder.addOutboundSecurityProvider
(Supplier<? extends OutboundSecurityProvider> builder) All configured identity propagation providers are used.Security.Builder.addOutboundSecurityProvider
(Supplier<? extends OutboundSecurityProvider> build, String name) Add a named outbound security provider.Security.Builder.addProvider
(SecurityProvider provider) Add a provider, works asaddProvider(io.helidon.security.spi.SecurityProvider, String)
, where the name is set toClass.getSimpleName()
.Security.Builder.addProvider
(SecurityProvider provider, String name) Adds a named provider that may implement multiple interfaces.Security.Builder.addProvider
(Supplier<? extends SecurityProvider> providerBuilder) Add a provider, works asaddProvider(io.helidon.security.spi.SecurityProvider, String)
, where the name is set toClass.getSimpleName()
.Security.Builder.addProvider
(Supplier<? extends SecurityProvider> providerBuilder, String name) Adds a named provider that may implement multiple interfaces.<T extends ProviderConfig>
Security.BuilderSecurity.Builder.addSecret
(String name, SecretsProvider<T> secretProvider, T providerConfig) Add a secret to security configuration.Security.Builder.addSecretProvider
(SecretsProvider<?> provider, String name) Add a named secret provider.Security.Builder.authenticationProvider
(AuthenticationProvider provider) Set the default authentication provider.Security.Builder.authenticationProvider
(Supplier<? extends AuthenticationProvider> builder) Set the default authentication provider.Security.Builder.authorizationProvider
(AuthorizationProvider provider) Set the default authorization provider.Security.Builder.authorizationProvider
(Supplier<? extends AuthorizationProvider> builder) Set the default authorization provider.static Security.Builder
Security.builder()
CreatesSecurity.Builder
class.static Security.Builder
Creates new instance based on configuration values.Add config instance to this builder.Security.Builder.disableTracing()
Disable open tracing support in this security instance.Security.Builder.enabled
(boolean enabled) Security can be disabled using configuration, or explicitly.Security.Builder.providerSelectionPolicy
(Function<ProviderSelectionPolicy.Providers, ProviderSelectionPolicy> pspFunction) Set the provider selection policy.Security.Builder.serverTime
(SecurityTime time) Server time to use when evaluating security policies that depend on time.Security.Builder.subjectMappingProvider
(SubjectMappingProvider provider) Configure a subject mapping provider that would be used once authentication is processed.Set an open tracing tracer to use for security.Security.Builder.tracingEnabled
(boolean tracingEnabled) Whether or not tracing should be enabled. -
Uses of Security.Builder in io.helidon.webserver.security
Modifier and TypeMethodDescriptionSecurityFeatureConfig.BuilderBase.security
(Consumer<Security.Builder> consumer) Security associated with this feature.