Class AutoConfiguredAuthenticationConfiguration
java.lang.Object
org.springframework.data.gemfire.config.annotation.AutoConfiguredAuthenticationConfiguration
@Configuration
@EnableBeanFactoryLocator
@Conditional(AuthenticationAutoConfigurationEnabledCondition.class)
public class AutoConfiguredAuthenticationConfiguration
extends Object
The
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
.- Since:
- 2.0.0
- See Also:
-
Authenticator
PasswordAuthentication
Properties
AuthInitialize
ConfigurableListableBeanFactory
Bean
Condition
Configuration
ConfigurationCondition
Environment
GemFireProperties
EnableBeanFactoryLocator
Authentication
AutoConfiguredAuthenticationInitializer
RestTemplateConfigurer
PropertiesBuilder
ClientHttpRequestInterceptor
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthenticationInitializingClientCacheConfigurer
(Authentication<String, String> authentication) authenticationInitializingLocatorConfigurer
(Authentication<String, String> authentication) authenticationInitializingPeerCacheConfigurer
(Authentication<String, String> authentication) authenticator
(Authentication<String, String> authentication) protected org.slf4j.Logger
protected void
-
Field Details
-
AUTO_CONFIGURED_AUTH_INIT_STATIC_FACTORY_METHOD
-
DEFAULT_USERNAME
- See Also:
-
DEFAULT_PASSWORD
- See Also:
-
HTTP_PROTOCOL
- See Also:
-
PROPERTY_SOURCE_NAME
-
SECURITY_CLIENT_AUTH_INIT
-
SECURITY_PEER_AUTH_INIT
-
SECURITY_USERNAME
- See Also:
-
SECURITY_PASSWORD
- See Also:
-
-
Constructor Details
-
AutoConfiguredAuthenticationConfiguration
public AutoConfiguredAuthenticationConfiguration()
-
-
Method Details
-
getLogger
@NonNull protected org.slf4j.Logger getLogger() -
logDebug
-
authenticator
@Bean("GemFireSecurityAuthenticator") @Nullable public Authenticator authenticator(@Autowired(required=false) @Lazy Authentication<String, String> authentication) -
loggingAwareRestTemplateConfigurer
-
securityAwareRestTemplateConfigurer
-
authenticationInitializingClientCacheConfigurer
@Bean public ClientCacheConfigurer authenticationInitializingClientCacheConfigurer(@Autowired(required=false) @Lazy Authentication<String, String> authentication) -
authenticationInitializingLocatorConfigurer
@Bean public LocatorConfigurer authenticationInitializingLocatorConfigurer(@Autowired(required=false) @Lazy Authentication<String, String> authentication) -
authenticationInitializingPeerCacheConfigurer
@Bean public PeerCacheConfigurer authenticationInitializingPeerCacheConfigurer(@Autowired(required=false) @Lazy Authentication<String, String> authentication)
-