mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 14:02:22 +00:00
NPE fix
This commit is contained in:
1 parent
a4e29ae0df
commit
accc0e59d3
1 file changed
+1
-1
@@ -43,7 +43,7 @@ public class ImpersonatingUserDetailsService implements UserDetailsService {
|
||||
if (u!=null) {
|
||||
LastGrantedAuthoritiesProperty p = u.getProperty(LastGrantedAuthoritiesProperty.class);
|
||||
if (p!=null)
|
||||
return new org.acegisecurity.userdetails.User(username,null,true,true,true,true,
|
||||
return new org.acegisecurity.userdetails.User(username,"",true,true,true,true,
|
||||
p.getAuthorities());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user