<?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: SPNEGO doesn't work when basicauthentication set in authschemes.xml in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/spnego-doesn-t-work-when-basicauthentication-set-in-authschemes-xml/m-p/6069398#M1355276</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;Sorry, my mistake then - I thought you were suggesting redirects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Sep 2009 05:10:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-15T05:10:44Z</dc:date>
    <item>
      <title>SPNEGO doesn't work when basicauthentication set in authschemes.xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spnego-doesn-t-work-when-basicauthentication-set-in-authschemes-xml/m-p/6069393#M1355271</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;We found that the SPNEGO authentication works fine for portal when using form based authentication, but SPNEGO doesn't work when authschemes.xml changed to use HTTP basic authentication e.g. the browser popup screen is shown instead of authenticating using SPENGO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The authschemes.xml changed to use basicauthentication instead of uidpwdlogon as follow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;authscheme-refs&amp;gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;authscheme-ref name="default"&amp;gt;&lt;/P&gt;&lt;P&gt;            &amp;lt;authscheme&amp;gt;basicauthentication&amp;lt;/authscheme&amp;gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;/authscheme-ref&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        &amp;lt;authscheme-ref name="UserAdminScheme"&amp;gt;&lt;/P&gt;&lt;P&gt;            &amp;lt;authscheme&amp;gt;uidpwdlogon&amp;lt;/authscheme&amp;gt; &lt;/P&gt;&lt;P&gt;        &amp;lt;/authscheme-ref&amp;gt;&lt;/P&gt;&lt;P&gt;    &amp;lt;/authscheme-refs&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I checked the HTTP trace, the response contains header "WWW-Authenticate=Basic" and not "WWW-Authenticate=Negotiate". Though "WWW-Authenticate=Negotiate" is set by the SPNEGO loginmodule, looks like the SAP logon application is resetting the WWW-Authenticate header back to "Basic" as basic authentication is used instead of form based authentication. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on making SPNEGO work with HTTP basic authentication would greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 13:11:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spnego-doesn-t-work-when-basicauthentication-set-in-authschemes-xml/m-p/6069393#M1355271</guid>
      <dc:creator>srinivas_cheruku</dc:creator>
      <dc:date>2009-09-14T13:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: SPNEGO doesn't work when basicauthentication set in authschemes.xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spnego-doesn-t-work-when-basicauthentication-set-in-authschemes-xml/m-p/6069394#M1355272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apples and pears are simply not the same ...&lt;/P&gt;&lt;P&gt;As you have posted correctly, the server sends out different header fields ("WWW-Authenticate=Negotiate" vs. "WWW-Authenticate=Basic") expecting the http client to react accordingly. Sorry, but if Basic Authentication is demanded by the server you cannot simply answer with SPNEGO (and vice versa).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 19:49:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spnego-doesn-t-work-when-basicauthentication-set-in-authschemes-xml/m-p/6069394#M1355272</guid>
      <dc:creator>Wolfgang_Janzen</dc:creator>
      <dc:date>2009-09-14T19:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: SPNEGO doesn't work when basicauthentication set in authschemes.xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spnego-doesn-t-work-when-basicauthentication-set-in-authschemes-xml/m-p/6069395#M1355273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Woflgang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to configure the portal authschemes so that when logging onto the portal you can decide to use basic auth, or spnego auth, perhaps by using a different portal login url ?&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>Mon, 14 Sep 2009 19:59:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spnego-doesn-t-work-when-basicauthentication-set-in-authschemes-xml/m-p/6069395#M1355273</guid>
      <dc:creator>tim_alsop</dc:creator>
      <dc:date>2009-09-14T19:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: SPNEGO doesn't work when basicauthentication set in authschemes.xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spnego-doesn-t-work-when-basicauthentication-set-in-authschemes-xml/m-p/6069396#M1355274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think redirects are a problem here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps you noticed in the past days that it was difficult to logon to SDN... &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 20:04:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spnego-doesn-t-work-when-basicauthentication-set-in-authschemes-xml/m-p/6069396#M1355274</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-14T20:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: SPNEGO doesn't work when basicauthentication set in authschemes.xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spnego-doesn-t-work-when-basicauthentication-set-in-authschemes-xml/m-p/6069397#M1355275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Julius,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not clear what you mean - are you suggesting that this can be solved using redirects ?&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>Mon, 14 Sep 2009 22:12:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spnego-doesn-t-work-when-basicauthentication-set-in-authschemes-xml/m-p/6069397#M1355275</guid>
      <dc:creator>tim_alsop</dc:creator>
      <dc:date>2009-09-14T22:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: SPNEGO doesn't work when basicauthentication set in authschemes.xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spnego-doesn-t-work-when-basicauthentication-set-in-authschemes-xml/m-p/6069398#M1355276</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;Sorry, my mistake then - I thought you were suggesting redirects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 05:10:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spnego-doesn-t-work-when-basicauthentication-set-in-authschemes-xml/m-p/6069398#M1355276</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-15T05:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: SPNEGO doesn't work when basicauthentication set in authschemes.xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spnego-doesn-t-work-when-basicauthentication-set-in-authschemes-xml/m-p/6069399#M1355277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I think it makes sense that the authentication set at server level overrides the authentication at loginmodules.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2009 09:14:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spnego-doesn-t-work-when-basicauthentication-set-in-authschemes-xml/m-p/6069399#M1355277</guid>
      <dc:creator>srinivas_cheruku</dc:creator>
      <dc:date>2009-09-15T09:14:57Z</dc:date>
    </item>
  </channel>
</rss>

