[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-1242) Fix javax.ejb.EJBAccessException Regressions in EJB3 TestSuite
Carlo de Wolf (JIRA)
jira-events at lists.jboss.org
Mon Mar 31 03:14:40 EDT 2008
[ http://jira.jboss.com/jira/browse/EJBTHREE-1242?page=comments#action_12405752 ]
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
More information about the jboss-jira
mailing list