public class ActiveDirectoryUserDetail extends User
| Constructor and Description |
|---|
ActiveDirectoryUserDetail(String username,
String password,
boolean enabled,
boolean accountNonExpired,
boolean credentialsNonExpired,
boolean accountNonLocked,
GrantedAuthority[] authorities,
String displayName,
String mail,
String telephoneNumber) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDisplayName() |
User |
getJenkinsUser()
Gets the corresponding
User object. |
String |
getMail() |
static long |
getSerialVersionUID() |
String |
getTelephoneNumber() |
int |
hashCode() |
protected void |
setAuthorities(GrantedAuthority[] authorities) |
String |
toString() |
protected void |
updatePasswordInJenkinsInternalDatabase(String username,
String password)
Update the the password for the specified
User in the Jenkins
Internal User Database |
UserDetails |
updateUserInfo()
Use the information to update the
User object. |
getAuthorities, getPassword, getUsername, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabledpublic ActiveDirectoryUserDetail(String username, String password, boolean enabled, boolean accountNonExpired, boolean credentialsNonExpired, boolean accountNonLocked, GrantedAuthority[] authorities, String displayName, String mail, String telephoneNumber) throws IllegalArgumentException
IllegalArgumentExceptionpublic String getDisplayName()
public String getMail()
public String getTelephoneNumber()
protected void setAuthorities(GrantedAuthority[] authorities)
setAuthorities in class Userpublic static long getSerialVersionUID()
public UserDetails updateUserInfo()
User object.Copyright © 2016–2021. All rights reserved.