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:
-
AnnotationAuthInitializeSecurityManagerPostProcessorImportApacheShiroSecurityConfigurationAuthenticationBeanConfigurationAutoConfiguredAuthenticationConfigurationGeodeIntegratedSecurityConfiguration
-
Optional Element Summary
Optional 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
-
clientAuthenticationInitializer
String 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:
- ""
-
peerAuthenticationInitializer
String 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:
- ""
-
securityManagerClass
Class<?> securityManagerClassSpecifies the applicationClasstype implementing the Apache GeodeSecurityManagerinterface to enable security in Apache Geode. Defaults toVoid.- Default:
- java.lang.Void.class
-
securityManagerClassName
String 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:
- ""
-
securityPostProcessorClass
Class<?> 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
-
securityPostProcessorClassName
String 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:
- ""
-
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:
- ""
-