handlers/mantis_project_create_v1/handler/vendor/savon-0.8.6/lib/savon/wsse.rb
# Returns a Hash containing wsse:UsernameToken details.
Returns a Hash containing wsse:UsernameToken details.
Returns a Hash containing wsse : UsernameToken details .
def wsse_username_token
      if digest?
        wsse_security "UsernameToken",
          "wsse:Username" => username,
          "wsse:Nonce" => nonce,
          "wsu:Created" => timestamp,
          "wsse:Password" => digest_password,
          :attributes! => { "wsse:Password" => { "Type" => PasswordDigestURI } }
      else
        wsse_security "UsernameToken",
          "wsse:Username" => username,
          "wsse:Password" => password,
          :attributes! => { "wsse:Password" => { "Type" => PasswordTextURI } }
      end
    end
def wsse_username_token if digest? wsse_security "UsernameToken" , "wsse:Username" => username , "wsse:Nonce" => nonce , "wsu:Created" => timestamp , "wsse:Password" => digest_password , :attributes! => { "wsse:Password" => { "Type" => PasswordDigestURI } } else wsse_security "UsernameToken" , "wsse:Username" => username , "wsse:Password" => password , :attributes! => { "wsse:Password" => { "Type" => PasswordTextURI } } end end
Returns a Hash containing wsse:UsernameToken details.
Returns a Hash containing wsse : UsernameToken details .