예제 #1
0
 /// <summary>
 /// Sets up the BookStoreSTS by loading relevant Application Settings
 /// </summary>
 public BookStoreSTS()
     : base(ServiceConstants.SecurityTokenServiceName,
            FederationUtilities.GetX509TokenFromCert(ServiceConstants.CertStoreName, ServiceConstants.CertStoreLocation, ServiceConstants.CertDistinguishedName),
            FederationUtilities.GetX509TokenFromCert(ServiceConstants.CertStoreName, ServiceConstants.CertStoreLocation, ServiceConstants.TargetDistinguishedName))
 {
 }
예제 #2
0
 public HomeRealmSTS() :
     base(ServiceConstants.StsName,
          FederationUtilities.GetX509TokenFromCert(ServiceConstants.CertStoreName, ServiceConstants.CertStoreLocation, ServiceConstants.CertDistinguishedName),
          FederationUtilities.GetX509TokenFromCert(ServiceConstants.CertStoreName, ServiceConstants.CertStoreLocation, ServiceConstants.TargetDistinguishedName))
 {
 }