public class ActiveDirectoryUserDetail
extends org.acegisecurity.userdetails.User
| Constructor and Description |
|---|
ActiveDirectoryUserDetail(String username,
String password,
boolean enabled,
boolean accountNonExpired,
boolean credentialsNonExpired,
boolean accountNonLocked,
org.acegisecurity.GrantedAuthority[] authorities,
String displayName,
String mail,
String telephoneNumber) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDisplayName() |
hudson.model.User |
getJenkinsUser()
Gets the corresponding
User object. |
String |
getMail() |
static long |
getSerialVersionUID() |
String |
getTelephoneNumber() |
int |
hashCode() |
protected void |
setAuthorities(org.acegisecurity.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 |
org.acegisecurity.userdetails.UserDetails |
updateUserInfo()
Use the information to update the
User object. |
public ActiveDirectoryUserDetail(String username, String password, boolean enabled, boolean accountNonExpired, boolean credentialsNonExpired, boolean accountNonLocked, org.acegisecurity.GrantedAuthority[] authorities, String displayName, String mail, String telephoneNumber) throws IllegalArgumentException
IllegalArgumentExceptionpublic String getDisplayName()
public String getMail()
public String getTelephoneNumber()
public String toString()
toString in class org.acegisecurity.userdetails.Userpublic boolean equals(Object o)
equals in class org.acegisecurity.userdetails.Userpublic int hashCode()
hashCode in class org.acegisecurity.userdetails.Userprotected void setAuthorities(org.acegisecurity.GrantedAuthority[] authorities)
setAuthorities in class org.acegisecurity.userdetails.Userpublic static long getSerialVersionUID()
public hudson.model.User getJenkinsUser()
User object.public org.acegisecurity.userdetails.UserDetails updateUserInfo()
User object.Copyright © 2016–2017. All rights reserved.