|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This is the central ticket interface. A ticket is returned by the security service as service access unit. Tickets can expire after a while (e.g. for Administrator tickets). Always they should expire after a certain time of no usage. There are also different implementation location. A ticket can firstly directly denied by the target security service or also can be denied by the ticket itself. The security class itself should check for a different implementation class to prevent wrapping of the security ticket.
| Method Summary | |
IContext |
getContext()
Return the context identifier. |
long |
getExpireTime()
Returns the expire time of the ticket or -1 if the ticket can not expire. |
int |
getID()
Returns the user id of the user logged in. |
long |
getLoginDate()
Returns the creation time of this ticket. |
long |
getMagic()
Return a magic number. |
boolean |
hasExpired()
Return true if this ticket has expired. |
| Method Detail |
public long getLoginDate()
public long getExpireTime()
public boolean hasExpired()
public int getID()
public IContext getContext()
public long getMagic()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||