Symantec Access Management

 View Only
  • 1.  SAML federation desnt'work. (SMPORTALURL incorrect valued ?)

    Posted May 15, 2019 05:54 AM

    Hi to all,

    I've a problem with SAML Federation. SPS and PolicyServer version is 12.8sp2 Siteminder is IdP.

    The problem, I think, is that SMPORTALURL is wrongly populated.

    When I try access to access to FQDN of federated application    I get redirected to auth page, and then to this url



    HTTP Status 500 – Internal Server Error

    Type Exception Report

    Message An exception occurred processing JSP page /redirectjsp/redirect.jsp at line 105

    Description The server encountered an unexpected condition that prevented it from fulfilling the request.

    Note The full stack trace of the root cause is available in the server logs.



    I try access to access to FQDN of federated application, I receive no error and I go in to application page.
    I get This behavior even with IDP Initiated connection.


    I think the cause is that SMPORTALURL should be the line   "http://......."


    Anyway this is the log


    Stacktrace:] with root cause Illegal character in path at index 48: OMKmqJc3L8RTtGLUkVZ5ytKbVIjS6PFTwXcOunOjuxVqmmA1 Uzk9QXNcfexN4c5ffyqTIRpa4tOBbXt8Bo0HhurZxnyxmlKeR4wf3cHxxHOwIYZipk7R7mScB3NYlPi?SMASSERTIONREF=QUERY
            at com.netegrity.affiliateminder.webservices.c.sendRedirect(fedfws_obfsc:53)
            at org.apache.jsp.redirectjsp.redirect_jsp._jspService(
            at org.apache.jasper.runtime.HttpJspBase.service(
            at javax.servlet.http.HttpServlet.service(
            at org.apache.jasper.servlet.JspServletWrapper.service(
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(
            at org.apache.jasper.servlet.JspServlet.service(
            at javax.servlet.http.HttpServlet.service(
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(
            at com.netegrity.affiliateminder.webservices.CAFedFilter.doFilter(fedfws_obfsc:58)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(
            at org.apache.catalina.core.StandardWrapperValve.invoke(
            at org.apache.catalina.core.StandardContextValve.invoke(
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
            at org.apache.catalina.core.StandardHostValve.invoke(
            at org.apache.catalina.valves.ErrorReportValve.invoke(
            at com.netegrity.proxy.ProxyValve.processRequest(Unknown Source)
            at com.netegrity.proxy.ProxyValve.invoke(Unknown Source)
            at org.apache.catalina.core.StandardEngineValve.invoke(
            at org.apache.catalina.connector.CoyoteAdapter.service(
            at org.apache.coyote.ajp.AjpProcessor.process(
            at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
            at java.util.concurrent.ThreadPoolExecutor.runWorker(
            at java.util.concurrent.ThreadPoolExecutor$
            at org.apache.tomcat.util.threads.TaskThread$

    mag 15, 2019 12:31:43 PM org.apache.catalina.valves.ErrorReportValve report
    GRAVE: Exception
    mag 15, 2019 12:31:43 PM org.apache.catalina.valves.ErrorReportValve report
    GRAVE: org.apache.jasper.JasperException: An exception occurred processing JSP page /redirectjsp/redirect.jsp at line 105

    102:    //System.out.println(referer + "?" + queryString);
    104:    //redirect the user back to PORTALURL with all the query params
    105:    response.sendRedirect(URLDecoder.decode(referer, "UTF-8") + "?" + queryString );
    106: }
    107: %>




    Thanks in advance.






  • 2.  Re: SAML federation desnt'work. (SMPORTALURL incorrect valued ?)
    Best Answer

    Posted May 15, 2019 10:39 AM

    I'm sorry it was my fault! 
    The URL was encoded because I check for mistake the option "Use Protected Url" in federation!