Interface Context


public interface Context
This interface represents an access policy context.
  • Method Details

    • getUser

      User getUser()
      Get the user.
      Returns:
      The user.
    • getRequest

      Request getRequest()
      Get the request.
      Returns:
      The request.
    • getSession

      Session getSession()
      Get the session.
      Returns:
      The session.
    • getProtocolContext

      ProtocolContext getProtocolContext()
      Get the protocol context. For SAML 2.0 protocol, this method returns ProtocolContext. For OAuth 2.0 protocol, this method returns ProtocolContext.
      Returns:
      The protocol context.
    • setDecision

      void setDecision(Decision decision)
      Set the access policy decision.
      Parameters:
      decision - The access policy decision.