[jboss-dev-forums] [Design of EJB 3.0] - Re: Security Regressions in EJB3 TestSuite

ALRubinger do-not-reply at jboss.com
Mon Mar 31 09:26:05 EDT 2008


"wolfc" wrote : 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();

Yes, Anil, this is what I meant by:

"ALRubinger" wrote : Can users still set plain properties in their Contexts to get this setup correctly, or is SecurityClient now required?

Would this eliminate the need for the Client CP to have JBoss Security JARs?

S,
ALR

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140123#4140123

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140123



More information about the jboss-dev-forums mailing list