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 TypeMethodDescriptionvoid
postProcessAfterInitialization
(Object bean, String beanName) postProcessBeforeInitialization
(Object bean, String beanName) void
setDebug
(boolean debug) Enable debug logs from the Sun Kerberos Implementation.void
setKrbConfLocation
(String krbConfLocation) Kerberos config file location can be specified here.
-
Constructor Details
-
GlobalSunJaasKerberosConfig
public GlobalSunJaasKerberosConfig()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in 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:
postProcessAfterInitialization
in 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:
postProcessBeforeInitialization
in interfaceorg.springframework.beans.factory.config.BeanPostProcessor
- Throws:
org.springframework.beans.BeansException
-