Uses of Interface
org.apache.wiki.api.core.Session
-
Packages that use Session Package Description org.apache.wiki The chief package of JSPWiki.org.apache.wiki.api.core JSPWiki's central API.org.apache.wiki.api.spi JSPWiki's SPI package.org.apache.wiki.auth Authentication, Authorization and the third A thing.org.apache.wiki.auth.authorize Authorizer implementation.org.apache.wiki.spi org.apache.wiki.workflow -
-
Uses of Session in org.apache.wiki
Classes in org.apache.wiki that implement Session Modifier and Type Class Description classWikiSessionDefault implementation forSession.Methods in org.apache.wiki that return Session Modifier and Type Method Description static SessionWikiSession. getWikiSession(Engine engine, javax.servlet.http.HttpServletRequest request)Static factory method that returns the Session object associated with the current HTTP request.static SessionWikiSession. guestSession(Engine engine)Static factory method that creates a new "guest" session containing a single user PrincipalWikiPrincipal.GUEST, plus the role principalsRole.ALLandRole.ANONYMOUS. -
Uses of Session in org.apache.wiki.api.core
Methods in org.apache.wiki.api.core that return Session Modifier and Type Method Description SessionContext. getWikiSession()Returns the Session associated with the context.Methods in org.apache.wiki.api.core with parameters of type Session Modifier and Type Method Description static java.lang.ObjectSession. doPrivileged(Session session, java.security.PrivilegedAction<?> action)Wrapper forSubject.doAsPrivileged(Subject, PrivilegedAction, java.security.AccessControlContext)that executes an action with the privileges posssessed by a Session's Subject. -
Uses of Session in org.apache.wiki.api.spi
Methods in org.apache.wiki.api.spi that return Session Modifier and Type Method Description SessionSessionDSL. find(Engine engine, javax.servlet.http.HttpServletRequest request)Returns the Session object associated with the current HTTP request.SessionSessionSPI. find(Engine engine, javax.servlet.http.HttpServletRequest request)Returns the Session object associated with the current HTTP request.SessionSessionDSL. guest(Engine engine)Creates a new "guest" session containing a single user Principalorg.apache.wiki.auth.WikiPrincipal#GUEST, plus the role principalsRole#ALLandRole#ANONYMOUS.SessionSessionSPI. guest(Engine engine)Creates a new "guest" session containing a single user Principalorg.apache.wiki.auth.WikiPrincipal#GUEST, plus the role principalsRole#ALLandRole#ANONYMOUS. -
Uses of Session in org.apache.wiki.auth
Methods in org.apache.wiki.auth that return Session Modifier and Type Method Description SessionSessionMonitor. find(java.lang.String sessionId)Looks up the wiki session associated with a user's Http session and adds it to the session cache.SessionSessionMonitor. 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 Session Modifier and Type Method Description booleanAuthorizationManager. checkPermission(Session session, java.security.Permission permission)Returnstrueorfalse, depending on whether a Permission is allowed for the Subject associated with a supplied Session.booleanDefaultAuthorizationManager. checkPermission(Session session, java.security.Permission permission)Returnstrueorfalse, depending on whether a Permission is allowed for the Subject associated with a supplied Session.booleanAuthorizationManager. checkStaticPermission(Session session, java.security.Permission permission)Determines whether a Subject possesses a given "static" Permission as defined in the security policy file.booleanDefaultAuthorizationManager. checkStaticPermission(Session session, java.security.Permission permission)Determines whether a Subject possesses a given "static" Permission as defined in the security policy file.protected voidSessionMonitor. fireEvent(int type, java.security.Principal principal, Session session)Fires a WikiSecurityEvent to all registered listeners.default voidUserManager. fireEvent(int type, Session session, java.lang.Object profile)Fires a WikiSecurityEvent of the provided type, Principal and target Object to all registered listeners.UserProfileDefaultUserManager. getUserProfile(Session session)Retrieves theUserProfilefor the user in a session.UserProfileUserManager. getUserProfile(Session session)Retrieves theUserProfilefor the user in a session.booleanAuthorizationManager. hasRoleOrPrincipal(Session session, java.security.Principal principal)Determines if the Subject associated with a supplied Session contains a desired user Principal or built-in Role principal, OR is a member a Group or external Role.booleanDefaultAuthorizationManager. hasRoleOrPrincipal(Session session, java.security.Principal principal)Determines if the Subject associated with a supplied Session contains a desired user Principal or built-in Role principal, OR is a member a Group or external Role.default booleanAuthorizationManager. isUserInRole(Session session, java.security.Principal principal)Determines if the Subject associated with a supplied Session contains a desired Role or GroupPrincipal.booleanAuthorizer. isUserInRole(Session session, java.security.Principal role)Determines whether the Subject associated with a WikiSession is in a particular role.booleanAuthenticationManager. login(Session session, javax.servlet.http.HttpServletRequest request, java.lang.String username, java.lang.String password)Attempts to perform a Session login for the given username/password combination using JSPWiki's custom authentication mode.booleanDefaultAuthenticationManager. login(Session session, javax.servlet.http.HttpServletRequest request, java.lang.String username, java.lang.String password)Attempts to perform a Session login for the given username/password combination using JSPWiki's custom authentication mode.Constructors in org.apache.wiki.auth with parameters of type Session Constructor Description SecurityVerifier(Engine engine, Session session)Constructs a new SecurityVerifier for a supplied Engine and WikiSession. -
Uses of Session in org.apache.wiki.auth.authorize
Methods in org.apache.wiki.auth.authorize with parameters of type Session Modifier and Type Method Description booleanDefaultGroupManager. isUserInRole(Session session, java.security.Principal role)Determines whether the Subject associated with a WikiSession is in a particular role.booleanWebContainerAuthorizer. isUserInRole(Session session, java.security.Principal role)Determines whether the Subject associated with a Session is in a particular role.voidDefaultGroupManager. setGroup(Session session, Group group)Saves theGroupcreated by a user in a wiki session.voidGroupManager. setGroup(Session session, Group group)Saves theGroupcreated by a user in a wiki session. -
Uses of Session in org.apache.wiki.spi
Methods in org.apache.wiki.spi that return Session Modifier and Type Method Description SessionSessionSPIDefaultImpl. find(Engine engine, javax.servlet.http.HttpServletRequest request)Returns the Session object associated with the current HTTP request.SessionSessionSPIDefaultImpl. guest(Engine engine)Creates a new "guest" session containing a single user Principalorg.apache.wiki.auth.WikiPrincipal#GUEST, plus the role principalsRole#ALLandRole#ANONYMOUS. -
Uses of Session in org.apache.wiki.workflow
Methods in org.apache.wiki.workflow with parameters of type Session Modifier and Type Method Description java.util.Collection<Decision>DecisionQueue. getActorDecisions(Session session)Returns a Collection representing the current Decisions that pertain to a users's Session.java.util.List<Workflow>DefaultWorkflowManager. getOwnerWorkflows(Session session)Returns the current workflows a wiki session owns.java.util.List<Workflow>WorkflowManager. getOwnerWorkflows(Session session)Returns the current workflows a wiki session owns.
-