protected SecurityProtocol(SecurityProtocolFactory factory, EndpointAddress target, Uri via)
 {
     this.factory = factory;
     this.target = target;
     this.via = via;
     this.communicationObject = new WrapperSecurityCommunicationObject(this);
 }
Esempio n. 2
0
 public SecurityProtocolFactory()
 {
     // this.channelSupportingTokenAuthenticatorSpecification = (ICollection<SupportingTokenAuthenticatorSpecification>) new Collection<SupportingTokenAuthenticatorSpecification>();
     // this.scopedSupportingTokenAuthenticatorSpecification = new Dictionary<string, ICollection<SupportingTokenAuthenticatorSpecification>>();
     Console.WriteLine("SecurityProtocolFactory Constructor");
     communicationObject = new WrapperSecurityCommunicationObject(this);
 }
 protected SecurityProtocol(SecurityProtocolFactory factory, EndpointAddress target, Uri via)
 {
     SecurityProtocolFactory = factory;
     Target = target;
     Via    = via;
     CommunicationObject = new WrapperSecurityCommunicationObject(this);
 }
 protected SecurityProtocol(System.ServiceModel.Security.SecurityProtocolFactory factory, EndpointAddress target, Uri via)
 {
     this.factory             = factory;
     this.target              = target;
     this.via                 = via;
     this.communicationObject = new WrapperSecurityCommunicationObject(this);
 }
 protected SecurityProtocolFactory()
 {
     this.addTimestamp              = true;
     this.detectReplays             = true;
     this.incomingAlgorithmSuite    = SecurityAlgorithmSuite.Default;
     this.maxCachedNonces           = 0xdbba0;
     this.maxClockSkew              = defaultMaxClockSkew;
     this.outgoingAlgorithmSuite    = SecurityAlgorithmSuite.Default;
     this.replayWindow              = defaultReplayWindow;
     this.standardsManager          = SecurityStandardsManager.DefaultInstance;
     this.timestampValidityDuration = defaultTimestampValidityDuration;
     this.channelSupportingTokenAuthenticatorSpecification = new Collection <SupportingTokenAuthenticatorSpecification>();
     this.scopedSupportingTokenAuthenticatorSpecification  = new Dictionary <string, ICollection <SupportingTokenAuthenticatorSpecification> >();
     this.communicationObject = new WrapperSecurityCommunicationObject(this);
 }
Esempio n. 6
0
 protected SecurityProtocolFactory()
 {
     _channelSupportingTokenAuthenticatorSpecification = new Collection <SupportingTokenAuthenticatorSpecification>();
     _scopedSupportingTokenAuthenticatorSpecification  = new Dictionary <string, ICollection <SupportingTokenAuthenticatorSpecification> >();
     _communicationObject = new WrapperSecurityCommunicationObject(this);
 }
 protected CommunicationObjectSecurityTokenAuthenticator()
 {
     _communicationObject = new WrapperSecurityCommunicationObject(this);
 }
 protected CommunicationObjectSecurityTokenProvider()
 {
     _communicationObject = new WrapperSecurityCommunicationObject(this);
 }
 protected CommunicationObjectSecurityTokenAuthenticator()
 {
     _communicationObject = new WrapperSecurityCommunicationObject(this);
 }
 protected CommunicationObjectSecurityTokenProvider()
 {
     _communicationObject = new WrapperSecurityCommunicationObject(this);
 }