[jboss-user] [JBoss Seam] - Re: Advice on Security System

2007-02-01 Thread alex.kozlenkov
Guys, with Feb 1 CVS code, the problems above have gone away and in fact, all is working well. However, I am getting the following exception trace in the log:2007-02-01 10:30:59,450 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/helloworld]] Session attribute event |

[jboss-user] [JBoss Seam] - Re: Advice on Security System

2007-02-01 Thread [EMAIL PROTECTED]
Looks like a bug. Please report this one in JIRA, thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4009316#4009316 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4009316 ___

[jboss-user] [JBoss Seam] - Re: Advice on Security System

2007-01-31 Thread alex.kozlenkov
Correction: before I set distributable in web.xml. An XML fragment got dropped from the previous post. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4008746#4008746 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4008746

[jboss-user] [JBoss Seam] - Re: Advice on Security System

2007-01-31 Thread alex.kozlenkov
I've double checked that everything works fine before I set in web.xml and push to the cluster. The following happens when I try to log in:java.lang.ClassCastException: org.jboss.seam.security.Identity cannot be cast to javax.servlet.http.HttpSessionActivationListener |at

[jboss-user] [JBoss Seam] - Re: Advice on Security System

2007-01-29 Thread alex.kozlenkov
Guys, Need some help with the clustered case and latest Security from the CVS. I am getting: javax.servlet.ServletException: Cannot get value for expression '#{identity.loggedIn}' exception. Any leads will be really appreciated. I've got two Tomcat servers and one MySQL DB behind an Apache LB.

[jboss-user] [JBoss Seam] - Re: Advice on Security System

2007-01-23 Thread petemuir
Some experiences from integrating the Security Framework into a couple of apps. 1) If security components aren't configured in components.xml (but the servlet filter has been added) java.lang.NullPointerException | at

[jboss-user] [JBoss Seam] - Re: Advice on Security System

2007-01-23 Thread dilator
+1 for redirecting back As its an external redirect i presume this isnt currently possible - but external redirect is nice so don't change that! How about just appending a ?target=[original page] to the end, then we can pick that up as a @RequestParameter and redirect if we wish? Other than

[jboss-user] [JBoss Seam] - Re: Advice on Security System

2007-01-23 Thread [EMAIL PROTECTED]
Pete, its better to add that list to the JIRA issue. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4005438#4005438 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4005438 ___

[jboss-user] [JBoss Seam] - Re: Advice on Security System

2007-01-19 Thread [EMAIL PROTECTED]
I tried again, running ant clean first then logging in with demo/demo, still no exception. I've since changed ProfileAction so that it doesn't use the Principal name in the query, so if you want to try this latest version from CVS it should now work for you. View the original post :

[jboss-user] [JBoss Seam] - Re: Advice on Security System

2007-01-19 Thread mikepkp17
Yep, it is working now, well done, the whole security framework is really great work, thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003804#4003804 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003804

[jboss-user] [JBoss Seam] - Re: Advice on Security System

2007-01-18 Thread mikepkp17
Thank you very much for this. I am currently testing this and I have the following issue: | 11:08:51,187 ERROR [[/join2learn]] Session attribute event listener threw exception | java.lang.ClassCastException: org.jboss.seam.security.Identity | at

[jboss-user] [JBoss Seam] - Re: Advice on Security System

2007-01-18 Thread sbryzak2
I can't tell what's causing the ClassCastException from that stack trace, however the DatabaseServerLoginModule login module that you're using is a JBoss AS-specific login module, and won't work as is with Seam security. The unfortunate truth is that each app server implements security

[jboss-user] [JBoss Seam] - Re: Advice on Security System

2007-01-18 Thread mikepkp17
ok, I figured out that the classcast exception is thrown if I add the distributable/ tag to web.xml, this exception is also thrown in the seamspace example if I add this tag (also after I annotate the SFSBs with @Clustered). So this is another problem I will focus on later... But I noticed

[jboss-user] [JBoss Seam] - Re: Advice on Security System

2007-01-18 Thread sbryzak2
I made the same changes you did to Identity (and committed them to CVS) and the seamspace example still works fine for me. I'm not sure what to suggest, other than putting a breakpoint in Identity.getPrincipal() and checking which principals actually get asserted into the subject as a result

[jboss-user] [JBoss Seam] - Re: Advice on Security System

2007-01-18 Thread mikepkp17
never mind, since my app is now working and the changes will be committed ;-) Besides that I noticed that SimplePrincipal is not serializable and I got notserializableexceptions during my tests maybe since I am developing for a clustered environment, fyi View the original post :

[jboss-user] [JBoss Seam] - Re: Advice on Security System

2007-01-18 Thread sbryzak2
mikepkp17 wrote : | Besides that I noticed that SimplePrincipal is not serializable and I got notserializableexceptions during my tests maybe since I am developing for a clustered environment, fyi That was an oversight on my part, it's now Serializable. View the original post :

[jboss-user] [JBoss Seam] - Re: Advice on Security System

2007-01-18 Thread sbryzak2
mikepkp17 wrote : How did you login the seamspace application? | | If I try with demo/demo I get this strange exception on profile.seam... | If I then go back to home.seam (reload home.seam) I am logged in with demo. | | If I login with duke/duke everything works | | fyi I just

[jboss-user] [JBoss Seam] - Re: Advice on Security System

2007-01-18 Thread mikepkp17
Yes I do, I also deleted the data folder where I think the hsqldb stuff is in (?) and also deleted tmp and work folder... The only thing is that I run a JBoss 4.0.5.GA clustered environment, but I don't see if this might be a problem somehow but as I stated earlier the distributed tag in

[jboss-user] [JBoss Seam] - Re: Advice on Security System

2007-01-18 Thread mikepkp17
Hm, I did the test now since this issue makes me curious ;-) 1. I checked out the latest head from cvs 2. I downloaded latest jems installer, jems-installer-1.2.0.GA.jar 3. I installed the ejb3 configuration and did no customizations 4. got to console into seam checkout folder and ran ant clean

[jboss-user] [JBoss Seam] - Re: Advice on Security System

2007-01-17 Thread sbryzak2
I've made a few changes in the security API to support this now. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003093#4003093 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003093