|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use WikiSession | |
---|---|
com.ecyrd.jspwiki | |
com.ecyrd.jspwiki.auth | |
com.ecyrd.jspwiki.auth.authorize | |
com.ecyrd.jspwiki.ui |
Uses of WikiSession in com.ecyrd.jspwiki |
---|
Methods in com.ecyrd.jspwiki that return WikiSession | |
---|---|
WikiSession |
WikiContext.getWikiSession()
Returns the WikiSession associated with the context. |
static WikiSession |
WikiSession.getWikiSession(WikiEngine engine,
javax.servlet.http.HttpServletRequest request)
Static factory method that returns the WikiSession object associated with the current HTTP request. |
static WikiSession |
WikiSession.guestSession()
Factory method that creates a new "guest" session containing a single user Principal, |
Uses of WikiSession in com.ecyrd.jspwiki.auth |
---|
Methods in com.ecyrd.jspwiki.auth with parameters of type WikiSession | |
---|---|
boolean |
AuthorizationManager.checkPermission(WikiSession session,
Permission permission)
Returns true or false , depending on
whether a Permission is allowed for the Subject associated with
a supplied WikiSession. |
Principal[] |
AuthorizationManager.getRoles(WikiSession session)
Returns an array of Principal objects that represents the roles that the user associated with a WikiSession possesses. |
UserProfile |
UserManager.getUserProfile(WikiSession session)
Retrieves the UserProfile for the
user in a wiki session. |
protected boolean |
AuthorizationManager.hasRoleOrPrincipal(WikiSession session,
Principal principal)
Determines if the Subject associated with a supplied WikiSession contains a desired user Principal or built-in Role principal, OR is a member a Group or external Role. |
protected void |
AuthenticationManager.injectGroupPrincipals(WikiSession session)
Injects GroupPrincipal objects into the user's Principal set based on the groups the user belongs to. |
protected void |
AuthenticationManager.injectRolePrincipals(WikiSession session)
Injects Role Principals into the user's Principal set based on the roles the user possesses, according to the external Authorizer . |
boolean |
UserManager.DummyGroupManager.isUserInRole(WikiSession session,
Principal role)
|
boolean |
Authorizer.isUserInRole(WikiSession session,
Principal role)
Determines whether the Subject associated with a WikiSession is in a particular role. |
boolean |
AuthorizationManager.isUserInRole(WikiSession session,
Principal principal)
Wrapper method that determines if the Subject associated with a supplied WikiSession contains a desired Role or GroupPrincipal. |
boolean |
AuthenticationManager.login(WikiSession session,
String username,
String password)
Attempts to perform a WikiSession login for the given username/password combination. |
void |
AuthenticationManager.refreshCredentials(WikiSession wikiSession)
Reloads user Principals into the suppplied WikiSession's Subject. |
void |
UserManager.setUserProfile(WikiSession session,
UserProfile profile)
Saves the UserProfile for the user in
a wiki session. |
Constructors in com.ecyrd.jspwiki.auth with parameters of type WikiSession | |
---|---|
SecurityVerifier(WikiEngine engine,
WikiSession session)
|
Uses of WikiSession in com.ecyrd.jspwiki.auth.authorize |
---|
Methods in com.ecyrd.jspwiki.auth.authorize with parameters of type WikiSession | |
---|---|
boolean |
WebContainerAuthorizer.isUserInRole(WikiSession session,
Principal role)
Determines whether the Subject associated with a WikiSession is in a particular role. |
boolean |
DefaultGroupManager.isUserInRole(WikiSession session,
Principal role)
Determines whether the Subject associated with a WikiSession is in a particular role. |
Uses of WikiSession in com.ecyrd.jspwiki.ui |
---|
Constructors in com.ecyrd.jspwiki.ui with parameters of type WikiSession | |
---|---|
InputValidator(String form,
WikiSession session)
Constructs a new input validator for a specific form and wiki session. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |