Class ObjectPermission

    • Constructor Detail

      • ObjectPermission

        public ObjectPermission​(ObjectPermission.Type type,
                                String identifier)
        Creates a new ObjectPermission having the given type and identifier. The identifier must be the unique identifier assigned to the object associated with this permission by the AuthenticationProvider in use.
        Parameters:
        type - The type of operation affected by this permission.
        identifier - The identifier of the object associated with the operation affected by this permission.
    • Method Detail

      • getObjectIdentifier

        public String getObjectIdentifier()
        Returns the identifier of the specific object affected by this permission.
        Returns:
        The identifier of the specific object affected by this permission.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object