hudson.security
Class HudsonPrivateSecurityRealm.Details
java.lang.Object
hudson.model.UserProperty
hudson.security.HudsonPrivateSecurityRealm.Details
- All Implemented Interfaces:
- ExtensionPoint, Describable<UserProperty>, ReconfigurableDescribable<UserProperty>, InvalidatableUserDetails, Serializable, org.acegisecurity.userdetails.UserDetails
- Enclosing class:
- HudsonPrivateSecurityRealm
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.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getAuthorities
public org.acegisecurity.GrantedAuthority[] getAuthorities()
- Specified by:
getAuthorities
in interface org.acegisecurity.userdetails.UserDetails
getPassword
public String getPassword()
- Specified by:
getPassword
in interface org.acegisecurity.userdetails.UserDetails
isPasswordCorrect
public boolean isPasswordCorrect(String candidate)
getProtectedPassword
public String getProtectedPassword()
getUsername
public String getUsername()
- Specified by:
getUsername
in interface org.acegisecurity.userdetails.UserDetails
isAccountNonExpired
public boolean isAccountNonExpired()
- Specified by:
isAccountNonExpired
in interface org.acegisecurity.userdetails.UserDetails
isAccountNonLocked
public boolean isAccountNonLocked()
- Specified by:
isAccountNonLocked
in interface org.acegisecurity.userdetails.UserDetails
isCredentialsNonExpired
public boolean isCredentialsNonExpired()
- Specified by:
isCredentialsNonExpired
in interface org.acegisecurity.userdetails.UserDetails
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interface org.acegisecurity.userdetails.UserDetails
isInvalid
public boolean isInvalid()
- Specified by:
isInvalid
in interface InvalidatableUserDetails
Copyright © 2004-2013. All Rights Reserved.