Class ManualAuthenticationServiceBasedSecurityContextFactory
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<org.springframework.security.core.context.SecurityContext>
ubic.gemma.core.security.authentication.ManualAuthenticationServiceBasedSecurityContextFactory
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<org.springframework.security.core.context.SecurityContext>,org.springframework.beans.factory.InitializingBean
public class ManualAuthenticationServiceBasedSecurityContextFactory
extends org.springframework.beans.factory.config.AbstractFactoryBean<org.springframework.security.core.context.SecurityContext>
Creates a security context using manual authentication.
- Author:
- poirigui
-
Field Summary
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.security.core.context.SecurityContextClass<?> voidsetManualAuthenticationService(gemma.gsec.authentication.ManualAuthenticationService manualAuthenticationService) voidsetPassword(String password) voidsetUserName(String userName) Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
ManualAuthenticationServiceBasedSecurityContextFactory
public ManualAuthenticationServiceBasedSecurityContextFactory()
-
-
Method Details
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<org.springframework.security.core.context.SecurityContext>- Specified by:
getObjectTypein classorg.springframework.beans.factory.config.AbstractFactoryBean<org.springframework.security.core.context.SecurityContext>
-
createInstance
protected org.springframework.security.core.context.SecurityContext createInstance()- Specified by:
createInstancein classorg.springframework.beans.factory.config.AbstractFactoryBean<org.springframework.security.core.context.SecurityContext>
-
setManualAuthenticationService
public void setManualAuthenticationService(gemma.gsec.authentication.ManualAuthenticationService manualAuthenticationService) -
setUserName
-
setPassword
-