This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Invoking Secure EJBs from Client App

Dushy Inguva
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a remote EJB running on websphere. I'm trying to invoke it from a client program. It works fine. (I'm using Sun's com.sun.jndi.cosnaming.CNCtxFactory as the initial context factory).

Now, if i enable role based security for the ejb, how do i authenticate against the ejb server from the client ? Supplying the username & password in the JNDI lookup from the client does not work.

Now I am trying to do JAAS.

Now, even if i give it a jaas.config file, using the where do i specify the server name and port for it to use for JAAS login?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic