Interface PermissionMappable

  • All Known Implementing Classes:
    SecurityIdentity

    public interface PermissionMappable
    An entity to which permissions can be mapped.
    Author:
    David M. Lloyd
    • Method Detail

      • getAttributes

        default Attributes getAttributes()
        Get the attributes of this entity.
        Returns:
        the attributes of this entity (must not be null)
      • getPrincipal

        default Principal getPrincipal()
        Get the principal of this entity.
        Returns:
        the principal of this entity (must not be null)
      • getCreationTime

        default Instant getCreationTime()
        Get the creation time of this entity (if known).
        Returns:
        the creation time of this entity, or null if it cannot be determined
      • getPublicCredentials

        default IdentityCredentials getPublicCredentials()
        Get the public credentials of this entity.
        Returns:
        the public credentials (must not be null)