Class Role

  • All Implemented Interfaces:
    java.security.Principal

    public class Role
    extends Principal
    This class represents a type of principal that can be associated with a group of users.
    See Also:
    Principal
    • Constructor Summary

      Constructors 
      Constructor Description
      Role()
      Constructs a Role object.
      Role​(java.lang.String name, long dbid)
      Constructs an Role object from a name and a DBID.
      Role​(java.lang.String name, java.lang.String uuid)
      Constructs an Role object from a name and a UUID.
      Role​(java.lang.String name, java.lang.String uuid, long dbid)
      Constructs an Role 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

      • Role

        public Role()
        Constructs a Role object.
      • Role

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

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

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