|
Jive Forums API (5.5.20.2-oracle) Core Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuthToken
Proves that a user has successfully logged in. The existence of an AuthToken object indicates that a person has logged in correctly and has authentication to act as the user associated with the authentication. An instance of this object can be obtained from the AuthFactory and must be passed in to to get an instance of KBFactory or ForumFactory.
In the case of using the core knowledge base or forum services through a web interface, the expected behavior is to have a user login and then store the AuthToken object in their session. In some app servers, all objects put in the session must be serializable. The default AuthToken implementation obeys this rule, but ensure that custom AuthToken classes do as well.
AuthFactory
Method Summary | |
---|---|
long |
getUserID()
Returns the userID associated with this AuthToken. |
boolean |
isAnonymous()
Returns true if this AuthToken is the Anonymous auth token. |
Method Detail |
---|
long getUserID()
boolean isAnonymous()
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |