public class AuthorizationEvent extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ALLOWED
Result code meaning that the operation was allowed
|
static int |
DENIED
Result code meaning that the operation was denied
|
Constructor and Description |
---|
AuthorizationEvent(int result,
SignedContent content,
Object context,
int severity)
Create a new AuthorizationEvent
|
Modifier and Type | Method and Description |
---|---|
Object |
getContext()
Get the operation specific context
|
int |
getResult()
Get the result code
|
int |
getSeverity()
get the severity
|
SignedContent |
getSignedContent()
Get the SignedContent object being evaluated
|
public static final int ALLOWED
public static final int DENIED
public AuthorizationEvent(int result, SignedContent content, Object context, int severity)
result
- - the result codecontent
- - the signed contentcontext
- - operation specific contextseverity
- - severity codepublic int getResult()
public int getSeverity()
public SignedContent getSignedContent()
public Object getContext()
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.