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); } }
public bool IsAuthorized(ISessionId sessionId, Common.Security.Impl.ResourceId resourceId, Common.Security.Impl.ResourceId superResourceId, Common.Security.Impl.Permission operationPermission) { return(false); }