|
Openfire 3.4.1 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.openfire.auth.AuthToken
public class AuthToken
A token that proves that a user has successfully authenticated.
AuthFactory
Constructor Summary | |
---|---|
AuthToken(String jid)
Constucts a new AuthToken with the specified username. |
|
AuthToken(String jid,
Boolean anonymous)
|
Method Summary | |
---|---|
String |
getDomain()
Returns the domain associated with this AuthToken. |
String |
getUsername()
Returns the username associated with this AuthToken. |
boolean |
isAnonymous()
Returns true if this AuthToken is the Anonymous auth token. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuthToken(String jid)
jid
- the username or bare JID to create an authToken token with.public AuthToken(String jid, Boolean anonymous)
Method Detail |
---|
public String getUsername()
public String getDomain()
public boolean isAnonymous()
|
Openfire 3.4.1 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |