[jboss-user] [Security & JAAS/JBoss] - Secure EJBs and unsecure Servlets

2008-12-19 Thread OrangeMetallicFrog
Hello again. Having read through my last post, I realised it wasn't really very clear what I was doing/having a problem with. Hopefully now it isn't so early in the day I can be a bit clearer! So, I have an EJB that I have secured. I can connect to this through my remote client. The remote

[jboss-user] [Security & JAAS/JBoss] - Secure EJBs and jndi.properties

2008-12-19 Thread OrangeMetallicFrog
Hi all, I've got a web service that is calling a secured EJB. However, I keep getting security exceptions when the EJB is tried to be created. The code for creating the EJB sets the principal and credentials before creating the InitialContext. I think the problem may be related to this not c

[jboss-user] [Beginners Corner] - Secure EJBs and Webservices

2008-12-17 Thread OrangeMetallicFrog
Hi all, I've got an EJB that I have managed to secure using LDAP. I've got a standalone client that can connect, login and invoke methods on the EJB. That's all good. However, I also have a webservice. The webservice takes three parameters with two of the parameters being the username and p