Class HttpDigestAuthProvider
java.lang.Object
io.helidon.security.providers.httpauth.HttpDigestAuthProvider
- All Implemented Interfaces:
- AuthenticationProvider,- SecurityProvider
Http authentication security provider.
 Provides support for username and password authentication, with support for roles list.
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionauthenticate(ProviderRequest providerRequest) Authenticate a request.builder()Get a builder instance to construct a new security provider.static HttpDigestAuthProviderLoad this provider from configuration.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.security.spi.SecurityProvidersupportedAnnotations, supportedAttributes, supportedConfigKeys, supportedCustomObjects
- 
Method Details- 
builderGet a builder instance to construct a new security provider. Alternative approach iscreate(Config)(orcreate(Config)).- Returns:
- builder to fluently construct Basic security provider
 
- 
createLoad 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
 
- 
authenticateDescription copied from interface:AuthenticationProviderAuthenticate a request. This may be just resolving headers (tokens) or full authentication (basic auth). Do not throw exception for normal processing (e.g. invalid credentials; you may throw an exception in case of misconfiguration). This method will be invoked for inbound requests ONLY.This method must provide either a Principalor a wholeSubjecteither for a user or for service (or both).- Specified by:
- authenticatein interface- AuthenticationProvider
- Parameters:
- providerRequest- context of this security enforcement/validation
- Returns:
- response that either authenticates the request, fails authentication or abstains from authentication
- See Also:
 
 
-