Class AccessControlContext

java.lang.Object
org.opensaml.messaging.context.BaseContext
org.opensaml.profile.context.AccessControlContext
All Implemented Interfaces:
Iterable<BaseContext>

public final class AccessControlContext extends BaseContext
A context component which holds state for making an access control decision using the AccessControl interface.
Since:
3.3.0
  • Field Details

    • operation

      @Nullable private String operation
      The operation.
    • resource

      @Nullable private String resource
      The resource.
  • Constructor Details

    • AccessControlContext

      public AccessControlContext()
  • Method Details

    • getOperation

      @Nullable public String getOperation()
      Get the operation being performed.
      Returns:
      the operation
    • setOperation

      @Nonnull public AccessControlContext setOperation(@Nullable String op)
      Set the operation being performed.
      Parameters:
      op - the operation
      Returns:
      this context
    • getResource

      @Nullable public String getResource()
      Get the resource being operated on.
      Returns:
      the resource
    • setResource

      @Nonnull public AccessControlContext setResource(@Nullable String res)
      Set the resource being operated on.
      Parameters:
      res - the resource
      Returns:
      this context