Class ServiceUser

  • All Implemented Interfaces:
    java.security.Principal

    public final class ServiceUser
    extends java.lang.Object
    implements java.security.Principal
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ServiceUser.Builder  
    • Constructor Summary

      Constructors 
      Constructor Description
      ServiceUser​(java.lang.String name, java.lang.String jwt)  
    • Method Summary

      Modifier and Type Method Description
      java.lang.String getJwt()  
      java.lang.String getName()  
      • 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

      • ServiceUser

        public ServiceUser​(java.lang.String name,
                           java.lang.String jwt)
    • Method Detail

      • getName

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

        public final java.lang.String getJwt()