public static final class HudsonPrivateSecurityRealm.Details extends UserProperty
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 |
---|---|
GrantedAuthority[] |
getAuthorities()
Deprecated.
|
Collection<? extends org.springframework.security.core.GrantedAuthority> |
getAuthorities2() |
String |
getPassword() |
String |
getProtectedPassword() |
String |
getUsername() |
boolean |
isAccountNonExpired() |
boolean |
isAccountNonLocked() |
boolean |
isCredentialsNonExpired() |
boolean |
isEnabled() |
boolean |
isPasswordCorrect(String candidate) |
all, getDescriptor, reconfigure, setUser
public Collection<? extends org.springframework.security.core.GrantedAuthority> getAuthorities2()
@Deprecated public GrantedAuthority[] getAuthorities()
getAuthorities2()
public String getPassword()
public boolean isPasswordCorrect(String candidate)
public String getProtectedPassword()
public String getUsername()
public boolean isAccountNonExpired()
public boolean isAccountNonLocked()
public boolean isCredentialsNonExpired()
public boolean isEnabled()
Copyright © 2004–2021. All rights reserved.