Class GenericPrincipal<T>

  • All Implemented Interfaces:
    java.io.Serializable, org.springframework.security.core.userdetails.UserDetails

    public abstract class GenericPrincipal<T>
    extends java.lang.Object
    implements org.springframework.security.core.userdetails.UserDetails
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      GenericPrincipal​(T user)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T getUser()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.springframework.security.core.userdetails.UserDetails

        getAuthorities, getPassword, getUsername, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled
    • Constructor Detail

      • GenericPrincipal

        public GenericPrincipal​(@NonNull
                                T user)
    • Method Detail

      • getUser

        @NonNull
        public T getUser()