Package org.duracloud.duradmin.security
Class DummyUserService
java.lang.Object
org.duracloud.duradmin.security.DummyUserService
- All Implemented Interfaces:
org.springframework.security.core.userdetails.UserDetailsService
public class DummyUserService
extends Object
implements org.springframework.security.core.userdetails.UserDetailsService
Spring security configuration seems to require a user detail service. I played with it for a while
and couldn't see how to get around this requirement. This class doesn't seem to be called
by the security framework at all.
- Version:
- $Id$
- Author:
- Daniel Bernstein
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.core.userdetails.UserDetailsloadUserByUsername(String username)
-
Constructor Details
-
DummyUserService
public DummyUserService()
-
-
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:
loadUserByUsernamein interfaceorg.springframework.security.core.userdetails.UserDetailsService- Throws:
org.springframework.security.core.userdetails.UsernameNotFoundExceptionorg.springframework.dao.DataAccessException
-