Class 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 Detail

      • CasUserDetailsService

        public CasUserDetailsService()
    • Method Detail

      • loadUserByUsername

        public org.springframework.security.core.userdetails.UserDetails loadUserByUsername​(String username)
                                                                                     throws org.springframework.security.core.userdetails.UsernameNotFoundException
        Specified by:
        loadUserByUsername in interface org.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)