public class WwpassIdentity
extends hudson.model.UserProperty
implements org.acegisecurity.userdetails.UserDetails
| Modifier and Type | Class and Description |
|---|---|
static class |
WwpassIdentity.DescriptorImpl |
| Constructor and Description |
|---|
WwpassIdentity(String puid) |
WwpassIdentity(hudson.model.User u,
String puid) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
org.acegisecurity.GrantedAuthority[] |
getAuthorities()
Returns the authorities granted to the user.
|
String |
getEffectiveNick()
Obtains the token suitable as the user ID.
|
String |
getEmail() |
String |
getFullname() |
String |
getNickname() |
String |
getPassword()
This implementation doesn't support password.
|
String |
getPuid() |
String |
getUsername()
Returns the username used to authenticate the user.
|
boolean |
isAccountNonExpired()
Indicates whether the user's account has expired.
|
boolean |
isAccountNonLocked()
Indicates whether the user is locked or unlocked.
|
boolean |
isCredentialsNonExpired()
Indicates whether the user's credentials (password) has expired.
|
boolean |
isEnabled()
Indicates whether the user is enabled or disabled.
|
void |
populate(WwpassSecurityRealm.SignupInfo si) |
void |
setEmail(String email) |
void |
setFullname(String fullname) |
void |
setNickname(String nickname) |
void |
updateProfile(hudson.model.User u)
Updates the user information on Hudson based on the information in this identity.
|
public WwpassIdentity(String puid)
public WwpassIdentity(hudson.model.User u,
String puid)
public void populate(WwpassSecurityRealm.SignupInfo si)
public String getNickname()
public void setNickname(String nickname)
public String getEmail()
public void setEmail(String email)
public String getPuid()
public void setFullname(String fullname)
public String getFullname()
public String getEffectiveNick()
public void updateProfile(hudson.model.User u)
throws IOException
IOExceptionpublic void activate()
public org.acegisecurity.GrantedAuthority[] getAuthorities()
null.getAuthorities in interface org.acegisecurity.userdetails.UserDetailsnull)public String getPassword()
getPassword in interface org.acegisecurity.userdetails.UserDetailspublic String getUsername()
null.getUsername in interface org.acegisecurity.userdetails.UserDetailsnull)public boolean isAccountNonExpired()
isAccountNonExpired in interface org.acegisecurity.userdetails.UserDetailstrue if the user's account is valid (ie non-expired), false if no longer valid
(ie expired)public boolean isAccountNonLocked()
isAccountNonLocked in interface org.acegisecurity.userdetails.UserDetailstrue if the user is not locked, false otherwisepublic boolean isCredentialsNonExpired()
isCredentialsNonExpired in interface org.acegisecurity.userdetails.UserDetailstrue if the user's credentials are valid (ie non-expired), false if no longer
valid (ie expired)public boolean isEnabled()
isEnabled in interface org.acegisecurity.userdetails.UserDetailstrue if the user is enabled, false otherwiseCopyright © 2004-2015. All Rights Reserved.