[jboss-dev-forums] [Design of EJB 3.0] - Re: Security Regressions in EJB3 TestSuite
anil.saldhana@jboss.com
do-not-reply at jboss.com
Sat Mar 29 23:49:50 EDT 2008
| 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#4139899
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139899
More information about the jboss-dev-forums
mailing list