hudson.plugins.active_directory
Class ActiveDirectoryUserDetail

java.lang.Object
  extended by org.acegisecurity.userdetails.User
      extended by hudson.plugins.active_directory.ActiveDirectoryUserDetail
All Implemented Interfaces:
Serializable, org.acegisecurity.userdetails.UserDetails

public class ActiveDirectoryUserDetail
extends org.acegisecurity.userdetails.User

Author:
Kohsuke Kawaguchi
See Also:
Serialized Form

Constructor Summary
ActiveDirectoryUserDetail(String username, String password, boolean enabled, boolean accountNonExpired, boolean credentialsNonExpired, boolean accountNonLocked, org.acegisecurity.GrantedAuthority[] authorities, String displayName, String mail, String telephoneNumber)
           
 
Method Summary
 String getDisplayName()
           
 hudson.model.User getJenkinsUser()
          Gets the corresponding User object.
 String getMail()
           
static long getSerialVersionUID()
           
 String getTelephoneNumber()
           
 org.acegisecurity.userdetails.UserDetails updateUserInfo()
          Use the information to update the User object.
 
Methods inherited from class org.acegisecurity.userdetails.User
equals, getAuthorities, getPassword, getUsername, hashCode, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled, setAuthorities, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActiveDirectoryUserDetail

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
Throws:
IllegalArgumentException
Method Detail

getDisplayName

public String getDisplayName()

getMail

public String getMail()

getTelephoneNumber

public String getTelephoneNumber()

getSerialVersionUID

public static long getSerialVersionUID()

getJenkinsUser

public hudson.model.User getJenkinsUser()
Gets the corresponding User object.


updateUserInfo

public org.acegisecurity.userdetails.UserDetails updateUserInfo()
Use the information to update the User object.

Returns:
this


Copyright © 2004-2012. All Rights Reserved.