@@ -21,26 +21,29 @@ public class ConfigurationSection : System.Configuration.ConfigurationSection
21
21
[ Obsolete ( "Use SecurityConfiguration.DefaultSectionName instead" ) ]
22
22
public static readonly string DefaultSectionName = "Xtensive.Orm.Security" ;
23
23
24
+ private const string HashingServiceElementName = "hashingService" ;
25
+ private const string AuthenticationServiceElementName = "authenticationService" ;
26
+
24
27
/// <summary>
25
28
/// Gets or sets the hashing service.
26
29
/// </summary>
27
30
/// <value>The hashing service.</value>
28
- [ ConfigurationProperty ( SecurityConfiguration . HashingServiceElementName , IsRequired = false ) ]
31
+ [ ConfigurationProperty ( HashingServiceElementName , IsRequired = false ) ]
29
32
public HashingServiceConfigurationElement HashingService
30
33
{
31
- get { return ( HashingServiceConfigurationElement ) this [ SecurityConfiguration . HashingServiceElementName ] ; }
32
- set { this [ SecurityConfiguration . HashingServiceElementName ] = value ; }
34
+ get { return ( HashingServiceConfigurationElement ) this [ HashingServiceElementName ] ; }
35
+ set { this [ HashingServiceElementName ] = value ; }
33
36
}
34
37
35
38
/// <summary>
36
39
/// Gets or sets the authentication service.
37
40
/// </summary>
38
41
/// <value>The authentication service.</value>
39
- [ ConfigurationProperty ( SecurityConfiguration . AuthenticationServiceElementName , IsRequired = false ) ]
42
+ [ ConfigurationProperty ( AuthenticationServiceElementName , IsRequired = false ) ]
40
43
public AuthenticationServiceConfigurationElement AuthenticationService
41
44
{
42
- get { return ( AuthenticationServiceConfigurationElement ) this [ SecurityConfiguration . AuthenticationServiceElementName ] ; }
43
- set { this [ SecurityConfiguration . AuthenticationServiceElementName ] = value ; }
45
+ get { return ( AuthenticationServiceConfigurationElement ) this [ AuthenticationServiceElementName ] ; }
46
+ set { this [ AuthenticationServiceElementName ] = value ; }
44
47
}
45
48
}
46
49
}
0 commit comments