This content has been marked as final.
Show 2 replies
-
1. Re: Seam Security on Glassfish problem -
ckfh Feb 4, 2007 1:01 AM (in response to ckfh)I just found that I need to add additional jar files and a rule file. So I added the jar files and an empty rule file. After that, I got the following exception instead:
...
Caused by: java.lang.NullPointerException
at org.jboss.seam.security.Identity.postAuthenticate(Identity.java:362)
at org.jboss.seam.security.Identity.authenticate(Identity.java:196)
at org.jboss.seam.security.Identity.authenticate(Identity.java:189)
.... -
2. Re: Seam Security on Glassfish problem -
shane.bryzak Feb 4, 2007 6:23 AM (in response to ckfh)You also need to configure your rule file in components.xml - it must have a component name of "securityRules":
<drools:rule-base name="securityRules"> <drools:rule-files>/META-INF/security-rules.drl</drools:rule-files> </drools:rule-base>