Class ExternalRole

  • All Implemented Interfaces:
    java.security.Principal

    public class ExternalRole
    extends Principal
    This class represents externally managed roles used in a session.
    • Constructor Summary

      Constructors 
      Constructor Description
      ExternalRole​(java.lang.String uuid)
      Constructs an ExternalRole object from a UUID
      ExternalRole​(java.lang.String name, java.lang.String uuid)
      Constructs an ExternalRole object from a name and a UUID
      ExternalRole​(java.lang.String name, java.lang.String uuid, long dbid)
      Constructs an ExternalRole object from a name, a UUID, and a DBID.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

        equals, hashCode, implies
    • Constructor Detail

      • ExternalRole

        public ExternalRole​(java.lang.String name,
                            java.lang.String uuid,
                            long dbid)
                     throws XSPrincipalException
        Constructs an ExternalRole object from a name, a UUID, and a DBID.
        Parameters:
        name - name of the ExternalRole object
        uuid - UUID of the ExternalRole object
        dbid - DBID of the ExternalRole object
        Throws:
        XSPrincipalException
      • ExternalRole

        public ExternalRole​(java.lang.String name,
                            java.lang.String uuid)
                     throws XSPrincipalException
        Constructs an ExternalRole object from a name and a UUID
        Parameters:
        name - name of the ExternalRole object
        uuid - UUID of the ExternalRole object
        Throws:
        XSPrincipalException
      • ExternalRole

        public ExternalRole​(java.lang.String uuid)
                     throws XSPrincipalException
        Constructs an ExternalRole object from a UUID
        Parameters:
        uuid - UUID of the ExternalRole object
        Throws:
        XSPrincipalException