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
UserPropertythat provides theUserDetailsview of the User object.When a
Userobject has this property on it, it means the user is configured for log-in.When a
Userobject 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 classHudsonPrivateSecurityRealm.Details.ConverterImplstatic classHudsonPrivateSecurityRealm.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()StringgetPassword()StringgetProtectedPassword()StringgetUsername()booleanisAccountNonExpired()booleanisAccountNonLocked()booleanisCredentialsNonExpired()booleanisEnabled()booleanisPasswordCorrect(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()
-
-