"jaikiran" wrote :
| A bit of debugging shows that using
|
| SecurityClient client = SecurityClientFactory.getSecurityClient();
| | client.setSimple("anil", "mypass");
| |
|
| from a standalone client to access a secure EJB on JBoss-5.0 GA server always fails
with Invalid User. The principal being passed to the EJB is null. I will debug a bit more
and see what the problem is.
Got it working. I was missing the obvious step of client.login( ) :-) This works:
| SecurityClient client = SecurityClientFactory.getSecurityClient();
| client.setSimple("anil", "mypass");
| client.login();
This testcase helped me understand the usage
http://anonsvn.jboss.org/repos/jbossas/trunk/testsuite/src/main/org/jboss...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198405#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...