Package org.opensaml.profile.context
Class AccessControlContext
java.lang.Object
org.opensaml.messaging.context.BaseContext
org.opensaml.profile.context.AccessControlContext
- All Implemented Interfaces:
Iterable<BaseContext>
A context component which holds state for making an access control decision using
the
AccessControl
interface.- Since:
- 3.3.0
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext
BaseContext.ContextSetNoRemoveIteratorDecorator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the operation being performed.Get the resource being operated on.setOperation
(String op) Set the operation being performed.setResource
(String res) Set the resource being operated on.Methods inherited from class org.opensaml.messaging.context.BaseContext
addSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, iterator, removeSubcontext, removeSubcontext, setParent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
operation
The operation. -
resource
The resource.
-
-
Constructor Details
-
AccessControlContext
public AccessControlContext()
-
-
Method Details
-
getOperation
Get the operation being performed.- Returns:
- the operation
-
setOperation
Set the operation being performed.- Parameters:
op
- the operation- Returns:
- this context
-
getResource
Get the resource being operated on.- Returns:
- the resource
-
setResource
Set the resource being operated on.- Parameters:
res
- the resource- Returns:
- this context
-