Class CasUserDetailsService
- java.lang.Object
-
- com.logicaldoc.enterprise.security.cas.CasUserDetailsService
-
- All Implemented Interfaces:
org.springframework.security.core.userdetails.UserDetailsService
public class CasUserDetailsService extends Object implements org.springframework.security.core.userdetails.UserDetailsService
Retrieves the user details using the LogicalDOC database.- Since:
- 8.1
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description CasUserDetailsService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.core.userdetails.UserDetails
loadUserByUsername(String username)
void
setAuthenticationChain(AuthenticationChain authenticationChain)
void
setConfig(com.logicaldoc.util.config.ContextProperties config)
void
setGroupDao(com.logicaldoc.core.security.dao.GroupDAO groupDao)
void
setUserDao(com.logicaldoc.core.security.dao.UserDAO userDao)
-
-
-
Method Detail
-
loadUserByUsername
public org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String username) throws org.springframework.security.core.userdetails.UsernameNotFoundException
- Specified by:
loadUserByUsername
in interfaceorg.springframework.security.core.userdetails.UserDetailsService
- Throws:
org.springframework.security.core.userdetails.UsernameNotFoundException
-
setUserDao
public void setUserDao(com.logicaldoc.core.security.dao.UserDAO userDao)
-
setGroupDao
public void setGroupDao(com.logicaldoc.core.security.dao.GroupDAO groupDao)
-
setConfig
public void setConfig(com.logicaldoc.util.config.ContextProperties config)
-
setAuthenticationChain
public void setAuthenticationChain(AuthenticationChain authenticationChain)
-
-