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.LegacyInstancesAreScopedToHudson
user
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, reconfigure
public org.acegisecurity.GrantedAuthority[] getAuthorities()
getAuthorities
in interface org.acegisecurity.userdetails.UserDetails
public String getPassword()
getPassword
in interface org.acegisecurity.userdetails.UserDetails
public boolean isPasswordCorrect(String candidate)
public String getProtectedPassword()
public String getUsername()
getUsername
in interface org.acegisecurity.userdetails.UserDetails
public boolean isAccountNonExpired()
isAccountNonExpired
in interface org.acegisecurity.userdetails.UserDetails
public boolean isAccountNonLocked()
isAccountNonLocked
in interface org.acegisecurity.userdetails.UserDetails
public boolean isCredentialsNonExpired()
isCredentialsNonExpired
in interface org.acegisecurity.userdetails.UserDetails
public boolean isEnabled()
isEnabled
in interface org.acegisecurity.userdetails.UserDetails
public boolean isInvalid()
isInvalid
in interface InvalidatableUserDetails
Copyright © 2016. All rights reserved.