public static final class HudsonPrivateSecurityRealm.Details extends UserProperty implements InvalidatableUserDetails
UserProperty that provides the UserDetails view of the User object.
When a User object has this property on it, it means the user is configured
for log-in.
When a User object is re-configured via the UI, the password
is sent to the hidden input field by using Protector, so that
the same password can be retained but without leaking information to the browser.
| Modifier and Type | Class and Description |
|---|---|
static class |
HudsonPrivateSecurityRealm.Details.ConverterImpl |
static class |
HudsonPrivateSecurityRealm.Details.DescriptorImpl |
ExtensionPoint.LegacyInstancesAreScopedToHudsonuser| Modifier and Type | Method and Description |
|---|---|
org.acegisecurity.GrantedAuthority[] |
getAuthorities() |
String |
getPassword() |
String |
getProtectedPassword() |
String |
getUsername() |
boolean |
isAccountNonExpired() |
boolean |
isAccountNonLocked() |
boolean |
isCredentialsNonExpired() |
boolean |
isEnabled() |
boolean |
isInvalid() |
boolean |
isPasswordCorrect(String candidate) |
all, getDescriptor, reconfigurepublic org.acegisecurity.GrantedAuthority[] getAuthorities()
getAuthorities in interface org.acegisecurity.userdetails.UserDetailspublic String getPassword()
getPassword in interface org.acegisecurity.userdetails.UserDetailspublic boolean isPasswordCorrect(String candidate)
public String getProtectedPassword()
public String getUsername()
getUsername in interface org.acegisecurity.userdetails.UserDetailspublic boolean isAccountNonExpired()
isAccountNonExpired in interface org.acegisecurity.userdetails.UserDetailspublic boolean isAccountNonLocked()
isAccountNonLocked in interface org.acegisecurity.userdetails.UserDetailspublic boolean isCredentialsNonExpired()
isCredentialsNonExpired in interface org.acegisecurity.userdetails.UserDetailspublic boolean isEnabled()
isEnabled in interface org.acegisecurity.userdetails.UserDetailspublic boolean isInvalid()
isInvalid in interface InvalidatableUserDetailsCopyright © 2019. All rights reserved.