@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited @Documented @Import(value={ApacheShiroSecurityConfiguration.class,AutoConfiguredAuthenticationConfiguration.class,GeodeIntegratedSecurityConfiguration.class}) @UsesGemFireProperties public @interface EnableSecurity
EnableSecurity
annotation marks a Spring @Configuration
annotated Class
to configure and enable Pivotal GemFire/Apache Geode's Security features for authentication, authorization
and post processing.Annotation
,
AuthInitialize
,
SecurityManager
,
PostProcessor
,
Import
,
ApacheShiroSecurityConfiguration
,
GeodeIntegratedSecurityConfiguration
Modifier and Type | Optional Element and Description |
---|---|
String |
clientAuthenticationInitializer
Used for authentication.
|
String |
peerAuthenticationInitializer
Used with authentication.
|
Class<?> |
securityManagerClass
Specifies the application
Class type implementing the Apache Geode
SecurityManager interface to enable security in Apache Geode. |
String |
securityManagerClassName
Specifies the fully-qualified class name of the application
Class implementing the Apache Geode
SecurityManager interface to enable security in Apache Geode. |
String |
securityPassword
The security-password used by a GemFire cache client application required to authenticate.
|
Class<?> |
securityPostProcessorClass
Specifies the application
Class type implementing the Apache Geode
PostProcessor interface, which used to transform sensitive data
returned from secure data access operations. |
String |
securityPostProcessorClassName
Specifies the fully-qualified class name of the application
Class implementing the Apache Geode
PostProcessor interface, which used to transform sensitive data
returned from secure data access operations. |
String |
securityUsername
The security-username used by a GemFire cache client application required to authenticate.
|
String |
shiroIniResourcePath
Sets the Geode System Property referring to the location of an Apache Shiro INI file used to configure
the Apache Shiro Security Framework to secure Apache Geode.
|
public abstract String clientAuthenticationInitializer
AuthInitialize
object,
which obtains credentials for clients.
Defaults to unset.
Use the spring.data.gemfire.security.client.authentication-initializer property
in application.properties.public abstract String peerAuthenticationInitializer
AuthInitialize
object, which obtains
credentials for peers in a distributed system.
Defaults to unset.
Use the spring.data.gemfire.security.peer.authentication-initializer property
in application.properties.public abstract String securityManagerClassName
Class
implementing the Apache Geode
SecurityManager
interface to enable security in Apache Geode.
Use this Annotation attribute if you are uncertain whether the application class is on the classpath or not.
Default is unset.
Use the spring.data.gemfire.security.manager.class-name property in application.properties.public abstract Class<?> securityPostProcessorClass
Class
type implementing the Apache Geode
PostProcessor
interface, which used to transform sensitive data
returned from secure data access operations.
Defaults to Void
.public abstract String securityPostProcessorClassName
Class
implementing the Apache Geode
PostProcessor
interface, which used to transform sensitive data
returned from secure data access operations.
Use this Annotation attribute if you are uncertain whether the application class is on the classpath or not.
Default is unset.
Use the spring.data.gemfire.security.postprocessor.class-name property
in application.properties.public abstract String securityUsername
public abstract String securityPassword
public abstract String shiroIniResourcePath
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.