Spring Data for VMware GemFire
Annotation Interface EnableSecurity
@Target(TYPE)
@Retention(RUNTIME)
@Inherited
@Documented
@Import({ApacheShiroSecurityConfiguration.class,AuthenticationBeanConfiguration.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
- See Also:
- 
- Annotation
- AuthInitialize
- SecurityManager
- PostProcessor
- Import
- ApacheShiroSecurityConfiguration
- AuthenticationBeanConfiguration
- AutoConfiguredAuthenticationConfiguration
- GeodeIntegratedSecurityConfiguration
 
- 
Optional Element SummaryOptional ElementsModifier and TypeOptional ElementDescriptionUsed for authentication.Used with authentication.Class<?>Specifies the applicationClasstype implementing the Apache GeodeSecurityManagerinterface to enable security in Apache Geode.Specifies the fully-qualified class name of the applicationClassimplementing the Apache GeodeSecurityManagerinterface to enable security in Apache Geode.The security-password used by a GemFire cache client application required to authenticate.Class<?>Specifies the applicationClasstype implementing the Apache GeodePostProcessorinterface, which used to transform sensitive data returned from secure data access operations.Specifies the fully-qualified class name of the applicationClassimplementing the Apache GeodePostProcessorinterface, 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- 
clientAuthenticationInitializerString clientAuthenticationInitializerUsed for authentication. Static creation method returning anAuthInitializeobject, which obtains credentials for clients. Defaults to unset. Use the spring.data.gemfire.security.client.authentication-initializer property in application.properties.- Default:
- ""
 
- 
peerAuthenticationInitializerString peerAuthenticationInitializerUsed with authentication. Static creation method returning anAuthInitializeobject, 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:
- ""
 
- 
securityManagerClassClass<?> securityManagerClassSpecifies the applicationClasstype implementing the Apache GeodeSecurityManagerinterface to enable security in Apache Geode. Defaults toVoid.- Default:
- java.lang.Void.class
 
- 
securityManagerClassNameString securityManagerClassNameSpecifies the fully-qualified class name of the applicationClassimplementing the Apache GeodeSecurityManagerinterface 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:
- ""
 
- 
securityPostProcessorClassClass<?> securityPostProcessorClassSpecifies the applicationClasstype implementing the Apache GeodePostProcessorinterface, which used to transform sensitive data returned from secure data access operations. Defaults toVoid.- Default:
- java.lang.Void.class
 
- 
securityPostProcessorClassNameString securityPostProcessorClassNameSpecifies the fully-qualified class name of the applicationClassimplementing the Apache GeodePostProcessorinterface, 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:
- ""
 
- 
securityUsernameString 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:
- ""
 
- 
securityPasswordString 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:
- ""
 
- 
shiroIniResourcePathString 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:
- ""
 
 
- 
