| SecurityClient client = SecurityClientFactory.getSecurityClient();
| client.setSimple(principal,cred);
| client.login();
| ...
|
| client.logout();
|
That is the simplest usage of the SecurityClient interface. The deprecated
SecurityAssociation usage in the ejb3 test suite is probably failing because the test
suite is using an older library of JBossSX in the 2.0.x series. There have been a lot of
things broken with the SecurityAssociation api (as I have migrated to a SecurityContext
approach). I have still not taken care of all the SA fallouts.
But we try to discourage folks to stop using SecurityAssociation in the JBoss AS5 arena.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139899#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...