| Package | Description |
|---|---|
| org.apache.wiki.api.core |
JSPWiki's central API.
|
| org.apache.wiki.api.spi |
JSPWiki's SPI package.
|
| Modifier and Type | Method and Description |
|---|---|
Session |
Context.getWikiSession()
Returns the Session associated with the context.
|
Session |
Context.getWikiSession()
Returns the Session associated with the context.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
Session.doPrivileged(Session session,
java.security.PrivilegedAction<?> action)
Wrapper for
Subject.doAsPrivileged(Subject, PrivilegedAction, java.security.AccessControlContext)
that executes an action with the privileges posssessed by a Session's Subject. |
static java.lang.Object |
Session.doPrivileged(Session session,
java.security.PrivilegedAction<?> action)
Wrapper for
Subject.doAsPrivileged(Subject, PrivilegedAction, java.security.AccessControlContext)
that executes an action with the privileges posssessed by a Session's Subject. |
| Modifier and Type | Method and Description |
|---|---|
Session |
SessionDSL.find(Engine engine,
javax.servlet.http.HttpServletRequest request)
Returns the Session object associated with the current HTTP request.
|
Session |
SessionSPI.find(Engine engine,
javax.servlet.http.HttpServletRequest request)
Returns the Session object associated with the current HTTP request.
|
Session |
SessionSPI.find(Engine engine,
javax.servlet.http.HttpServletRequest request)
Returns the Session object associated with the current HTTP request.
|
Session |
SessionDSL.find(Engine engine,
javax.servlet.http.HttpServletRequest request)
Returns the Session object associated with the current HTTP request.
|
Session |
SessionDSL.guest(Engine engine)
Creates a new "guest" session containing a single user Principal
org.apache.wiki.auth.WikiPrincipal#GUEST, plus the role
principals Role#ALL and Role#ANONYMOUS. |
Session |
SessionSPI.guest(Engine engine)
Creates a new "guest" session containing a single user Principal
org.apache.wiki.auth.WikiPrincipal#GUEST, plus the role
principals Role#ALL and Role#ANONYMOUS. |
Session |
SessionSPI.guest(Engine engine)
Creates a new "guest" session containing a single user Principal
org.apache.wiki.auth.WikiPrincipal#GUEST, plus the role
principals Role#ALL and Role#ANONYMOUS. |
Session |
SessionDSL.guest(Engine engine)
Creates a new "guest" session containing a single user Principal
org.apache.wiki.auth.WikiPrincipal#GUEST, plus the role
principals Role#ALL and Role#ANONYMOUS. |
Copyright (c) 2001-2022 The Apache Software Foundation. All rights reserved.