Class PolarisUser

  • All Implemented Interfaces:
    java.security.Principal

    public class PolarisUser
    extends java.lang.Object
    implements java.security.Principal
    • Constructor Summary

      Constructors 
      Constructor Description
      PolarisUser​(java.lang.String name, uk.co.ractf.polaris.api.authentication.APIToken apiToken, boolean root)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      uk.co.ractf.polaris.api.authentication.APIToken getApiToken()  
      java.lang.String getName()  
      boolean isRoot()  
      • 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

      • PolarisUser

        public PolarisUser​(java.lang.String name,
                           uk.co.ractf.polaris.api.authentication.APIToken apiToken,
                           boolean root)
    • Method Detail

      • getName

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

        public uk.co.ractf.polaris.api.authentication.APIToken getApiToken()
      • isRoot

        public boolean isRoot()