|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.sgs.impl.auth.IdentityImpl
public class IdentityImpl
This is a basic implementation of Identity that maps a name
to the identity.
| Constructor Summary | |
|---|---|
IdentityImpl(String name)
Creates an instance of Identity associated with the
given name. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
String |
getName()
Returns the name associated with this identity. |
int |
hashCode()
|
void |
notifyLoggedIn()
Notifies the system that this identity has logged in. |
void |
notifyLoggedOut()
Notifies the system that this identity has logged out. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IdentityImpl(String name)
Identity associated with the
given name.
name - the name of this identity| Method Detail |
|---|
public String getName()
getName in interface Identitypublic void notifyLoggedIn()
notifyLoggedIn in interface Identitypublic void notifyLoggedOut()
notifyLoggedOut in interface Identitypublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
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 | |||||||||