예제 #1
0
 public bool IsAuthorized(Common.Security.Interfaces.ISessionId sessionId, Common.Security.Impl.ResourceId resourceId, Common.Security.Impl.ResourceId superResourceId, Common.Security.Impl.Permission operationPermission)
 {
     try
     {
         if (_configurationSession != null)
         {
             resourceId.Name = ClusterName.ToLower() + "/" + resourceId.Name;
             return(_configurationSession.IsAuthorized(sessionId, resourceId, superResourceId, operationPermission));
         }
         return(false);
     }
     catch (ChannelException)
     {
         return(false);
     }
 }
예제 #2
0
 public bool IsAuthorized(ISessionId sessionId, Common.Security.Impl.ResourceId resourceId, Common.Security.Impl.ResourceId superResourceId, Common.Security.Impl.Permission operationPermission)
 {
     return(false);
 }