|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.jwarp.service.security.SecurityEvent
This class is the event class for all work manager events.
| Field Summary | |
(package private) java.lang.String |
message
The event message |
(package private) long |
time
Time of the event |
int |
TYPE_ACCESS_ALLOWED
Event type: New user added. |
int |
TYPE_ACCESS_DENIED
Event type: New user added. |
int |
TYPE_GROUP_ADDED
Event type: New user added. |
int |
TYPE_GROUP_CANCELLED
Event type: Group cancelled. |
int |
TYPE_OBJECT_ADDED
Event type: New user added. |
int |
TYPE_OBJECT_CANCELLED
Event type: User cancelled. |
int |
TYPE_RIGHT_INVOKED
Event type: User cancelled. |
int |
TYPE_RIGHT_REVOKED
Event type: User cancelled. |
int |
TYPE_UNKNOWN
Event type: New user added. |
int |
TYPE_USER_ADDED
Event type: New user added. |
int |
TYPE_USER_CANCELLED
Event type: User cancelled. |
(package private) int |
user
The user who tried the access |
| Constructor Summary | |
SecurityEvent(java.lang.String message,
int user,
short type)
Creates a new event. |
|
| Method Summary | |
java.lang.String |
getMessage()
Gets the events message. |
long |
getTime()
Gets the event time stamp in ms. |
int |
getUser()
Returns the user. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public final int TYPE_UNKNOWN
public final int TYPE_USER_ADDED
public final int TYPE_USER_CANCELLED
public final int TYPE_GROUP_ADDED
public final int TYPE_GROUP_CANCELLED
public final int TYPE_OBJECT_ADDED
public final int TYPE_OBJECT_CANCELLED
public final int TYPE_RIGHT_INVOKED
public final int TYPE_RIGHT_REVOKED
public final int TYPE_ACCESS_ALLOWED
public final int TYPE_ACCESS_DENIED
long time
java.lang.String message
int user
| Constructor Detail |
public SecurityEvent(java.lang.String message,
int user,
short type)
message - The event message string.tool - The tool's nameactivity - The activityuser - The user's idtype - The event type| Method Detail |
public long getTime()
public java.lang.String getMessage()
public int getUser()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||