Class: WSS4R::Security::Xml::SecurityToken

Inherits:
Object
  • Object
show all
Defined in:
lib/wss4r/security/xml/tokentypes.rb

Direct Known Subclasses

BinarySecurityToken, UsernameToken

Instance Method Summary collapse

Instance Method Details

#add_namespace(document, prefix, ns) ⇒ Object



6
7
8
# File 'lib/wss4r/security/xml/tokentypes.rb', line 6

def add_namespace(document, prefix, ns)
  document.root().add_namespace("xmlns:"+prefix, ns)
end