• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using JAAS for EJB client

 
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have an EJB client that's using JAAS to connect to an EJB in Weblogic. It seems to work fine. The client connects fine, provided I setup the right username/password. If I use an incorrect username/password, I get a 'javax.security.auth.login.LoginException' exception as expected. The problem is that the client is also able to connect to the EJB without using any authentication at all. It's like a speak-easy that can be accessed by either saying the password or keeping quiet. I am running the weblogic server with -Djava.security.auth.login.config=security.config system property set. How do I force the server to accept only authenticated requests?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic