Class QDelegatedSession

java.lang.Object
com.kingsrook.qqq.backend.core.model.session.QSession
com.kingsrook.qqq.backend.core.serviceidentity.QDelegatedSession
All Implemented Interfaces:
Serializable, Cloneable

public final class QDelegatedSession extends QSession
A session for work a service principal does on behalf of a user: the user's identity and current access, intersected with the principal's permissions, attributed to the principal. It is valid only while its parent (the principal's own session) is valid. Never serialized, never reachable from a request: only ServiceIdentities mints these.
See Also:
  • Method Details

    • getParent

      public QSession getParent()
      The principal's own session this delegation hangs off.
    • getPrincipalName

      public String getPrincipalName()
      Getter for principalName