Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.base.database
Class DbAuthToken

java.lang.Object
  extended by com.jivesoftware.base.database.DbAuthToken
All Implemented Interfaces:
AuthToken, java.io.Serializable

public final class DbAuthToken
extends java.lang.Object
implements AuthToken, java.io.Serializable

Database implementation of the AuthToken interface.

See Also:
Serialized Form

Constructor Summary
protected DbAuthToken(long userID)
          Constucts a new DbAuthToken with the specified userID.
 
Method Summary
 long getUserID()
          Returns the userID 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

DbAuthToken

protected DbAuthToken(long userID)
Constucts a new DbAuthToken with the specified userID.

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

getUserID

public long getUserID()
Description copied from interface: AuthToken
Returns the userID associated with this AuthToken.

Specified by:
getUserID in interface AuthToken
Returns:
the userID associated with this AuthToken.

isAnonymous

public boolean isAnonymous()
Description copied from interface: AuthToken
Returns true if this AuthToken is the Anonymous auth token.

Specified by:
isAnonymous in interface AuthToken
Returns:
true if this token is the anonymous AuthToken.

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.