jaikiran pai [
http://community.jboss.org/people/jaikiran] replied to the discussion
"JAAS + EJB3.0 + Jboss unable to propaogate"
To view the discussion, visit:
http://community.jboss.org/message/549304#549304
--------------------------------------------------------------
Gaurav Agarwal wrote:
Properties properties = *new* Properties();
properties.setProperty("INITIAL_CONTEXT_FACTORY","org.jnp.interfaces.NamingContextFactory");
properties.setProperty("URL_PKG_PREFIXES","org.jboss.naming:org.jnp.interfaces");
properties.setProperty("PROVIDER_URL","jnp://localhost:1099");
properties.put(Context.SECURITY_PRINCIPAL, "avril");
Passing of security principal through jndi context properties will +not+ work in
AS-5. See Q10 (specifically the note about AS-5) in security FAQ
http://community.jboss.org/wiki/SecurityFAQ http://community.jboss.org/wiki/SecurityFAQ
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/549304#549304]
Start a new discussion in EJB 3.0 at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]