"Scott M Stark" <[EMAIL PROTECTED]> wrote:
> The only supported way currently is to do a JAAS login with a login
> module configuration that establishes your notion of a guest
> user. The guest username and password are something that has to make
> sense when validated against the security domain you have assigned
> the EJBs to.
Erm... Thanx for the answer! :-)
If I understand you right, I should override the
getUsernameAndPassword() method of UsernamePasswordLoginModule and
return new String[] { "guest", "guest" } if the callbackHandler is
null instead of throwing an exception.
Or did you mean that I login Tomcat in the init methods of my servlets
just as I do in a normal application? Doesn't this mean that the whole
JVM is logged in (well, I could live with that, but still...)?
--
(o_ Raffael Herzog
//\ [EMAIL PROTECTED]
V_/_
May the penguin be with you!
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user