NoClassDefFoundError: oracle/security/sso/ias904/toolkit/IPASUserMappingInterface Customizing The User Name Mapping (Doc ID 1112973.1)

Last updated on MARCH 14, 2013

Applies to:

Oracle ApplicationServer Single Sign-On - Version 10.1.4.0.1 to 10.1.4.3 [Release 10gR3]
Information in this document applies to any platform.
***Checked for relevance on 15-Mar-2013***

Symptoms

While trying to implement Custom User Name Mapping Module Java authentication plug-in, as documented in:
Oracle Application Server Single Sign-On Administrator's Guide 10g (10.1.4.0.1)
Chapter 8 Signing On with Digital Certificates

The following message is displayed in the browser:

Error: Internal Server Error. Please contact Administrator.
While accessing https://sso.oracle.com/sso/pages/login.jsp


The original SSO configuration was working, after implementing the customized mapper Java authentication module the above error is returned.

There are no relevant errors reported in the usual SSO log files:
$ORACLE_HOME/opmn/logs/OC4J~OC4J_SECURITY~default_island~1
$ORACLE_HOME/sso/log/ssoServer.log

The following error messages are reported in:
$ORACLE_HOME/j2ee/OC4J_SECURITY/application-deployments/sso/OC4J_SECURITY_default_island_1

10/05/24 13:46:23 web: Servlet error
java.lang.NoClassDefFoundError: oracle/security/sso/ias904/toolkit/IPASUserMappingInterface
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.OC4JSecureClassLoader.defineClassEntry(OC4JSecureClassLoader. java:172)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1179 )
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1065 )
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.findClass(ContextClassLoader.java:404)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.loadClass(ContextClassLoader.java:143)
at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.loadClass(ContextClassLoader.java:143)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at oracle.security.sso.server.auth.SSOX509CertAuth.authenticate(SSOX509CertAuth.java:347)
at oracle.security.sso.server.ui.SSOLoginServlet.processSSOPartnerRequest(SSOLoginServlet.java:1076)
at oracle.security.sso.server.ui.SSOLoginServlet.doPost(SSOLoginServlet.java:547)
at oracle.security.sso.server.ui.SSOLoginServlet.doGet(SSOLoginServlet.java:390)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java: 65)
at oracle.security.jazn.oc4j.JAZNFilter$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatch er.java:665)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletReques tDispatcher.java:332)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.j ava:830)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResou rcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)

Changes

 

$ORACLE_HOME/jdk/bin/javac -classpath $ORACLE_HOME/sso/lib/ipastoolkit.jar:$ORACLE_HOME/lib/servlet.jar:$ORACLE_HOME/jlib/ldapjclnt10.jar -d /home/oracle/java2 SSOCertMapperCustom.java



 

MediumHighSecurity_AuthPlugin = oracle.security.sso.server.auth.SSOX509CertAuth



 

# Certificate mapping module based on user nickname
#CertificateMappingModule = oracle.security.sso.server.auth.SSOCertMapperNickname
CertificateMappingModule=oracle.security.sso.server.auth.SSOCertMapperCustom

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms