Uses of Interface
org.apache.wiki.api.core.Session
Packages that use Session
Package
Description
The chief package of JSPWiki.
JSPWiki's central API.
JSPWiki's SPI package.
Authentication, Authorization and the third A thing.
Authorizer implementation.
-
Uses of Session in org.apache.wiki
Classes in org.apache.wiki that implement SessionMethods in org.apache.wiki that return SessionModifier and TypeMethodDescriptionstatic Session
WikiSession.getWikiSession
(Engine engine, javax.servlet.http.HttpServletRequest request) Static factory method that returns the Session object associated with the current HTTP request.static Session
WikiSession.guestSession
(Engine engine) Static factory method that creates a new "guest" session containing a single user PrincipalWikiPrincipal.GUEST
, plus the role principalsRole.ALL
andRole.ANONYMOUS
. -
Uses of Session in org.apache.wiki.api.core
Methods in org.apache.wiki.api.core that return SessionModifier and TypeMethodDescriptionContext.getWikiSession()
Returns the Session associated with the context.Methods in org.apache.wiki.api.core with parameters of type SessionModifier and TypeMethodDescriptionstatic Object
Session.doPrivileged
(Session session, PrivilegedAction<?> action) Wrapper forSubject.doAsPrivileged(Subject, PrivilegedAction, java.security.AccessControlContext)
that executes an action with the privileges possessed by a Session's Subject. -
Uses of Session in org.apache.wiki.api.spi
Methods in org.apache.wiki.api.spi that return SessionModifier and TypeMethodDescriptionReturns the Session object associated with the current HTTP request.Returns the Session object associated with the current HTTP request.Creates a new "guest" session containing a single user Principalorg.apache.wiki.auth.WikiPrincipal#GUEST
, plus the role principalsRole#ALL
andRole#ANONYMOUS
.Creates a new "guest" session containing a single user Principalorg.apache.wiki.auth.WikiPrincipal#GUEST
, plus the role principalsRole#ALL
andRole#ANONYMOUS
. -
Uses of Session in org.apache.wiki.auth
Methods in org.apache.wiki.auth that return SessionModifier and TypeMethodDescriptionfinal Session
Looks up the wiki session associated with a user's Http session and adds it to the session cache.final Session
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 SessionModifier and TypeMethodDescriptionboolean
AuthorizationManager.checkPermission
(Session session, Permission permission) Returnstrue
orfalse
, depending on whether a Permission is allowed for the Subject associated with a supplied Session.boolean
DefaultAuthorizationManager.checkPermission
(Session session, Permission permission) Returnstrue
orfalse
, depending on whether a Permission is allowed for the Subject associated with a supplied Session.boolean
AuthorizationManager.checkStaticPermission
(Session session, Permission permission) Determines whether a Subject possesses a given "static" Permission as defined in the security policy file.boolean
DefaultAuthorizationManager.checkStaticPermission
(Session session, Permission permission) Determines whether a Subject possesses a given "static" Permission as defined in the security policy file.protected final void
Fires a WikiSecurityEvent to all registered listeners.default void
Fires a WikiSecurityEvent of the provided type, Principal and target Object to all registered listeners.DefaultUserManager.getUserProfile
(Session session) Retrieves theUserProfile
for the user in a session.UserManager.getUserProfile
(Session session) Retrieves theUserProfile
for the user in a session.boolean
AuthorizationManager.hasRoleOrPrincipal
(Session session, 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.boolean
DefaultAuthorizationManager.hasRoleOrPrincipal
(Session session, 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 boolean
AuthorizationManager.isUserInRole
(Session session, Principal principal) Determines if the Subject associated with a supplied Session contains a desired Role or GroupPrincipal.boolean
Authorizer.isUserInRole
(Session session, Principal role) Determines whether the Subject associated with a WikiSession is in a particular role.boolean
AuthenticationManager.login
(Session session, javax.servlet.http.HttpServletRequest request, String username, String password) Attempts to perform a Session login for the given username/password combination using JSPWiki's custom authentication mode.boolean
DefaultAuthenticationManager.login
(Session session, javax.servlet.http.HttpServletRequest request, String username, 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 SessionModifierConstructorDescriptionSecurityVerifier
(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 SessionModifier and TypeMethodDescriptionboolean
DefaultGroupManager.isUserInRole
(Session session, Principal role) Determines whether the Subject associated with a WikiSession is in a particular role.boolean
WebContainerAuthorizer.isUserInRole
(Session session, Principal role) Determines whether the Subject associated with a Session is in a particular role.void
Saves theGroup
created by a user in a wiki session.void
Saves theGroup
created by a user in a wiki session. -
Uses of Session in org.apache.wiki.spi
Methods in org.apache.wiki.spi that return SessionModifier and TypeMethodDescriptionReturns the Session object associated with the current HTTP request.Creates a new "guest" session containing a single user Principalorg.apache.wiki.auth.WikiPrincipal#GUEST
, plus the role principalsRole#ALL
andRole#ANONYMOUS
. -
Uses of Session in org.apache.wiki.workflow
Methods in org.apache.wiki.workflow with parameters of type SessionModifier and TypeMethodDescriptionDecisionQueue.getActorDecisions
(Session session) Returns a Collection representing the current Decisions that pertain to a users's Session.DefaultWorkflowManager.getOwnerWorkflows
(Session session) Returns the current workflows a wiki session owns.WorkflowManager.getOwnerWorkflows
(Session session) Returns the current workflows a wiki session owns.