Class GlobalSunJaasKerberosConfig

java.lang.Object
org.springframework.security.kerberos.authentication.sun.GlobalSunJaasKerberosConfig
All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.InitializingBean

public class GlobalSunJaasKerberosConfig extends Object implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.InitializingBean
Config for global jaas.
Since:
1.0
  • Constructor Details

    • GlobalSunJaasKerberosConfig

      public GlobalSunJaasKerberosConfig()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • setDebug

      public void setDebug(boolean debug)
      Enable debug logs from the Sun Kerberos Implementation. Default is false.
      Parameters:
      debug - true if debug should be enabled
    • setKrbConfLocation

      public void setKrbConfLocation(String krbConfLocation)
      Kerberos config file location can be specified here.
      Parameters:
      krbConfLocation - the path to krb config file
    • postProcessAfterInitialization

      public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
      Specified by:
      postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
      Throws:
      org.springframework.beans.BeansException
    • postProcessBeforeInitialization

      public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
      Specified by:
      postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
      Throws:
      org.springframework.beans.BeansException