Class LdapUserDetailsImpl.Essence

  • Direct Known Subclasses:
    Enclosing class:

    public static class LdapUserDetailsImpl.Essence
    extends java.lang.Object
    Variation of essence pattern. Used to create mutable intermediate object
    • Constructor Detail

      • Essence

        public Essence()
      • Essence

        public Essence​(org.springframework.ldap.core.DirContextOperations ctx)
    • Method Detail

      • addAuthority

        public void addAuthority​(GrantedAuthority a)
        Adds the authority to the list, unless it is already there, in which case it is ignored
      • getGrantedAuthorities

        public java.util.Collection<GrantedAuthority> getGrantedAuthorities()
      • setAccountNonExpired

        public void setAccountNonExpired​(boolean accountNonExpired)
      • setAccountNonLocked

        public void setAccountNonLocked​(boolean accountNonLocked)
      • setAuthorities

        public void setAuthorities​(java.util.Collection<? extends GrantedAuthority> authorities)
      • setCredentialsNonExpired

        public void setCredentialsNonExpired​(boolean credentialsNonExpired)
      • setDn

        public void setDn​(java.lang.String dn)
      • setDn

        public void setDn​(javax.naming.Name dn)
      • setEnabled

        public void setEnabled​(boolean enabled)
      • setPassword

        public void setPassword​(java.lang.String password)
      • setUsername

        public void setUsername​(java.lang.String username)
      • setTimeBeforeExpiration

        public void setTimeBeforeExpiration​(int timeBeforeExpiration)
      • setGraceLoginsRemaining

        public void setGraceLoginsRemaining​(int graceLoginsRemaining)