예제 #1
0
 public AttributeAuthorizingMethodInterceptor()
 {
     MethodInterceptors = new IAuthorizingMethodInterceptor[]
     {
         new RolesAttributeMethodInterceptor(),
         new PermissionsAttributeMethodInterceptor(),
         new AuthenticatedAttributeMethodInterceptor(),
         new UserAttributeMethodInterceptor(),
         new GuestAttributeMethodInterceptor()
     };
 }
 public AttributeAuthorizingMethodInterceptor()
 {
     MethodInterceptors = new IAuthorizingMethodInterceptor[]
     {
         new RolesAttributeMethodInterceptor(),
         new PermissionsAttributeMethodInterceptor(),
         new AuthenticatedAttributeMethodInterceptor(),
         new UserAttributeMethodInterceptor(),
         new GuestAttributeMethodInterceptor()
     };
 }