Wolfgang Knauf [http://community.jboss.org/people/WolfgangKnauf] created the 
discussion

"Re: Secure access to an EJB3.0"

To view the discussion, visit: http://community.jboss.org/message/589322#589322

--------------------------------------------------------------
Hi,

I think that my sample applies to your use case, too.

One big "!!!" in your code snippets: don't use a 
Context.INITIAL_CONTEXT_FACTORY of 
"org.jboss.security.jndi.JndiLoginInitialContextFactory", because this was 
problematic with JBoss 4.2, and it will no longer work in AS 5 and above. You 
will have to perform a JAAS login as I described.

The security client of AS5 is just a simplified JAAS login, which performs 
internally similar things as my code ;-).

Best regards

Wolfgang
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/589322#589322]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to