Class PerunSession

java.lang.Object
cz.metacentrum.perun.core.api.PerunSession
Direct Known Subclasses:
PerunSessionImpl

public abstract class PerunSession extends Object
Encapsulates context of user's interaction with the Perun system.
  • Constructor Details

    • PerunSession

      public PerunSession(Perun perun, PerunPrincipal principal, PerunClient client)
      Constructor.
      Parameters:
      perun - Perun
      principal - identification of the actor, who will perform operations.
      client - represents client who communicates with Perun.
      Throws:
      InternalErrorException - if any parametr is null
  • Method Details

    • destroy

      public void destroy()
    • getLogId

      public String getLogId()
    • getPerun

      public Perun getPerun()
    • getPerunClient

      public PerunClient getPerunClient()
    • getPerunPrincipal

      public PerunPrincipal getPerunPrincipal()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validate

      public void validate()