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 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.

  • Method Details

    • 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()