<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error in setting up HTTP Header Variable Authentication in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-setting-up-http-header-variable-authentication/m-p/6332934#M1396288</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mnay thanks for your reply. It works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikrant Sud&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Nov 2009 16:25:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-04T16:25:15Z</dc:date>
    <item>
      <title>Error in setting up HTTP Header Variable Authentication</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-setting-up-http-header-variable-authentication/m-p/6332932#M1396286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to set-up SSO for SAP Biller Direct aplication (deployed on SAP J2EE 7.0) using HTTP Header variable authentication.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per SAP documentation I have created a new login module "HeaderVariableLoginModule" pointing to class "com.sap.security.core.server.jaas.HeaderVariableLoginModule".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I have added this new login module to Statck "Ticket" and the new config looks as below. HTTP header when UID is passed is USI_LOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Name                                                                                Flag                                            Options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;com.sap.security.core.server.jaas.HeaderVariableLoginModule    Sufficient                                    ume.configuration.active= tue,&lt;/P&gt;&lt;P&gt;                                                                                Header=USI_LOP&lt;/P&gt;&lt;P&gt;BasicPasswordLoginModule                                                           Optional&lt;/P&gt;&lt;P&gt;CreateTicketLoginModule                                                                 Optional                                         ume.configuration.active= tue&lt;/P&gt;&lt;P&gt;EvaluateTicketLoginModule                                                              Sufficient                                      ume.configuration.active= tue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I am now having is that the authentication through HTTP_HEADEr does not work. Even though I ahve increased the trace level for JAAS module to debug, there is not any type of information generated in the log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each time I call the Biller Direct URL from the extrenal web server which also passes the HEADER variable for Authntication, the authrisation just fails and I am being shown a Logon Screen to pust UID/PASSWORD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please guide me, how I can debug this? There is very no information whether anyone tried to login with HEADER varibale and that has failed...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I am not pretty sure whether I am using the right Authentication Stack, which is is Ticket in my case..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I enter the application without any URL redirects and enter UID and password directly for Biller Direct, I get the following in log file, which makes me believe that I am using the right stack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOGIN.OK&lt;/P&gt;&lt;P&gt;User: CONDLG&lt;/P&gt;&lt;P&gt;Authentication Stack: ticket&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Login Module                                                               Flag        Initialize  Login      Commit     Abort      Details&lt;/P&gt;&lt;P&gt;1. com.sap.security.core.server.jaas.HeaderVariableLoginModule             SUFFICIENT  ok          false      false                 &lt;/P&gt;&lt;P&gt;2. com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule   OPTIONAL    ok          true       true                  &lt;/P&gt;&lt;P&gt;3. com.sap.security.core.server.jaas.CreateTicketLoginModule               OPTIONAL    ok          true       true                  &lt;/P&gt;&lt;P&gt;4. com.sap.security.core.server.jaas.EvaluateTicketLoginModule             SUFFICIENT  ok          false      false                 &lt;/P&gt;&lt;P&gt;Central Checks                                                                                true                  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be very much apprecated..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikrant Sud&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2009 15:05:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-setting-up-http-header-variable-authentication/m-p/6332932#M1396286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-04T15:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error in setting up HTTP Header Variable Authentication</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-setting-up-http-header-variable-authentication/m-p/6332933#M1396287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vikrant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason why it is not working is because your login modules in ticket stack are in wrong order and with wrong flags. The first one should be EvaluateTicketLoginModule with flag=SUFFICIENT, then the Header Variable login module, with flag=OPTIONAL, then CreateTicketLoginModule with flag=SUFFICIENT, then BasicPasswordLoginModule with flag=REQUISITE, and lastly CreateTicektLoginModule with flag=OPTIONAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2009 15:11:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-setting-up-http-header-variable-authentication/m-p/6332933#M1396287</guid>
      <dc:creator>tim_alsop</dc:creator>
      <dc:date>2009-11-04T15:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error in setting up HTTP Header Variable Authentication</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-setting-up-http-header-variable-authentication/m-p/6332934#M1396288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mnay thanks for your reply. It works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikrant Sud&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2009 16:25:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-setting-up-http-header-variable-authentication/m-p/6332934#M1396288</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-04T16:25:15Z</dc:date>
    </item>
  </channel>
</rss>

