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 class
WikiSession
Default implementation forSession
.Methods in org.apache.wiki that return Session Modifier and Type Method Description static 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 Session Modifier and Type Method Description Session
Context. 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.Object
Session. doPrivileged(Session session, java.security.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 Session Modifier and Type Method 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
SessionDSL. guest(Engine engine)
Creates a new "guest" session containing a single user Principalorg.apache.wiki.auth.WikiPrincipal#GUEST
, plus the role principalsRole#ALL
andRole#ANONYMOUS
.Session
SessionSPI. guest(Engine engine)
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 Session Modifier and Type Method Description Session
SessionMonitor. find(java.lang.String sessionId)
Looks up the wiki session associated with a user's Http session and adds it to the session cache.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 Session Modifier and Type Method Description boolean
AuthorizationManager. checkPermission(Session session, java.security.Permission permission)
Returnstrue
orfalse
, depending on whether a Permission is allowed for the Subject associated with a supplied Session.boolean
DefaultAuthorizationManager. checkPermission(Session session, java.security.Permission permission)
Returnstrue
orfalse
, depending on whether a Permission is allowed for the Subject associated with a supplied Session.boolean
AuthorizationManager. checkStaticPermission(Session session, java.security.Permission permission)
Determines whether a Subject possesses a given "static" Permission as defined in the security policy file.boolean
DefaultAuthorizationManager. checkStaticPermission(Session session, java.security.Permission permission)
Determines whether a Subject possesses a given "static" Permission as defined in the security policy file.protected void
SessionMonitor. fireEvent(int type, java.security.Principal principal, Session session)
Fires a WikiSecurityEvent to all registered listeners.default void
UserManager. fireEvent(int type, Session session, java.lang.Object profile)
Fires a WikiSecurityEvent of the provided type, Principal and target Object to all registered listeners.UserProfile
DefaultUserManager. getUserProfile(Session session)
Retrieves theUserProfile
for the user in a session.UserProfile
UserManager. getUserProfile(Session session)
Retrieves theUserProfile
for the user in a session.boolean
AuthorizationManager. 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.boolean
DefaultAuthorizationManager. 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 boolean
AuthorizationManager. isUserInRole(Session session, java.security.Principal principal)
Determines if the Subject associated with a supplied Session contains a desired Role or GroupPrincipal.boolean
Authorizer. isUserInRole(Session session, java.security.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, 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.boolean
DefaultAuthenticationManager. 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 boolean
DefaultGroupManager. isUserInRole(Session session, java.security.Principal role)
Determines whether the Subject associated with a WikiSession is in a particular role.boolean
WebContainerAuthorizer. isUserInRole(Session session, java.security.Principal role)
Determines whether the Subject associated with a Session is in a particular role.void
DefaultGroupManager. setGroup(Session session, Group group)
Saves theGroup
created by a user in a wiki session.void
GroupManager. setGroup(Session session, Group group)
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 Session Modifier and Type Method Description Session
SessionSPIDefaultImpl. find(Engine engine, javax.servlet.http.HttpServletRequest request)
Returns the Session object associated with the current HTTP request.Session
SessionSPIDefaultImpl. guest(Engine engine)
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 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.
-