Wildfire 3.2.4 Javadoc

org.jivesoftware.wildfire.auth
Class AuthToken

java.lang.Object
  extended by org.jivesoftware.wildfire.auth.AuthToken

public class AuthToken
extends Object

A token that proves that a user has successfully authenticated.

Author:
Matt Tucker
See Also:
AuthFactory

Constructor Summary
AuthToken(String username)
          Constucts a new AuthToken with the specified username.
 
Method Summary
 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

AuthToken

public AuthToken(String username)
Constucts a new AuthToken with the specified username.

Parameters:
username - the username to create an authToken token with.
Method Detail

getUsername

public String getUsername()
Returns the username associated with this AuthToken.

Returns:
the username associated with this AuthToken.

isAnonymous

public boolean isAnonymous()
Returns true if this AuthToken is the Anonymous auth token.

Returns:
true if this token is the anonymous AuthToken.

Wildfire 3.2.4 Javadoc

Copyright © 2003-2007 Jive Software.