@Configuration @Import(value=BeanFactoryLocatorConfiguration.class) @Conditional(value=AutoConfiguredAuthenticationConfiguration.AutoConfiguredAuthenticationCondition.class) public class AutoConfiguredAuthenticationConfiguration extends Object
AutoConfiguredAuthenticationConfiguration
class is a Spring @Configuration
class
that auto-configures Pivotal GemFire / Apache Geode Authentication by providing a implementation
of the AuthInitialize
interface along with setting the necessary GemFire / Geode
properties.Properties
,
AuthInitialize
,
Bean
,
Condition
,
Conditional
,
Configuration
,
Import
,
Environment
,
EnableBeanFactoryLocator
,
AutoConfiguredAuthenticationInitializer
,
PropertiesBuilder
Modifier and Type | Class and Description |
---|---|
static class |
AutoConfiguredAuthenticationConfiguration.AutoConfiguredAuthenticationCondition |
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 |
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 |
authenticationCredentialsSettingClientCacheConfigurer(Environment environment) |
PeerCacheConfigurer |
authenticationCredentialsSettingPeerCacheConfigurer(Environment environment) |
Authenticator |
authenticator(Environment environment) |
RestTemplateConfigurer |
loggingAwareRestTemplateConfigurer() |
RestTemplateConfigurer |
securityAwareRestTemplateConfigurer(Authenticator authenticator) |
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 SECURITY_CLIENT_AUTH_INIT
protected static final String SECURITY_PASSWORD
protected static final String SECURITY_PEER_AUTH_INIT
protected static final String SECURITY_USERNAME
public AutoConfiguredAuthenticationConfiguration()
@Bean(value="GemFireSecurityAuthenticator") public Authenticator authenticator(Environment environment)
@Bean @Order(value=2147483647) public RestTemplateConfigurer loggingAwareRestTemplateConfigurer()
@Bean @Order(value=-2147483648) public RestTemplateConfigurer securityAwareRestTemplateConfigurer(Authenticator authenticator)
@Bean public ClientCacheConfigurer authenticationCredentialsSettingClientCacheConfigurer(Environment environment)
@Bean public PeerCacheConfigurer authenticationCredentialsSettingPeerCacheConfigurer(Environment environment)
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.