Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.base.ldap
Class LdapAuthToken

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

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

LDAP AuthToken token implementation.

See Also:
Serialized Form

Constructor Summary
protected LdapAuthToken(long userID)
          Constucts a new LdapAuthToken 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

LdapAuthToken

protected LdapAuthToken(long userID)
Constucts a new LdapAuthToken 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.