Interface Session

  • All Known Implementing Classes:
    HttpSession

    public interface Session
    This interface represents a user's session when interacting with a Trellis resource.

    Users, groups and delegates are represented as IRIs.

    • Method Detail

      • getIdentifier

        IRI getIdentifier()
        Get a session identifier.
        Returns:
        a session identifier
      • getAgent

        IRI getAgent()
        Get an agent identifier.
        Returns:
        an identifier for a user/agent
      • getDelegatedBy

        Optional<IRI> getDelegatedBy()
        Get the user that delegated access, if one exists.
        Returns:
        the user who delegated access
      • getCreated

        Instant getCreated()
        Get the date when the session was created.
        Returns:
        the creation date