Package hudson.security
Class HudsonPrivateSecurityRealm.Details
- java.lang.Object
-
- hudson.model.UserProperty
-
- hudson.security.HudsonPrivateSecurityRealm.Details
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<UserProperty>
,ReconfigurableDescribable<UserProperty>
- Enclosing class:
- HudsonPrivateSecurityRealm
public static final class HudsonPrivateSecurityRealm.Details extends UserProperty
UserProperty
that provides theUserDetails
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 usingProtector
, so that the same password can be retained but without leaking information to the browser.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HudsonPrivateSecurityRealm.Details.ConverterImpl
static class
HudsonPrivateSecurityRealm.Details.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class hudson.model.UserProperty
user
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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)
-
Methods inherited from class hudson.model.UserProperty
all, getDescriptor, reconfigure, setUser
-
-
-
-
Method Detail
-
getAuthorities2
public Collection<? extends org.springframework.security.core.GrantedAuthority> getAuthorities2()
- Since:
- 2.266
-
getAuthorities
@Deprecated public GrantedAuthority[] getAuthorities()
Deprecated.
-
getPassword
public String getPassword()
-
isPasswordCorrect
public boolean isPasswordCorrect(String candidate)
-
getProtectedPassword
public String getProtectedPassword()
-
getUsername
public String getUsername()
-
isAccountNonExpired
public boolean isAccountNonExpired()
-
isAccountNonLocked
public boolean isAccountNonLocked()
-
isCredentialsNonExpired
public boolean isCredentialsNonExpired()
-
isEnabled
public boolean isEnabled()
-
-