My test clients have code like this
| InitialContext iniCtx = getInitialContext();
| OrganizationHome home =
(OrganizationHome)iniCtx.lookup("ejb/RoleSecuredSLSB");
|
| OrganizationRemote bean = null;
| try
| {
| bean = home.create();
| fail("Security exception expected");
| }
| catch (Exception e)
| {
| // all cool, now try again with valid credentials
| SecurityAssociation.setPrincipal(new SimplePrincipal(USERNAME));
| SecurityAssociation.setCredential(PASSWORD);
| bean = home.create();
| }
|
This no longer works. How is the client now supposed to provide valid
principal/credential
cheers
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041299#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...