[
http://jira.jboss.com/jira/browse/EJBTHREE-1242?page=comments#action_1240... ]
Carlo de Wolf commented on EJBTHREE-1242:
-----------------------------------------
I would rather see:
Hashtable<?, ?> environment = new Hashtable<?, ?>();
environment.put(InitialContext.SECURITY_PRINCIPAL, "me");
environment.put(InitialContext.SECURITY_CREDENTIALS, "creds"); // TODO: String?
InitialContext ctx = new InitialContext(environment);
...
ctx.close();
but that is a nice to have.
Fix javax.ejb.EJBAccessException Regressions in EJB3 TestSuite
--------------------------------------------------------------
Key: EJBTHREE-1242
URL:
http://jira.jboss.com/jira/browse/EJBTHREE-1242
Project: EJB 3.0
Issue Type: Sub-task
Components: core
Reporter: Andrew Lee Rubinger
Assigned To: Andrew Lee Rubinger
Priority: Critical
Fix For: AS 5.0.0.CR1
Most of these may be fixed by updating the deprecated SecurityAssociation mechanism
with:
SecurityClient client = SecurityClientFactory.getSecurityClient();
client.setSimple("username","password");
client.login();
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira