> have you declared security-domain in jboss.xml?

no, i can find very little about it in the jboss doc's.
xdoclet mentions something about a jboss-security file that is supposed to contain 
such information but i dont know the format. Is
this meant to be an additional file in the server folder or in my bean jar file?

> That's wrong. You need to declare "other" in security-domain element
> in jboss.xml.

I cant find that xdoclet does this so i quess i must do it manually then.


> And the client code should look like this:
> try {
>   AppCallbackHandler handler = new AppCallbackHandler(name, password);
>   LoginContext lc = new LoginContext("TestClient", handler);
>   cat.debug("Created LoginContext");
>   lc.login();
> } catch(LoginException le) {
>   cat.debug("Login failed", le);

ok, thanks. So the sercuritydomain maps the TestClient to the other module then?

/Jon


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

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

Reply via email to