Class UserPrincipal

  • All Implemented Interfaces:
    java.security.Principal

    public class UserPrincipal
    extends java.lang.Object
    implements java.security.Principal
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()  
      java.lang.String getPass()  
      java.lang.String getToken()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.security.Principal

        equals, hashCode, implies, toString
    • Constructor Detail

      • UserPrincipal

        public UserPrincipal​(java.lang.String name,
                             java.lang.String pass)
    • Method Detail

      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface java.security.Principal
      • getPass

        public java.lang.String getPass()
      • getToken

        public java.lang.String getToken()