-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
Platform: All, OS: All
Hudson r15380
RememberMe doesn't work with PAMSecurityRealm correctly.
SecurityRealm.java 87L, returning dummy instance causes this bug? but I have no
idea.
new UserDetailsService() {
public UserDetails loadUserByUsername(String username) throws
UsernameNotFoundException, DataAccessException {
if(!UnixUser.exists(username))
throw new UsernameNotFoundException("No such Unix user:
"+username);
// return some dummy instance
return new User(username,"",true,true,true,true,
new GrantedAuthority[]
);
}
}