Created
January 23, 2018 01:25
-
-
Save georgechang/c02b0718fa7e104154f1deb5780ed9e7 to your computer and use it in GitHub Desktop.
Default Sitecore Authentication Enabler Config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:role="http://www.sitecore.net/xmlconfig/role/"> | |
<sitecore role:require="Standalone or ContentManagement"> | |
<settings> | |
<setting name="FederatedAuthentication.Enabled"> | |
<patch:attribute name="value">true</patch:attribute> | |
</setting> | |
</settings> | |
<services> | |
<register serviceType="Sitecore.Abstractions.BaseAuthenticationManager, Sitecore.Kernel" implementationType="Sitecore.Owin.Authentication.Security.AuthenticationManager, Sitecore.Owin.Authentication" lifetime="Singleton" /> | |
<register serviceType="Sitecore.Abstractions.BaseTicketManager, Sitecore.Kernel" implementationType="Sitecore.Owin.Authentication.Security.TicketManager, Sitecore.Owin.Authentication" lifetime="Singleton" /> | |
<register serviceType="Sitecore.Abstractions.BasePreviewManager, Sitecore.Kernel" implementationType="Sitecore.Owin.Authentication.Publishing.PreviewManager, Sitecore.Owin.Authentication" lifetime="Singleton" /> | |
</services> | |
</sitecore> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment