"[EMAIL PROTECTED]" wrote : This is basically a total mess and we are looking
into what we can do to fix this in JBoss (and eventually fix the stupid servlet
spec).
This is what I'd discovered.... I thought, that there must be a way to easily
add a role to a user, but no way.
so now I added this to pages.xml:
<pages>
| <page view-id="/admin/*" action="#{login.loggedIn}"/>
| </pages>
and I got this action:
public String loggedIn() {
| if (sessionContext.get(LOGGED_IN) != null){
| return null;
| }
| return "login";
| }
this works well (but why there is a conversationId added to the parameters? I
didn't start any conversation)
- Andreas
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939014#3939014
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939014
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user