@@ -21,26 +21,29 @@ public class ConfigurationSection : System.Configuration.ConfigurationSection
2121 [ Obsolete ( "Use SecurityConfiguration.DefaultSectionName instead" ) ]
2222 public static readonly string DefaultSectionName = "Xtensive.Orm.Security" ;
2323
24+ private const string HashingServiceElementName = "hashingService" ;
25+ private const string AuthenticationServiceElementName = "authenticationService" ;
26+
2427 /// <summary>
2528 /// Gets or sets the hashing service.
2629 /// </summary>
2730 /// <value>The hashing service.</value>
28- [ ConfigurationProperty ( SecurityConfiguration . HashingServiceElementName , IsRequired = false ) ]
31+ [ ConfigurationProperty ( HashingServiceElementName , IsRequired = false ) ]
2932 public HashingServiceConfigurationElement HashingService
3033 {
31- get { return ( HashingServiceConfigurationElement ) this [ SecurityConfiguration . HashingServiceElementName ] ; }
32- set { this [ SecurityConfiguration . HashingServiceElementName ] = value ; }
34+ get { return ( HashingServiceConfigurationElement ) this [ HashingServiceElementName ] ; }
35+ set { this [ HashingServiceElementName ] = value ; }
3336 }
3437
3538 /// <summary>
3639 /// Gets or sets the authentication service.
3740 /// </summary>
3841 /// <value>The authentication service.</value>
39- [ ConfigurationProperty ( SecurityConfiguration . AuthenticationServiceElementName , IsRequired = false ) ]
42+ [ ConfigurationProperty ( AuthenticationServiceElementName , IsRequired = false ) ]
4043 public AuthenticationServiceConfigurationElement AuthenticationService
4144 {
42- get { return ( AuthenticationServiceConfigurationElement ) this [ SecurityConfiguration . AuthenticationServiceElementName ] ; }
43- set { this [ SecurityConfiguration . AuthenticationServiceElementName ] = value ; }
45+ get { return ( AuthenticationServiceConfigurationElement ) this [ AuthenticationServiceElementName ] ; }
46+ set { this [ AuthenticationServiceElementName ] = value ; }
4447 }
4548 }
4649}
0 commit comments