public CustomSecurityClientOutputFilter(CustomSecurityAssertion parentAssertion)
     : base(parentAssertion.ServiceActor, true)
 {
     userToken      = new UsernameToken(parentAssertion.Username.Trim(), parentAssertion.Password.Trim(), PasswordOption.SendPlainText);
     signatureToken = GetSecurityToken();
     sig            = new MessageSignature(signatureToken);
 }
 public CustomSecurityClientOutputFilter(CustomSecurityAssertion parentAssertion)
     : base(parentAssertion.ServiceActor, true)
 {
     userToken = new UsernameToken(parentAssertion.Username.Trim(), parentAssertion.Password.Trim(), PasswordOption.SendPlainText);
     signatureToken = GetSecurityToken();
     sig = new MessageSignature(signatureToken);
 }