Package org.duracloud.security.impl
Class UserDetailsServiceFactoryBean
- java.lang.Object
-
- org.springframework.beans.factory.config.AbstractFactoryBean<DuracloudUserDetailsService>
-
- org.duracloud.security.impl.UserDetailsServiceFactoryBean
-
- 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<DuracloudUserDetailsService>,org.springframework.beans.factory.InitializingBean
public class UserDetailsServiceFactoryBean extends org.springframework.beans.factory.config.AbstractFactoryBean<DuracloudUserDetailsService>
This class creates a user details service bean according to the configuration of account store and account id of the caller's request context.- Author:
- Daniel Bernstein
-
-
Constructor Summary
Constructors Constructor Description UserDetailsServiceFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DuracloudUserDetailsServicecreateInstance()DuraCloudRequestContextUtilgetAccountIdUtil()Class<DuracloudUserDetailsService>getObjectType()UserDetailsServiceCachegetUserDetailsServiceCache()voidsetAccountIdUtil(DuraCloudRequestContextUtil accountIdUtil)voidsetUserDetailsServiceCache(UserDetailsServiceCache userDetailsServiceCache)
-
-
-
Method Detail
-
createInstance
protected DuracloudUserDetailsService createInstance() throws Exception
- Specified by:
createInstancein classorg.springframework.beans.factory.config.AbstractFactoryBean<DuracloudUserDetailsService>- Throws:
Exception
-
getObjectType
public Class<DuracloudUserDetailsService> getObjectType()
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<DuracloudUserDetailsService>- Specified by:
getObjectTypein classorg.springframework.beans.factory.config.AbstractFactoryBean<DuracloudUserDetailsService>
-
getAccountIdUtil
public DuraCloudRequestContextUtil getAccountIdUtil()
-
setAccountIdUtil
public void setAccountIdUtil(DuraCloudRequestContextUtil accountIdUtil)
-
getUserDetailsServiceCache
public UserDetailsServiceCache getUserDetailsServiceCache()
-
setUserDetailsServiceCache
public void setUserDetailsServiceCache(UserDetailsServiceCache userDetailsServiceCache)
-
-