HTTP-500 Internal Server Error With 3rd Party Integrated SSO Login (Doc ID 403207.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Application Server Single Sign-On - Version 9.0.4 to 10.1.4 [Release 10gR1 to 10gR3]
Information in this document applies to any platform.
***Checked for relevance on 21-FEB-2013***


Symptoms

SSO has been integrated with a 3rd party access management system following the SSO documentation 'Integrating with Third-Party Access Management Systems'.

When the application page protected by the third party access management system is loaded, the user is redirected to the third party access management system login interface and enters valid credentials there.

Control is then passed back to the application page which is protected by 10gAS OSSO. Since an SSO session does not yet exist, the user is redirected behind the scenes to SSO to complete SSO login. SSO does not perform authentication, since this is delegated to the 3rd party access management system using a custom plugin. SSO only retrieves the user data for the userid passed from the access management system and creates the SSO_ID session cookie.

However SSO is failing to establish the SSO session; when the user is redirected to SSO the HTTP-500 error occurs:

   500 Internal Server Error
   Unexpected Error. Please contact Administrator


The debug ssoServer.log shows error:

[ERROR] AJPRequestHandler-ApplicationServerThread-9 Could not get attributes for user, testuser
oracle.ldap.util.NoSuchUserException: User does not exist - SIMPLE NAME = testuser
at oracle.ldap.util.Subscriber.getUser_NICKNAME(Subscriber.java:1159)
at oracle.ldap.util.Subscriber.getUser(Subscriber.java:912)
at oracle.ldap.util.Subscriber.getUser(Subscriber.java:859)
at oracle.security.sso.server.ldap.OIDUserRepository.getUserProperties(OIDUserRepository.java:493)
at oracle.security.sso.server.auth.AuthUtil.getUserMapping(AuthUtil.java:1179)
at oracle.security.sso.server.ui.SSOLoginServlet.processSSOPartnerRequest(SSOLoginServlet.java:998)
at oracle.security.sso.server.ui.SSOLoginServlet.doPost(SSOLoginServlet.java:328)
at oracle.security.sso.server.ui.SSOLoginServlet.doGet(SSOLoginServlet.java:285)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)

 

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