Class CxboxAuthenticationServiceImpl

  • All Implemented Interfaces:
    org.cxbox.api.service.session.CxboxAuthenticationService, org.springframework.security.core.userdetails.UserDetailsService

    @Service
    public class CxboxAuthenticationServiceImpl
    extends Object
    implements org.cxbox.api.service.session.CxboxAuthenticationService
    • Constructor Detail

      • CxboxAuthenticationServiceImpl

        public CxboxAuthenticationServiceImpl()
    • 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.cxbox.api.service.session.CxboxAuthenticationService
        Specified by:
        loadUserByUsername in interface org.springframework.security.core.userdetails.UserDetailsService
        Throws:
        org.springframework.security.core.userdetails.UsernameNotFoundException
      • loadUserByUsername

        public org.springframework.security.core.userdetails.UserDetails loadUserByUsername​(String username,
                                                                                            org.cxbox.api.data.dictionary.LOV userRole)
                                                                                     throws org.springframework.security.core.userdetails.UsernameNotFoundException
        Specified by:
        loadUserByUsername in interface org.cxbox.api.service.session.CxboxAuthenticationService
        Throws:
        org.springframework.security.core.userdetails.UsernameNotFoundException