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
-
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
-
postProcessBeforeInitialization
-