Forum Stats

  • 3,855,143 Users
  • 2,264,464 Discussions
  • 7,905,908 Comments

Discussions

JAAS login modules?

843811
843811 Member Posts: 49,851 Green Ribbon
Hi,

I am not sure whether all the 5 login modules come with jaas_1.0 or jdk1.4?

Thanks,
Burt

Comments

  • 843811
    843811 Member Posts: 49,851 Green Ribbon
    I found out the answer to the question I posted: there is no login modules in jaas1_0 package but they are in jdk 1.4 beta!

    I just made the SampleLoginModule working with jaas1_0 pakage. As posted as a plan in some of the posts, I have finished the JAAS authentication via a servlet. The client could be both a .shtml or a .java client.

    Anybody knows how to implement more principals and credenticals?

    Burt Wang
  • 843811
    843811 Member Posts: 49,851 Green Ribbon
    Hello Burt,

    I try to use a custom LoginModule within a web application. I use JDK 1.3.1 and have placed jaas.jar in jre/lib/ext and another jar with my custom LoginModule in WEB-INF/lib. Now JAAS seems to startup properly, reading the configuration file, but when it tries to load my custom LoginModule the classloader can't find my class residing in the jar file in WEB-INF/lib. Any help would be appreciated...

    Michael
  • 843811
    843811 Member Posts: 49,851 Green Ribbon

    I haven't tried deployment yet. Would you mind dropping your customed login module jar into /jre/lib/ext?

    Let's me know the results.

    Burt
This discussion has been closed.