makumba hackers: this page is generated, don't edit it! Instead edit the text in the included pages.

Taglib documentation for tag mak:logout#

Description#

To cancel out a certain attribute, in order to produce a new login, the logout tag is available You can remove (cancel-out, logout) multiple attributes from the session by using <mak:logout actor="attribute name"> several times and/or by using the star (*) wildcard, e.g.: (Later on, logout request might be done in the business logic, with a method deleteAttributes(param) that can accept either a String (with optional '*') or a String. ) (Later: to accomodate servers that don't do session tracking, login can be done by a query condition rather than by doing a query (once per session) to find an attribute. This way, it won't need to do a query (to check the authentication) at every access, but that condition will make sure that authentication is done. ) (<mak:object from="best.Student stud" where ="stud.$login()"> ...</mak:object> then methodBestSudentLogin("stud") will return "stud.auth.email=$username AND stud.auth.password=$password" This can be used for http authentication with no session tracking. ) (Later: if an attribute has multiple values, a choose{AttributeName}.jsp page is shown. For example, a super user (for that area) can choose to act as any student, Lbg, or company... A student member of more local Vivaldi teams can choose to act for any of the viv teams, etc. )
.

Attributes#

Name Required Runtime expression Description Comments
actor true true
The name of the attribute to be removed from the session. You can remove multiple attributes by using the star (*) wildcard to partially match attributes.
.

.

See also#

mak:login, mak:attribute

Examples#

To cancel out a certain attribute, specify the exact name:

<mak:logout actor="employee"/>

You can remove (cancel-out, logout) multiple attributes from the session by using <mak:logout actor="attribute name"> several times and/or by using the star (*) wildcard, e.g.:

<mak:logout actor="demo_*"/> (attributes whose names start with "demo_")
<mak:logout actor="*app"/> (attributes whose names end with "app")
<mak:logout actor="*"/> (all attributes; this "invalidates" the session)
.

Category Documentation


Add Comment
« This page was last updated on August 1 2010