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 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 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 ObjectSession.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#ALLandRole#ANONYMOUS.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 SessionModifier and TypeMethodDescriptionfinal SessionLooks up the wiki session associated with a user's Http session and adds it to the session cache.final 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 SessionModifier and TypeMethodDescriptionbooleanAuthorizationManager.checkPermission(Session session, Permission permission) Returnstrueorfalse, depending on whether a Permission is allowed for the Subject associated with a supplied Session.booleanDefaultAuthorizationManager.checkPermission(Session session, Permission permission) Returnstrueorfalse, depending on whether a Permission is allowed for the Subject associated with a supplied Session.booleanAuthorizationManager.checkStaticPermission(Session session, Permission permission) Determines whether a Subject possesses a given "static" Permission as defined in the security policy file.booleanDefaultAuthorizationManager.checkStaticPermission(Session session, Permission permission) Determines whether a Subject possesses a given "static" Permission as defined in the security policy file.protected final voidFires a WikiSecurityEvent to all registered listeners.default voidFires a WikiSecurityEvent of the provided type, Principal and target Object to all registered listeners.DefaultUserManager.getUserProfile(Session session) Retrieves theUserProfilefor the user in a session.UserManager.getUserProfile(Session session) Retrieves theUserProfilefor the user in a session.booleanAuthorizationManager.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.booleanDefaultAuthorizationManager.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 booleanAuthorizationManager.isUserInRole(Session session, Principal principal) Determines if the Subject associated with a supplied Session contains a desired Role or GroupPrincipal.booleanAuthorizer.isUserInRole(Session session, Principal role) Determines whether the Subject associated with a WikiSession is in a particular role.booleanAuthenticationManager.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.booleanDefaultAuthenticationManager.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 TypeMethodDescriptionbooleanDefaultGroupManager.isUserInRole(Session session, Principal role) Determines whether the Subject associated with a WikiSession is in a particular role.booleanWebContainerAuthorizer.isUserInRole(Session session, Principal role) Determines whether the Subject associated with a Session is in a particular role.voidSaves theGroupcreated by a user in a wiki session.voidSaves theGroupcreated 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#ALLandRole#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.