Plugin Token Does Not Get Passed To The URL When Using Custom Plugin To Integrate Third Party App (Doc ID 374520.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Application Server Single Sign-On - Version 9.0.4 to 10.1.2.0.2 [Release 10gR1 to 10gR2]
Information in this document applies to any platform.
***Checked for relevance on 18-Dec-2012***

Oracle9iAS Single Sign-On - Version: 9.0.4 to 10.1.2


Symptoms

You are trying to integrate third party app with AS10G Single Sign-On (SSO) using the following Documentation:

Single Sign-on Admin Guide
13 Integrating with Third-Party Access Management Systems
13.3.2.2.1 Authentication Using a Token

And, you have hard time getting it to work due to the token that does not get passed to the URL. 

Everything seems to work fine, except that when this method is called:

/**
* authenticate the user with token
* @see oracle.security.sso.ias904.toolkit.IPASAuthInterface#authenticate(javax.servlet.http.HttpServletRequest)
*/
public IPASUserInfo authenticate(HttpServletRequest request) throws
IPASAuthException, IPASInsufficientCredException { ....

It does not have the URL parameters in the HttpServletRequest object. The sample in the document uses "headers" to pass the token from the 3rd party Single Sign On application to Java. And, it seems to be null.

ssoServer.log file shows the following errors:

Fri May 26 15:04:40 EDT 2006 [DEBUG]
AJPRequestHandler-ApplicationServerThread-7 WS Request: FALSE
Fri May 26 15:04:47 EDT 2006 [DEBUG]
AJPRequestHandler-ApplicationServerThread-8 URI received is: /sso/auth
Fri May 26 15:04:47 EDT 2006 [DEBUG]
AJPRequestHandler-ApplicationServerThread-8 Partner Type: SSOPartner
Fri May 26 15:04:47 EDT 2006 [DEBUG]
AJPRequestHandler-ApplicationServerThread-8 Auth URI = : /sso/auth
Fri May 26 15:04:47 EDT 2006 [ERROR]
AJPRequestHandler-ApplicationServerThread-8 No site2pstoretoken from SSO partner
Fri May 26 15:04:47 EDT 2006 [DEBUG]
AJPRequestHandler-ApplicationServerThread-8 exception before getAuthLevel oracle.security.sso.ias904.toolkit.IPASAuthException: No site2pstoretoken from SSO partner
at oracle.security.sso.server.auth.AuthDirector.getAuthLevel(AuthDirector.java:174).
at oracle.security.sso.server.ui.SSOLoginServlet.doPost(SSOLoginServlet.java:323).
at oracle.security.sso.server.ui.SSOLoginServlet.doGetFri May 26
15:04:47 EDT 2006 [DEBUG] AJPRequestHandler-ApplicationServerThread-8 Calling.
getAuthLevel for /sso/auth
Fri May 26 15:04:47 EDT 2006 [INFO]
AJPRequestHandler-ApplicationServerThread-8
Entered FilePolicyManager.getAuthLevel: authUri=/sso/auth
Fri May 26 15:04:47 EDT 2006 [ERROR]
AJPRequestHandler-ApplicationServerThread-8 Unexpected Exception receivedjava.lang.NullPointerException at
oracle.security.sso.server.policy.FilePolicyManager.getAuthLevel(FilePolicyManager.java:374) at
oracle.security.sso.server.auth.AuthDirector.getAuthLevel(AuthDirector.java:199)

 

Changes

Integrating Third Party App with SSO.

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