forked from DNNCommunity/DNN.ActiveDirectory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ActiveDirectory.dnn
154 lines (149 loc) · 7.62 KB
/
ActiveDirectory.dnn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<dotnetnuke type="Package" version="5.0">
<packages>
<package name="DNN_ActiveDirectoryAuthentication" type="Auth_System" version="07.00.00">
<friendlyName>DNN_ActiveDirectoryAuthentication</friendlyName>
<description>The DotNetNuke Active Directory Authentication Project is an Authentication provider for DotNetNuke that uses the Windows
Active Directory authentication protocol to authenticate users.
</description>
<owner>
<name>DotNetNuke Corporation</name>
<organization>DotNetNuke Corporation</organization>
<url>http://www.dotnetnuke.com</url>
<email>[email protected]</email>
</owner>
<license src="License.txt"/>
<releaseNotes src="ReleaseNotes.txt" />
<dependencies>
<dependency type="Permission">AspNetHostingPermission</dependency>
<dependency type="CoreVersion">08.00.04</dependency>
</dependencies>
<components>
<component type="AuthenticationSystem">
<authenticationService>
<type>ActiveDirectory</type>
<settingsControlSrc>DesktopModules/AuthenticationServices/ActiveDirectory/Settings.ascx</settingsControlSrc>
<loginControlSrc>DesktopModules/AuthenticationServices/ActiveDirectory/Login.ascx</loginControlSrc>
<logoffControlSrc/>
</authenticationService>
</component>
<component type="Assembly">
<assemblies>
<assembly>
<path>bin\Providers</path>
<name>DotNetNuke.Authentication.ActiveDirectory.dll</name>
<version>07.00.00</version>
</assembly>
<assembly>
<path>bin</path>
<name>Mvolo.FormsAuthenticationModule.dll</name>
<version>01.00.00</version>
</assembly>
</assemblies>
</component>
<component type="ResourceFile">
<resourceFiles>
<basePath>DesktopModules/AuthenticationServices/ActiveDirectory</basePath>
<resourceFile>
<name>Resources.zip</name>
</resourceFile>
</resourceFiles>
</component>
<component type="Cleanup">
<files>
<file>
<path>bin\Providers</path>
<name>Interop.ActiveDs.dll</name>
</file>
<file>
<path>install\package</path>
<name>ActiveDirectory_01.00.04_install.resources</name>
</file>
<file>
<path>install\package</path>
<name>ActiveDirectory_01.00.03_install.resources</name>
</file>
<file>
<path>install\package</path>
<name>ActiveDirectory_01.00.00_install.resources</name>
</file>
<file>
<path>install\AuthSystem</path>
<name>ActiveDirectory_05.00.00_install.resources</name>
</file>
<file>
<path>install\AuthSystem</path>
<name>ActiveDirectory_05.00.01_install.resources</name>
</file>
<file>
<path>install\AuthSystem</path>
<name>ActiveDirectory_05.00.02_install.resources</name>
</file>
<file>
<path>install\AuthSystem</path>
<name>ActiveDirectory_06.00.00_install.resources</name>
</file>
</files>
</component>
<component type="Config">
<config>
<configFile>web.config</configFile>
<install>
<configuration>
<nodes>
<node path="/configuration/system.web/httpModules" action="update" key="name" collision="overwrite">
<add name="Authentication" type="DotNetNuke.Authentication.ActiveDirectory.HttpModules.AuthenticationModule, DotNetNuke.Authentication.ActiveDirectory" />
</node>
<node path="/configuration/dotnetnuke/authentication/providers" action="update" key="name" collision="overwrite">
<add name="ADSIAuthenticationProvider" type="DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider, DotNetNuke.Authentication.ActiveDirectory"
providerPath="~\Providers\AuthenticationProviders\ADSIProvider\" />
</node>
<node path="/configuration/configSections" action="update" key="name" collision="overwrite">
<section name="formsAuthenticationWrapper" type="Mvolo.Modules.FormsAuthConfigurationSection" />
</node>
<node path="/configuration/system.webServer/modules" action="update" key="name" collision="overwrite">
<remove name="FormsAuthentication" />
</node>
<node path="/configuration/system.webServer/modules" action="update" key="name" collision="overwrite">
<add name="FormsAuthentication" type="Mvolo.Modules.FormsAuthModule" />
</node>
<node path="/configuration/system.webServer/modules" action="update" key="name" collision="overwrite">
<add name="Authentication" type="DotNetNuke.Authentication.ActiveDirectory.HttpModules.AuthenticationModule, DotNetNuke.Authentication.ActiveDirectory" />
</node>
<node path="/configuration" action="update" key="path" collision="overwrite">
<location path="DesktopModules/AuthenticationServices/ActiveDirectory/WindowsSignin.aspx">
<!-- Disable Forms Authentication -->
<formsAuthenticationWrapper enabled="false" />
<system.webServer>
<security>
<!-- Change enabled to true if you want to enable IIS Windows authentication for the login page -->
<!-- False by default due to unfavorable behavior -->
<authentication>
<windowsAuthentication enabled="false" />
<anonymousAuthentication enabled="false" />
</authentication>
</security>
</system.webServer>
</location>
</node>
</nodes>
</configuration>
</install>
<uninstall>
<configuration>
<nodes>
<node path="/configuration/system.web/httpModules/add[@name='Authentication']" action="remove" />
<node path="/configuration/dotnetnuke/authentication/providers/add[@name='ADSIAuthenticationProvider']" action="remove" />
<node path="/configuration/configSections/section[@name='formsAuthenticationWrapper']" action="remove" />
<node path="/configuration/system.webServer/modules/remove[@name='FormsAuthentication']" action="remove" />
<node path="/configuration/system.webServer/modules/add[@name='FormsAuthentication']" action="remove" />
<node path="/configuration/system.webServer/modules/add[@name='Authentication']" action="remove" />
<node path="/configuration/location[@path='DesktopModules/AuthenticationServices/ActiveDirectory/WindowsSignin.aspx']" action="remove" />
</nodes>
</configuration>
</uninstall>
</config>
</component>
</components>
</package>
</packages>
</dotnetnuke>