Class AuthenticationBeanConfiguration

java.lang.Object
org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
org.springframework.data.gemfire.config.annotation.AuthenticationBeanConfiguration
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.context.annotation.ImportAware, org.springframework.context.EnvironmentAware

@Configuration public class AuthenticationBeanConfiguration extends AbstractAnnotationConfigSupport implements org.springframework.context.annotation.ImportAware
Spring Configuration class used to configure and register an Authentication object based on security (auth) configuration metadata supplied in the EnableSecurity annotation.
Since:
1.0.0
See Also:
  • Constructor Details

    • AuthenticationBeanConfiguration

      public AuthenticationBeanConfiguration()
  • Method Details

    • getAnnotationType

      protected Class<? extends Annotation> getAnnotationType()
      Description copied from class: AbstractAnnotationConfigSupport
      Returns the cache application Annotation type pertaining to this configuration.
      Specified by:
      getAnnotationType in class AbstractAnnotationConfigSupport
      Returns:
      the cache application Annotation type used by this application.
    • setUsername

      protected void setUsername(@Nullable String username)
    • setPassword

      protected void setPassword(@Nullable String password)
    • setImportMetadata

      public void setImportMetadata(@NonNull org.springframework.core.type.AnnotationMetadata importMetadata)
      Specified by:
      setImportMetadata in interface org.springframework.context.annotation.ImportAware
    • springDataGeodeAuthentication

      @Bean @NonNull public Authentication<String,String> springDataGeodeAuthentication()
    • isAuthenticationCredentialsSet

      protected boolean isAuthenticationCredentialsSet(String username, char[] password)