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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpostProcessAfterInitialization(Object bean, String beanName) postProcessBeforeInitialization(Object bean, String beanName) voidsetDebug(boolean debug) Enable debug logs from the Sun Kerberos Implementation.voidsetKrbConfLocation(String krbConfLocation) Kerberos config file location can be specified here.
-
Constructor Details
-
GlobalSunJaasKerberosConfig
public GlobalSunJaasKerberosConfig()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.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
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:
postProcessAfterInitializationin interfaceorg.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:
postProcessBeforeInitializationin interfaceorg.springframework.beans.factory.config.BeanPostProcessor- Throws:
org.springframework.beans.BeansException
-