Skip to Content
0
Former Member
Jan 30, 2009 at 10:03 AM

openDocument: pass user login

469 Views

We would like to pass a user login with an openDocument call in BO XI 3.1; as far as I know it should be possible by changing the file "web.xml" in the directory

C:\Program Files\Business Objects\Tomcat55\webapps\OpenDocument\WEB-INF

In this file there are among other things the following options (starting at line 90):

<!-- Set to true to enable other single sign on. -->
    <context-param>
        <param-name>opendoc.sso.enabled</param-name>
        <param-value>true</param-value>
    </context-param>

    <!--
        Trusted authentication: set how to retrieve userID
        set to "REMOTE_USER" for HttpServletRequest.getRemoteUser()
        set to "HTTP_HEADER" for HTTP header
        set to "QUERY_STRING" for URL query string
        set to "COOKIE" for cookie
        set to "WEB_SESSION" for web session
        set to "USER_PRINCIPAL" for user principal
        reset to empty to disable trusted authentication
    -->
    <context-param>
        <param-name>opendoc.trusted.auth.user.retrieval</param-name>
        <param-value></param-value>
    </context-param>

    <!--
        Trusted authentication: set Header/URL parameter/Cookie/Session variable name
        to retrieve username
        No need to set for REMOTE_USER or USER_PRINCIPAL.
    -->
    <context-param>
        <param-name>opendoc.trusted.auth.user.param</param-name>
        <param-value></param-value>
    </context-param>

The "set to "QUERY_STRING" for URL query string" sounds interesting; how do I have to change the openDocument URL (which parameters do I have to add) to pass the username and password?

Thanks!