> > I'm not following what you meant in your original post about
> > "I get an exception one of each 3 times..."
>
> Hit refresh -> ok
> Hit refresh -> ok
> Hit refresh -> Error 500
>
> The error is thrown on any non-authenticated browser when there is an
> authenticated one open. If you don't authenticate anyone (if you only
browse
> the public zone) there is no error.
>
That should not happen. Is the servlet accessing the ejb deployed in
both the protected and unprotected areas? Try to reproduce the issue
with a variation of the jbosstest-web.ear.

> MyAuthEntry {
>     org.jboss.security.auth.spi.DatabaseServerLoginModule required
>     dsJndiName="java:/CanplasticaDS"
>     principalsQuery="SELECT PASSWORD AS Password FROM USUARIO WHERE ID=?"
>     rolesQuery="SELECT ROLE AS Role, 'Roles' AS RoleGroup FROM ROLE WHERE
> USU_ID = ?"
>     unauthenticatedIdentity="nobody" <--------------
> ;
> };
>
> Also the nobody user has a principal record, because if not it also wasn't
> allowed to access the app.
That should work then.



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to