users@glassfish.java.net

Re: Trying to create certificate login module -- suspect missing

From: <forums_at_java.net>
Date: Wed, 14 Mar 2012 13:55:24 -0500 (CDT)

So, from the following, I conclude I need "security.jar"

SEVERE: PWC3989: An exception or error occurred in the container during the
request processing java.lang.NoClassDefFoundError:
com/sun/appserv/security/AppservCertificateLoginModule at
java.lang.ClassLoader.defineClass1(Native Method)   After adding
"security.jar", I get this:   SEVERE: PWC3989: An exception or error
occurred in the container during the request processing
java.lang.NoClassDefFoundError: com/sun/logging/LogDomains at
com.sun.appserv.security.AppservCertificateLoginModule.<clinit>(AppservCertificateLoginModule.java:83)
  I've reduced my code to this:   import
com.sun.appserv.security.AppservCertificateLoginModule; import
javax.security.auth.login.LoginException; public class MikeLogin extends
AppservCertificateLoginModule {       @Override     protected void
authenticateUser() throws LoginException {        
commitUserAuthentication(new String[]{"asdf:thisgroup"});     } }  


--
[Message sent by forum member 'chopper']
View Post: http://forums.java.net/node/884176