Class HttpDigestAuthProvider
java.lang.Object
io.helidon.security.spi.SynchronousProvider
io.helidon.security.providers.httpauth.HttpDigestAuthProvider
- All Implemented Interfaces:
AuthenticationProvider
,SecurityProvider
public final class HttpDigestAuthProvider
extends SynchronousProvider
implements AuthenticationProvider
Http authentication security provider.
Provides support for username and password authentication, with support for roles list.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Get a builder instance to construct a new security provider.static HttpDigestAuthProvider
Load this provider from configuration.protected AuthenticationResponse
syncAuthenticate
(ProviderRequest providerRequest) Synchronous authentication.Methods inherited from class io.helidon.security.spi.SynchronousProvider
authenticate, authorize, outboundSecurity, syncAuthorize, syncOutbound
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.helidon.security.spi.AuthenticationProvider
authenticate
Methods inherited from interface io.helidon.security.spi.SecurityProvider
supportedAnnotations, supportedAttributes, supportedConfigKeys, supportedCustomObjects
-
Method Details
-
builder
Get a builder instance to construct a new security provider. Alternative approach iscreate(Config)
(orcreate(Config)
).- Returns:
- builder to fluently construct Basic security provider
-
create
Load this provider from configuration.- Parameters:
config
- Configuration located at this provider's configuration (e.g. child is either http-basic-auth or http-digest-auth)- Returns:
- instance of provider configured from provided config
-
syncAuthenticate
Description copied from class:SynchronousProvider
Synchronous authentication.- Overrides:
syncAuthenticate
in classSynchronousProvider
- Parameters:
providerRequest
- context with environment, subject(s) etc.- Returns:
- authentication response
- See Also:
-