public class AuthToken extends Object
AuthFactory
Constructor and Description |
---|
AuthToken(String jid)
Constucts a new AuthToken with the specified username.
|
AuthToken(String jid,
Boolean anonymous) |
Modifier and Type | Method and Description |
---|---|
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.
|
public AuthToken(String jid)
jid
- the username or bare JID to create an authToken token with.public String getUsername()
public String getDomain()
public boolean isAnonymous()
Copyright © 2003-2008 Jive Software.