public class AutoConfiguredAuthenticationInitializer extends AbstractAuthInitialize
AutoConfiguredAuthenticationInitializer
class is an AuthInitialize
implementation,
which auto-configures security, and specifically authentication, for Apache Geode/Pivotal GemFire.Properties
,
AuthInitialize
,
Authentication
Modifier and Type | Field and Description |
---|---|
protected static Properties |
NO_PARAMETERS |
static String |
SECURITY_PASSWORD_PROPERTY |
static String |
SECURITY_USERNAME_PROPERTY |
TEMPLATE_BEAN_NAME_PROPERTY
Constructor and Description |
---|
AutoConfiguredAuthenticationInitializer() |
Modifier and Type | Method and Description |
---|---|
protected Properties |
doGetCredentials(Properties properties) |
protected Optional<Authentication<String,String>> |
getAuthentication() |
static AutoConfiguredAuthenticationInitializer |
newAuthenticationInitializer()
Factory method used to construct a new instance of
AutoConfiguredAuthenticationInitializer
that will be auto-wired with a SDG Authentication providing Apache Geode Security and Auth
were configured/requested. |
void |
setAuthentication(Authentication<String,String> authentication) |
doInit, getCredentials, getEnvironment, init, setEnvironment
configureThis, configureThis, initialize, newBeanConfigurer, newBeanConfigurer
close, getBeanFactory, getBeanFactoryKey, locateBeanFactory, locateBeanFactory, setBeanFactoryKey
public static final String SECURITY_USERNAME_PROPERTY
public static final String SECURITY_PASSWORD_PROPERTY
protected static final Properties NO_PARAMETERS
public AutoConfiguredAuthenticationInitializer()
public static AutoConfiguredAuthenticationInitializer newAuthenticationInitializer()
AutoConfiguredAuthenticationInitializer
that will be auto-wired with a SDG Authentication
providing Apache Geode Security and Auth
were configured/requested.AutoConfiguredAuthenticationInitializer
.AutoConfiguredAuthenticationInitializer
@Autowired(required=false) public void setAuthentication(@Nullable Authentication<String,String> authentication)
protected Optional<Authentication<String,String>> getAuthentication()
@NonNull protected Properties doGetCredentials(@NonNull Properties properties)
doGetCredentials
in class AbstractAuthInitialize
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.