public class SpecificOperationAccessContext extends java.lang.Object implements AccessContext
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
name |
protected boolean |
permitted |
Constructor and Description |
---|
SpecificOperationAccessContext(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
explainConstraints()
Returns a human-readable explanation of constraints applied to the current context instance for logging of
authorization decisions.
|
java.lang.String |
getName() |
boolean |
isPermitted() |
void |
setDenied() |
public SpecificOperationAccessContext(java.lang.String name)
public java.lang.String getName()
public void setDenied()
public boolean isPermitted()
@Nullable public java.lang.String explainConstraints()
AccessContext
explainConstraints
in interface AccessContext