예제 #1
0
 public void Setup()
 {
     //arrange
     factory    = new AuthZFactory();
     adminAuthZ = new bool[2] {
         true, true
     };
     displayName = "ExampleName";
     attributes  = factory.CreateUserAuthZ(displayName, adminAuthZ);
 }
예제 #2
0
 public void Setup()
 {
     //arrange
     factory    = new AuthZFactory();
     adminAuthZ = new bool[2] {
         false, true
     };
     householdID = 1234;
     displayName = "ExampleName";
     attributes  = factory.CreateHostAuthZ(displayName, householdID, adminAuthZ);
 }
예제 #3
0
 public void Setup()
 {
     //arrange
     factory    = new AuthZFactory();
     attributes = factory.CreateAnonAuthZ();
 }
예제 #4
0
 public void Setup()
 {
     invoker = new AuthZInvoker();
     factory = new AuthZFactory();
 }