Annotation Interface EnableSecurity
@Target(TYPE)
@Retention(RUNTIME)
@Inherited
@Documented
@Import({ApacheShiroSecurityConfiguration.class,AutoConfiguredAuthenticationConfiguration.class,GeodeIntegratedSecurityConfiguration.class})
@UsesGemFireProperties
public @interface EnableSecurity
The
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.- Since:
- 1.0.0
- Author:
- John Blum
- See Also:
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionUsed for authentication.Used with authentication.Class<?>
Specifies the applicationClass
type implementing the Apache GeodeSecurityManager
interface to enable security in Apache Geode.Specifies the fully-qualified class name of the applicationClass
implementing the Apache GeodeSecurityManager
interface to enable security in Apache Geode.The security-password used by a GemFire cache client application required to authenticate.Class<?>
Specifies the applicationClass
type implementing the Apache GeodePostProcessor
interface, which used to transform sensitive data returned from secure data access operations.Specifies the fully-qualified class name of the applicationClass
implementing the Apache GeodePostProcessor
interface, which used to transform sensitive data returned from secure data access operations.The security-username used by a GemFire cache client application required to authenticate.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.
-
Element Details
-
clientAuthenticationInitializer
String clientAuthenticationInitializerUsed for authentication. Static creation method returning anAuthInitialize
object, which obtains credentials for clients. Defaults to unset. Use the spring.data.gemfire.security.client.authentication-initializer property in application.properties.- Default:
- ""
-
peerAuthenticationInitializer
String peerAuthenticationInitializerUsed with authentication. Static creation method returning anAuthInitialize
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.- Default:
- ""
-
securityManagerClass
Class<?> securityManagerClassSpecifies the applicationClass
type implementing the Apache GeodeSecurityManager
interface to enable security in Apache Geode. Defaults toVoid
.- Default:
- java.lang.Void.class
-
securityManagerClassName
String securityManagerClassNameSpecifies the fully-qualified class name of the applicationClass
implementing the Apache GeodeSecurityManager
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.- Default:
- ""
-
securityPostProcessorClass
Class<?> securityPostProcessorClassSpecifies the applicationClass
type implementing the Apache GeodePostProcessor
interface, which used to transform sensitive data returned from secure data access operations. Defaults toVoid
.- Default:
- java.lang.Void.class
-
securityPostProcessorClassName
String securityPostProcessorClassNameSpecifies the fully-qualified class name of the applicationClass
implementing the Apache GeodePostProcessor
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.- Default:
- ""
-
securityUsername
String securityUsernameThe security-username used by a GemFire cache client application required to authenticate. Defaults to unset. Use the spring.data.gemfire.security.username in application.properties.- Default:
- ""
-
securityPassword
String securityPasswordThe security-password used by a GemFire cache client application required to authenticate. Defaults to unset. Use the spring.data.gemfire.security.password in application.properties.- Default:
- ""
-
shiroIniResourcePath
String shiroIniResourcePathSets 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. Default is unset. Use the spring.data.gemfire.security.shiro.ini-resource-path property in application.properties.- Default:
- ""
-