Changed to use Authenticate asp.net event instead of Authorize
[castle.git] / Samples / MindDump / app_config.xml
blobe81da1e393ab82051b2cc0a6a85cd4a56811d3bf
1 <configuration>\r
2 \r
3         <facilities>\r
4                 <facility id="nhibernate" isWeb="true">\r
5                         <factory id="nhibernate.factory">\r
6                                 <!-- MYSQL Config\r
7                                 <settings>\r
8                                         <item key="hibernate.connection.provider">NHibernate.Connection.DriverConnectionProvider</item>\r
9                                         <item key="hibernate.connection.driver_class">NHibernate.Driver.MySqlDataDriver</item>\r
10                                         <item key="hibernate.connection.connection_string">Database=minddump;Data Source=localhost;User Id=theuser;Password=opauser</item>\r
11                                         <item key="hibernate.dialect">NHibernate.Dialect.MySQLDialect</item>\r
12                                 </settings>\r
13                                  -->\r
15                                 <!-- MS SQLServer Config -->\r
16                                 <settings>\r
17                                         <item key="hibernate.connection.driver_class">NHibernate.Driver.SqlClientDriver</item>\r
18                                         <item key="hibernate.dialect">NHibernate.Dialect.MsSql2000Dialect</item>\r
19                                         <item key="hibernate.connection.provider">NHibernate.Connection.DriverConnectionProvider</item>\r
20                                         <item key="hibernate.connection.connection_string">Data Source=.;Initial Catalog=minddump;Integrated Security=SSPI</item>\r
21                                 </settings>\r
22                                 \r
23                                 <resources>\r
24                                         <resource name="..\bin\Author.hbm.xml" />\r
25                                         <resource name="..\bin\Blog.hbm.xml" />\r
26                                         <resource name="..\bin\Post.hbm.xml" />\r
27                                 </resources>\r
28                         </factory>\r
29                 </facility>\r
30         </facilities>\r
32 </configuration>