• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic