@Configuration @EnableBeanFactoryLocator @Conditional(value=AutoConfiguredAuthenticationConfiguration.AuthenticationAutoConfigurationEnabledCondition.class) public class AutoConfiguredAuthenticationConfiguration extends Object
AutoConfiguredAuthenticationConfiguration
class is a Spring Configuration
class
that auto-configures Apache Geode Authentication by providing an implementation of the AuthInitialize
interface along with setting the necessary Apache Geode Properties
.Authenticator
,
PasswordAuthentication
,
Properties
,
AuthInitialize
,
ConfigurableListableBeanFactory
,
Bean
,
Condition
,
Configuration
,
ConfigurationCondition
,
Environment
,
GemFireProperties
,
EnableBeanFactoryLocator
,
Authentication
,
AutoConfiguredAuthenticationInitializer
,
RestTemplateConfigurer
,
PropertiesBuilder
,
ClientHttpRequestInterceptor
Modifier and Type | Class and Description |
---|---|
static class |
AutoConfiguredAuthenticationConfiguration.AuthenticationAutoConfigurationEnabledCondition |
Modifier and Type | Field and Description |
---|---|
protected static String |
AUTO_CONFIGURED_AUTH_INIT_STATIC_FACTORY_METHOD |
protected static String |
DEFAULT_PASSWORD |
protected static String |
DEFAULT_USERNAME |
protected static String |
HTTP_PROTOCOL |
protected static String |
PROPERTY_SOURCE_NAME |
protected static String |
SECURITY_CLIENT_AUTH_INIT |
protected static String |
SECURITY_PASSWORD |
protected static String |
SECURITY_PEER_AUTH_INIT |
protected static String |
SECURITY_USERNAME |
Constructor and Description |
---|
AutoConfiguredAuthenticationConfiguration() |
Modifier and Type | Method and Description |
---|---|
ClientCacheConfigurer |
authenticationInitializingClientCacheConfigurer(Authentication<String,String> authentication) |
LocatorConfigurer |
authenticationInitializingLocatorConfigurer(Authentication<String,String> authentication) |
PeerCacheConfigurer |
authenticationInitializingPeerCacheConfigurer(Authentication<String,String> authentication) |
Authenticator |
authenticator(Authentication<String,String> authentication) |
protected org.slf4j.Logger |
getLogger() |
protected void |
logDebug(String message,
Object... args) |
RestTemplateConfigurer |
loggingAwareRestTemplateConfigurer() |
RestTemplateConfigurer |
securityAwareRestTemplateConfigurer() |
protected static final String AUTO_CONFIGURED_AUTH_INIT_STATIC_FACTORY_METHOD
protected static final String DEFAULT_USERNAME
protected static final String DEFAULT_PASSWORD
protected static final String HTTP_PROTOCOL
protected static final String PROPERTY_SOURCE_NAME
protected static final String SECURITY_CLIENT_AUTH_INIT
protected static final String SECURITY_PEER_AUTH_INIT
protected static final String SECURITY_USERNAME
protected static final String SECURITY_PASSWORD
public AutoConfiguredAuthenticationConfiguration()
@NonNull protected org.slf4j.Logger getLogger()
@Bean(value="GemFireSecurityAuthenticator") @Nullable public Authenticator authenticator(@Autowired(required=false) @Lazy Authentication<String,String> authentication)
@Bean public RestTemplateConfigurer loggingAwareRestTemplateConfigurer()
@Bean public RestTemplateConfigurer securityAwareRestTemplateConfigurer()
@Bean public ClientCacheConfigurer authenticationInitializingClientCacheConfigurer(@Autowired(required=false) @Lazy Authentication<String,String> authentication)
@Bean public LocatorConfigurer authenticationInitializingLocatorConfigurer(@Autowired(required=false) @Lazy Authentication<String,String> authentication)
@Bean public PeerCacheConfigurer authenticationInitializingPeerCacheConfigurer(@Autowired(required=false) @Lazy Authentication<String,String> authentication)
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.