Class TenantAwareUserDetailsServiceDecorator

  • All Implemented Interfaces:
    org.springframework.security.core.userdetails.UserDetailsService

    public class TenantAwareUserDetailsServiceDecorator
    extends Object
    implements org.springframework.security.core.userdetails.UserDetailsService
    User: nbaker Date: 8/1/13
    • Constructor Detail

      • TenantAwareUserDetailsServiceDecorator

        public TenantAwareUserDetailsServiceDecorator​(org.springframework.security.core.userdetails.UserDetailsService delegate,
                                                      org.pentaho.platform.api.mt.ITenantedPrincipleNameResolver nameResolver)
    • Method Detail

      • loadUserByUsername

        public org.springframework.security.core.userdetails.UserDetails loadUserByUsername​(String s)
                                                                                     throws org.springframework.security.core.userdetails.UsernameNotFoundException,
                                                                                            org.springframework.dao.DataAccessException
        Specified by:
        loadUserByUsername in interface org.springframework.security.core.userdetails.UserDetailsService
        Throws:
        org.springframework.security.core.userdetails.UsernameNotFoundException
        org.springframework.dao.DataAccessException