public CustomSecurityClientOutputFilter(CustomSecurityAssertion parentAssertion)
            : base(parentAssertion.ServiceActor, true)
        {
            String username = parentAssertion.username;
            String password = parentAssertion.password;

            userToken = new UsernameToken(username.Trim(), password.Trim(), PasswordOption.SendPlainText);
            signatureToken = GetSecurityToken("CN=TestSSSCert");
            sig = new MessageSignature(signatureToken);
        }
Esempio n. 2
0
        public CustomSecurityClientOutputFilter(CustomSecurityAssertion parentAssertion)
            : base(parentAssertion.ServiceActor, true)
        {
            String username = parentAssertion.username;
            String password = parentAssertion.password;

            userToken      = new UsernameToken(username.Trim(), password.Trim(), PasswordOption.SendPlainText);
            signatureToken = GetSecurityToken("CN=TestSSSCert");
            sig            = new MessageSignature(signatureToken);
        }