Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAAS LoginModule with WebSphere "unable to find LoginModule class"

 
D Arnott
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey all,

I am having an issue I thought someone here might be able to help me with. I am not familiar with JAAS, but in setting up an environment to do some API work I ran into an issue getting the code to login properly. It throws an exception during runtime. I have the configuration file defined and it seems to be reading it, but it says I am missing a class. I have no idea what class/jar I would be missing. Any help would be greatly appreciated. Thanks!

EXCEPTION
javax.security.auth.login.LoginException: unable to find LoginModule class: com.ibm.ws.security.common.auth.module.proxy.WSLoginModuleProxy


jaas.conf file contents:

WSLogin {
com.ibm.ws.security.common.auth.module.proxy.WSLoginModuleProxy required delegate=com.ibm.ws.security.common.auth.module.WSLoginModuleImpl;
};

ITIM {
com.ibm.ws.security.common.auth.module.proxy.WSLoginModuleProxy required delegate=com.ibm.itim.apps.jaas.spi.PlatformLoginModule;
};
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic