|
Clearspace API (1.7.0) Core Javadocs | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use AuthToken | |
|---|---|
| com.jivesoftware.base | Base APIs and classes for Jive Software products. |
| com.jivesoftware.community | Core interfaces and classes for Clearspace. |
| com.jivesoftware.community.action | Clearspace WebWork actions. |
| com.jivesoftware.community.lifecycle | Provides application lifecycle management for Clearspace. |
| com.jivesoftware.community.widget | |
| Uses of AuthToken in com.jivesoftware.base |
|---|
| Classes in com.jivesoftware.base that implement AuthToken | |
|---|---|
static class |
AuthFactory.SystemAuthToken
|
| Methods in com.jivesoftware.base that return AuthToken | |
|---|---|
protected AuthToken |
AuthFactory.createAnonymousAuthToken()
Creates anonymous AuthToken tokens. |
protected AuthToken |
AuthFactory.createAuthToken(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Creates AuthToken tokens based on information from servlet request and response objects. |
protected AuthToken |
AuthFactory.createAuthToken(java.lang.String username,
java.lang.String password)
Creates AuthToken tokens based on a username. |
protected AuthToken |
AuthFactory.createSessionUserInfo(java.lang.String username,
java.lang.String password,
boolean autoLogin,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Concrete subclasses may wish to override this method to create session info as appropriate. |
static AuthToken |
AuthFactory.getAnonymousAuthToken()
Returns an anonymous user AuthToken. |
static AuthToken |
AuthFactory.getAuthToken(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Returns the AuthToken token associated with the information in a servlet request and response object. |
static AuthToken |
AuthFactory.getAuthToken(java.lang.String username,
java.lang.String password)
Returns the AuthToken token associated with the specified username and password. |
static AuthToken |
AuthFactory.getSessionAuthToken(javax.servlet.http.HttpServletRequest request)
Returns the authToken in the session, if one does not exist an anonymous authToken will be returned. |
static AuthToken |
AuthFactory.getSystemAuthToken()
|
static AuthToken |
AuthFactory.loginUser(java.lang.String username,
java.lang.String password,
boolean autoLogin,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method is a method for logging a user in and creating the appropriate session variables and/or cookies to keep state. |
| Methods in com.jivesoftware.base with parameters of type AuthToken | |
|---|---|
static void |
AuthFactory.checkAuthorization(AuthToken authToken,
javax.servlet.http.HttpServletRequest request)
Checks if the specified AuthToken is authorized. |
Permissions |
Group.getPermissions(AuthToken authToken)
Returns the permissions for the group that correspond to the passed-in AuthToken. |
Permissions |
User.getPermissions(AuthToken authToken)
Returns the permissions for the user that correspond to the passed-in AuthToken. |
| Uses of AuthToken in com.jivesoftware.community |
|---|
| Methods in com.jivesoftware.community with parameters of type AuthToken | |
|---|---|
void |
ModerationManager.approve(AuthToken authToken,
ForumMessage message)
Approve a moderated message |
void |
ModerationManager.editAndApprove(AuthToken authToken,
ForumMessage message,
java.lang.String subject,
java.lang.String body,
java.lang.String tags)
Edit and approve a moderated message |
java.util.List<Community> |
ModerationManager.getCommunities(AuthToken authToken)
This method will return a list of communities where the user is a moderator. |
static SearchQueryLogger |
SearchQueryLoggerFactory.getInstance(AuthToken authToken)
Returns a concrete instance of the query logger interface wrapped by a protection proxy. |
int |
ModerationManager.getMessageCount(ModerationFilter modFilter,
AuthToken authToken)
Gets the number of moderated messages in the system |
java.util.List<ForumMessage> |
ModerationManager.getMessages(AuthToken authToken)
This method will return a list of messages where the user is a moderator. |
java.lang.Iterable<ForumMessage> |
ModerationManager.getMessages(AuthToken authToken,
Community community)
Gets a list of moderated messages for a particular community. |
java.util.List<ForumMessage> |
ModerationManager.getMessages(ModerationFilter modFilter,
AuthToken authToken)
This method will return a list of messages where the user is a moderator. |
java.lang.Iterable<ForumMessage> |
ModerationManager.getMessages(ModerationFilter modFilter,
AuthToken authToken,
Community community)
Gets a list of moderated messages for a particular community. |
Permissions |
Blog.getPermissions(AuthToken authToken)
Returns the permissions for the blog that correspond to the passed-in AuthToken. |
Permissions |
Community.getPermissions(AuthToken authToken)
Returns the permissions for the community that correspond to the passed-in AuthToken. |
Permissions |
Document.getPermissions(AuthToken auth)
Returns the permissions for the document that correspond to the passed-in AuthToken. |
Permissions |
JiveContext.getPermissions(AuthToken authToken)
Returns the global permissions that correspond to the passed-in AuthToken. |
java.lang.String |
DocumentPresenter.getTransformedTemplate(Document document,
AuthToken auth,
java.util.Locale locale)
Applies the template to a Document and returns the results as a string |
void |
ModerationManager.reject(AuthToken authToken,
ForumMessage message)
Reject a moderated message |
void |
ForumMessage.setModerationValue(int value,
AuthToken authToken)
Sets the number of moderation points this message has. |
void |
ForumThread.setModerationValue(int value,
AuthToken authToken)
Sets the number of moderation points this thread has. |
| Uses of AuthToken in com.jivesoftware.community.action |
|---|
| Methods in com.jivesoftware.community.action that return AuthToken | |
|---|---|
AuthToken |
JiveActionSupport.getAuthToken()
|
| Methods in com.jivesoftware.community.action with parameters of type AuthToken | |
|---|---|
void |
JiveActionSupport.setAuthToken(AuthToken authToken)
|
| Uses of AuthToken in com.jivesoftware.community.lifecycle |
|---|
| Methods in com.jivesoftware.community.lifecycle with parameters of type AuthToken | |
|---|---|
static JiveContext |
JiveApplication.getContext(AuthToken authToken)
Returns a concrete JiveContext instance. |
| Uses of AuthToken in com.jivesoftware.community.widget |
|---|
| Methods in com.jivesoftware.community.widget that return AuthToken | |
|---|---|
AuthToken |
WidgetContext.getAuthToken()
Gets the current page user's auth token |
| Constructors in com.jivesoftware.community.widget with parameters of type AuthToken | |
|---|---|
WidgetContext(JiveContext jiveContext,
User user,
AuthToken authToken,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Creates a WidgetContext with all the necessary information for a widget author to
render their widget. |
|
WidgetContext(JiveContext jiveContext,
User user,
AuthToken authToken,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Community community)
Creates a WidgetContext with all the necessary information for a widget author to
render their widget, as well as the parent community of the widget. |
|
|
Clearspace Project Page | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||