-
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[]
);
}
}
[JENKINS-3057] RememberMe doesn't work with unix authentication
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JNJira [ 133130 ] | New: JNJira + In-Review [ 201936 ] |
Component/s | New: _unsorted [ 19622 ] | |
Component/s | Original: security [ 15508 ] |