Thanks for the help. I figured out what the problem was.
--- Nicholas <[EMAIL PROTECTED]> wrote: > OK, I got that. (I had to secure the Axis servcies > servlet to get it to work, but it worked). > > The error I get now when I try and create a remote > from the Home is: > > java.lang.SecurityException: No method permissions > assigned to method=create, interface=HOME > > I am not even sure how you express permissions on > the > Home object. I though it was only on remotes...... > > I put this in the ejb-jar for the remote: > > <method> > <ejb-name>ClientManager</ejb-name> > <method-name>*</method-name> > </method> > > > So do I need to add: > > <method> > > <ejb-name>ClientManagerHome</ejb-name> > <method-name>*</method-name> > </method> > > ? > > Thanks. > > //Nicholas > > --- Scott M Stark <[EMAIL PROTECTED]> wrote: > > Its automatic when using the bundled web > containers. > > All you need to do is > > be using the same security domain for the web and > > ejb layers. > > > > xxxxxxxxxxxxxxxxxxxxxxxx > > Scott Stark > > Chief Technology Officer > > JBoss Group, LLC > > xxxxxxxxxxxxxxxxxxxxxxxx > > > > ----- Original Message ----- > > From: "Nicholas" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Monday, January 06, 2003 11:20 AM > > Subject: [JBoss-user] How do I propagate > > LoginContexts so allow subsequent calls to access > > secured EJBs ? > > > > > > > There is an element of JAAS and JBossSX I am not > > clear > > > on. I have set up my policy > > > (DatabaseServerLoginModule) and I can > successfully > > > authenticate users logging in via a web service > > > (Axis), butI am unsure of what I need to do in > > order > > > to propagate the LoginContext (or its contents) > so > > > that subsequent calls via the web services can > > invoke > > > secured EJBs. > > > > > > Thanks for youer help. > > > > > > //Nicholas > > > > > > ===== > > > Nicholas Whitehead > > > Home: (973) 377 9335 > > > Cell: (201) 615 2716 > > > Work: (212) 622 5639 > > > [EMAIL PROTECTED] > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > ===== > Nicholas Whitehead > Home: (973) 377 9335 > Cell: (201) 615 2716 > Work: (212) 622 5639 > [EMAIL PROTECTED] > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user ===== Nicholas Whitehead Home: (973) 377 9335 Cell: (201) 615 2716 Work: (212) 622 5639 [EMAIL PROTECTED] ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
