java.lang.Object
org.springframework.security.core.userdetails.User
com.gsitm.ustra.java.security.authentication.user.UstraUser
All Implemented Interfaces:
Serializable, org.springframework.security.core.CredentialsContainer, org.springframework.security.core.userdetails.UserDetails
Direct Known Subclasses:
UstraAnonymousUser

public class UstraUser extends org.springframework.security.core.userdetails.User
기본 사용자
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.springframework.security.core.userdetails.User

    org.springframework.security.core.userdetails.User.UserBuilder
  • Constructor Summary

    Constructors
    Constructor
    Description
    UstraUser(String username)
     
    UstraUser(String username, String password)
     
    UstraUser(String username, String password, boolean enabled, boolean accountNonExpired, boolean credentialsNonExpired, boolean accountNonLocked, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
     
    UstraUser(String username, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    중복 인증제어에 사용하는 키 값
    사용자 지정 키
    int
     
    boolean
    접속 지역 허용 여부
    void
    setConnectedRegionAllowed(boolean connectedRegionAllowed)
    접속 지역 허용 여부
     

    Methods inherited from class org.springframework.security.core.userdetails.User

    builder, eraseCredentials, getAuthorities, getPassword, getUsername, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled, withDefaultPasswordEncoder, withUserDetails, withUsername

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • UstraUser

      public UstraUser(String username, String password, boolean enabled, boolean accountNonExpired, boolean credentialsNonExpired, boolean accountNonLocked, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
    • UstraUser

      public UstraUser(String username)
    • UstraUser

      public UstraUser(String username, String password)
    • UstraUser

      public UstraUser(String username, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
  • Method Details

    • getUserKey

      public String getUserKey()
      사용자 지정 키
      Returns:
    • getDuplicationKey

      public String getDuplicationKey()
      중복 인증제어에 사용하는 키 값
      Returns:
    • equals

      public boolean equals(Object rhs)
      Overrides:
      equals in class org.springframework.security.core.userdetails.User
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class org.springframework.security.core.userdetails.User
    • isConnectedRegionAllowed

      public boolean isConnectedRegionAllowed()
      접속 지역 허용 여부
    • setConnectedRegionAllowed

      public void setConnectedRegionAllowed(boolean connectedRegionAllowed)
      접속 지역 허용 여부
    • toString

      public String toString()
      Overrides:
      toString in class org.springframework.security.core.userdetails.User