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
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.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static final class
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.model.UserProperty
user
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Collection<? extends org.springframework.security.core.GrantedAuthority>
boolean
boolean
boolean
boolean
boolean
isPasswordCorrect
(String candidate) Methods inherited from class hudson.model.UserProperty
all, allByCategoryClass, getDescriptor, reconfigure, reconfigure, setUser
-
Method Details
-
getAuthorities2
- Since:
- 2.266
-
getAuthorities
Deprecated. -
getPassword
-
isPasswordCorrect
-
getProtectedPassword
-
getUsername
-
isAccountNonExpired
public boolean isAccountNonExpired() -
isAccountNonLocked
public boolean isAccountNonLocked() -
isCredentialsNonExpired
public boolean isCredentialsNonExpired() -
isEnabled
public boolean isEnabled()
-
getAuthorities2()