Class NodeUserDetailsService

java.lang.Object
net.solarnetwork.central.security.NodeUserDetailsService
All Implemented Interfaces:
org.springframework.security.core.userdetails.UserDetailsService

public class NodeUserDetailsService extends Object implements org.springframework.security.core.userdetails.UserDetailsService
Implementation of UserDetailsService for X.509 authenticated nodes.
  • Field Details

    • AUTHORITIES

      protected static final Collection<org.springframework.security.core.GrantedAuthority> AUTHORITIES
      The default authorities to grant.
  • Constructor Details

    • NodeUserDetailsService

      public NodeUserDetailsService()
  • Method Details

    • loadUserByUsername

      public org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String username) 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