public class AuthenticationProviderHolder extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
AuthenticationProviderHolder.AuthenticationProvider
Provider to handle authentication.
|
Modifier and Type | Field and Description |
---|---|
static AuthenticationProviderHolder.AuthenticationProvider |
DEFAULT_PROVIDER
The default provider will construct a new pool on every request.
|
Constructor and Description |
---|
AuthenticationProviderHolder() |
Modifier and Type | Method and Description |
---|---|
static AuthenticationProviderHolder.AuthenticationProvider |
getAuthenticationProvider()
Get the currently set
AuthenticationProviderHolder.AuthenticationProvider from set invocations via
setAuthenticationProvider(AuthenticationProvider) . |
static void |
setAuthenticationProvider(AuthenticationProviderHolder.AuthenticationProvider newProvider)
Change the current set authentication provider.
|
public static AuthenticationProviderHolder.AuthenticationProvider DEFAULT_PROVIDER
public static AuthenticationProviderHolder.AuthenticationProvider getAuthenticationProvider()
AuthenticationProviderHolder.AuthenticationProvider
from set invocations via
setAuthenticationProvider(AuthenticationProvider)
.
If none has been set a default provider will be provided (never a null
result).public static void setAuthenticationProvider(AuthenticationProviderHolder.AuthenticationProvider newProvider)
getAuthenticationProvider()
.newProvider
- New provider to use, or null
to use the default providerCopyright © 2016. All rights reserved.