|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.osgi.internal.provisional.service.security.AuthorizationEvent
public class AuthorizationEvent
An event that is fired when an AuthorizationEngine implementation makes a decision.
| Field Summary | |
|---|---|
static int |
ALLOWED
Result code meaning that the operation was allowed |
static int |
DENIED
Result code meaning that the operation was denied |
| Constructor Summary | |
|---|---|
AuthorizationEvent(int result,
SignedContent content,
Object context,
int severity)
Create a new AuthorizationEvent |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ALLOWED
public static final int DENIED
| Constructor Detail |
|---|
public AuthorizationEvent(int result,
SignedContent content,
Object context,
int severity)
result - - the result codecontent - - the signed contentcontext - - operation specific contextseverity - - severity code| Method Detail |
|---|
public int getResult()
public int getSeverity()
public SignedContent getSignedContent()
public Object getContext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||