Class UserDetailsServiceProxy

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

    @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
    public class UserDetailsServiceProxy
    extends Object
    implements org.springframework.security.core.userdetails.UserDetailsService
    UserDetailsService proxy that delegates to another instance.
    Author:
    Kohsuke Kawaguchi
    • Constructor Detail

      • UserDetailsServiceProxy

        public UserDetailsServiceProxy()
    • 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
      • setDelegate

        public void setDelegate​(org.springframework.security.core.userdetails.UserDetailsService core)