|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Identity
This interface represents a single identity in a form used only by
Services, the kernel, and other system-level components.
Implementations must also implement Serializable,
equals, and hashCode.
While instances of Identity may be used by
Services and other components to manage users or task
ownership (including serializing and persisting Identitys),
this interface is really a means for communicating with the accounting
and management system. As such, any combinations of calls to
notifyLoggedIn and notifyLoggedOut are
valid. Note that an application may still enforce that its users are not
allowed to login multiple times, or may only logout if they are logged in.
| Method Summary | |
|---|---|
String |
getName()
Returns the name associated with this identity. |
void |
notifyLoggedIn()
Notifies the system that this identity has logged in. |
void |
notifyLoggedOut()
Notifies the system that this identity has logged out. |
| Method Detail |
|---|
String getName()
void notifyLoggedIn()
void notifyLoggedOut()
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||