예제 #1
0
 public bool IsRequestProcessingStarted(UserContext userContext)
 {
     return(this.customAuthorizationHandler.IsRequestProcessingStarted(userContext));
 }
예제 #2
0
 public void SetRequestProcessingState(UserContext userContext, bool requestProcessingState)
 {
     this.customAuthorizationHandler.SetRequestProcessingState(userContext, requestProcessingState);
 }
예제 #3
0
 public int IncrementCmdletExecutionCount(UserContext userContext)
 {
     return(this.customAuthorizationHandler.IncrementCmdletExecutionCount(userContext));
 }
예제 #4
0
 public bool IsAuthorized(UserContext userContext, Uri resourceUri)
 {
     return(this.customAuthorizationHandler.IsAuthorized(userContext, resourceUri));
 }
예제 #5
0
 public Envelope <Microsoft.Management.Odata.Schema.Schema, UserContext> GetSchema(UserContext userContext, string membershipId)
 {
     return(this.schemaStore.Borrow(userContext, membershipId));
 }
예제 #6
0
 public UserQuota GetUserQuota(UserContext userContext)
 {
     return(this.customAuthorizationHandler.GetUserQuota(userContext));
 }
예제 #7
0
 public IReferenceSetCommand GetReferenceSetCommand(CommandType commandType, UserContext userContext, ResourceProperty property, EntityMetadata entityMetadata, string membershipId, ResourceType entityType = null)
 {
     return(this.cmdManagers[entityMetadata.MgmtSystem].GetReferenceSetCommand(commandType, userContext, property, entityMetadata, membershipId, entityType));
 }
예제 #8
0
 public string GetMembershipId(UserContext userContext, Uri resourceUri)
 {
     return(this.customAuthorizationHandler.GetMembershipId(userContext, resourceUri));
 }
예제 #9
0
 public ICommand GetCommand(CommandType commandType, UserContext userContext, ResourceType entityType, EntityMetadata entityMetadata, string membershipId)
 {
     return(this.cmdManagers[entityMetadata.MgmtSystem].GetCommand(commandType, userContext, entityType, entityMetadata, membershipId));
 }
예제 #10
0
 public SafeRefCountedContainer <WindowsIdentity> GetAuthorizedUserIdentity(UserContext userContext)
 {
     return(this.customAuthorizationHandler.GetAuthorizedUserIdentity(userContext));
 }
예제 #11
0
 public DataContext(Microsoft.Management.Odata.Schema.Schema userSchema, UserContext userContext, string membershipId)
 {
     this.UserSchema   = userSchema;
     this.UserContext  = userContext;
     this.MembershipId = membershipId;
 }