Skip to content

Instantly share code, notes, and snippets.

@hsdulawat
Last active January 12, 2023 07:37
Show Gist options
  • Save hsdulawat/4b696fd89d9a1a218341f066d60d1854 to your computer and use it in GitHub Desktop.
Save hsdulawat/4b696fd89d9a1a218341f066d60d1854 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8" ?>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
<sitecore>
<pipelines>
<httpRequestBegin>
<processor type="ProjectNamespace.BasicAuthProcessor, DLLName" patch:before="*[1]" resolve="true" />
</httpRequestBegin>
</pipelines>
<settings>
<setting name="BasicAuthenticationnUserName" value="username" />
<setting name="BasicAuthenticationPassword" value="password" />
</settings>
</sitecore>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment