Uses of Class
org.apache.wiki.WikiSession

Packages that use WikiSession
org.apache.wiki The chief package of JSPWiki. 
org.apache.wiki.auth Authentication, Authorization and the third A thing. 
org.apache.wiki.auth.authorize Authorizer implementation. 
org.apache.wiki.workflow   
 

Uses of WikiSession in org.apache.wiki
 

Methods in org.apache.wiki that return WikiSession
 WikiSession WikiContext.getWikiSession()
          Returns the WikiSession associated with the context.
static WikiSession WikiSession.getWikiSession(WikiEngine engine, javax.servlet.http.HttpServletRequest request)
          Static factory method that returns the WikiSession object associated with the current HTTP request.
static WikiSession WikiSession.guestSession(WikiEngine engine)
          Static factory method that creates a new "guest" session containing a single user Principal WikiPrincipal.GUEST, plus the role principals Role.ALL and Role.ANONYMOUS.
 

Methods in org.apache.wiki with parameters of type WikiSession
static Object WikiSession.doPrivileged(WikiSession session, PrivilegedAction<?> action)
          Wrapper for Subject.doAsPrivileged(Subject, java.security.PrivilegedExceptionAction, java.security.AccessControlContext) that executes an action with the privileges posssessed by a WikiSession's Subject.
 

Uses of WikiSession in org.apache.wiki.auth
 

Methods in org.apache.wiki.auth that return WikiSession
 WikiSession SessionMonitor.find(javax.servlet.http.HttpSession session)
          Looks up the wiki session associated with a user's Http session and adds it to the session cache.
 

Methods in org.apache.wiki.auth with parameters of type WikiSession
 boolean AuthorizationManager.checkPermission(WikiSession session, Permission permission)
          Returns true or false, depending on whether a Permission is allowed for the Subject associated with a supplied WikiSession.
protected  boolean AuthorizationManager.checkStaticPermission(WikiSession session, Permission permission)
          Determines whether a Subject possesses a given "static" Permission as defined in the security policy file.
protected  void SessionMonitor.fireEvent(int type, Principal principal, WikiSession session)
          Fires a WikiSecurityEvent to all registered listeners.
protected  void UserManager.fireEvent(int type, WikiSession session, Object profile)
          Fires a WikiSecurityEvent of the provided type, Principal and target Object to all registered listeners.
 UserProfile UserManager.getUserProfile(WikiSession session)
          Retrieves the UserProfilefor the user in a wiki session.
protected  boolean AuthorizationManager.hasRoleOrPrincipal(WikiSession session, Principal principal)
          Determines if the Subject associated with a supplied WikiSession contains a desired user Principal or built-in Role principal, OR is a member a Group or external Role.
 boolean Authorizer.isUserInRole(WikiSession session, Principal role)
          Determines whether the Subject associated with a WikiSession is in a particular role.
 boolean AuthorizationManager.isUserInRole(WikiSession session, Principal principal)
          Determines if the Subject associated with a supplied WikiSession contains a desired Role or GroupPrincipal.
 boolean AuthenticationManager.login(WikiSession session, javax.servlet.http.HttpServletRequest request, String username, String password)
          Attempts to perform a WikiSession login for the given username/password combination using JSPWiki's custom authentication mode.
 boolean AuthenticationManager.login(WikiSession session, String username, String password)
          Deprecated. use AuthenticationManager.login(WikiSession, HttpServletRequest, String, String) instead
 void UserManager.setUserProfile(WikiSession session, UserProfile profile)
           Saves the UserProfilefor the user in a wiki session.
 

Constructors in org.apache.wiki.auth with parameters of type WikiSession
SecurityVerifier(WikiEngine engine, WikiSession session)
          Constructs a new SecurityVerifier for a supplied WikiEngine and WikiSession.
 

Uses of WikiSession in org.apache.wiki.auth.authorize
 

Methods in org.apache.wiki.auth.authorize with parameters of type WikiSession
 boolean WebContainerAuthorizer.isUserInRole(WikiSession session, Principal role)
          Determines whether the Subject associated with a WikiSession is in a particular role.
 boolean GroupManager.isUserInRole(WikiSession session, Principal role)
           Determines whether the Subject associated with a WikiSession is in a particular role.
 void GroupManager.setGroup(WikiSession session, Group group)
           Saves the Group created by a user in a wiki session.
 

Uses of WikiSession in org.apache.wiki.workflow
 

Methods in org.apache.wiki.workflow with parameters of type WikiSession
 Collection DecisionQueue.getActorDecisions(WikiSession session)
          Returns a Collection representing the current Decisions that pertain to a users's WikiSession.
 Collection WorkflowManager.getOwnerWorkflows(WikiSession session)
          Returns the current workflows a wiki session owns.
 



Copyright © {inceptionYear}-2014 The Apache Software Foundation. All rights reserved.