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>
public final class AccessControlContext extends BaseContext
A context component which holds state for making an access control decision using theAccessControlinterface.- Since:
- 3.3.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opensaml.messaging.context.BaseContext
BaseContext.ContextSetNoRemoveIteratorDecorator
-
-
Constructor Summary
Constructors Constructor Description AccessControlContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetOperation()Get the operation being performed.StringgetResource()Get the resource being operated on.AccessControlContextsetOperation(String op)Set the operation being performed.AccessControlContextsetResource(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
-
-
-
-
Method Detail
-
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
-
-