예제 #1
0
 /// <summary>
 /// Creates a new instance of the SecurityContext using the passed user instance
 /// and pointers to the ISecurityDataProvider, IMessageProvider and SecurityCache global objects.
 /// </summary>
 public SecurityContext(ISecurityUser currentUser)
 {
     CurrentUser  = currentUser;
     DataProvider = _securityDataProviderPrototype.CreateNew();
     Cache        = _cacheHolder;
 }