Skip navigation links

Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10676-04


oracle.security.xmlsec.saml2.ac
Class Password

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.saml2.ac.Password

All Implemented Interfaces:
AuthenticatorType
Direct Known Subclasses:
RestrictedPassword

public class Password
extends oracle.security.xmlsec.util.XMLElement
implements AuthenticatorType

Represents the password (or passphrase) used to authenticate the Principal to a remote system.


Field Summary

 

Fields inherited from class oracle.security.xmlsec.util.XMLNode
node, systemId

 

Constructor Summary
  Password(org.w3c.dom.Document owner, java.lang.String nsURI)
          Creates a new Password instance.
protected Password(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)
          Creates a new Password instance.
  Password(org.w3c.dom.Element element)
          Creates a new Alphabet instance from the given Element node.
  Password(org.w3c.dom.Element element, java.lang.String systemId)
          Creates a new Password instance from the given Element node.

 

Method Summary
 void addExtension(Extension extn)
          Adds an extension element..
 Alphabet getAlphabet()
          Returns the alphabet.
 java.util.List getExtensions()
          Gets the list of Extension values.
 java.lang.String getExternalVerification()
          Returns the external password verification.
 Generation getGeneration()
          Returns the generation.
 Length getLength()
          Returns the length.
 void setAlphabet(Alphabet alphabet)
          Sets the alphabet.
 void setExternalVerification(java.lang.String uri)
          Sets the external password verification.
 void setGeneration(Generation gen)
          Sets the generation.
 void setLength(Length length)
          Sets the length.

 

Methods inherited from class oracle.security.xmlsec.util.XMLElement
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElement, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefix

 

Methods inherited from class oracle.security.xmlsec.util.XMLNode
appendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXML

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface oracle.security.xmlsec.saml2.ac.AuthenticatorType
getNode

 

Constructor Detail

Password

public Password(org.w3c.dom.Element element)
         throws org.w3c.dom.DOMException
Creates a new Alphabet instance from the given Element node.
Parameters:
element - An Alphabet element.
Throws:
org.w3c.dom.DOMException

Password

public Password(org.w3c.dom.Element element,
                java.lang.String systemId)
         throws org.w3c.dom.DOMException
Creates a new Password instance from the given Element node.
Parameters:
element - An Password element.
systemId - The URI string system ID for the Password.
Throws:
org.w3c.dom.DOMException

Password

public Password(org.w3c.dom.Document owner,
                java.lang.String nsURI)
         throws org.w3c.dom.DOMException
Creates a new Password instance.
Parameters:
owner - The owner document of the new Password.
nsURI - The namespace URI in which the new Password is to be created.
Throws:
org.w3c.dom.DOMException

Password

protected Password(org.w3c.dom.Document owner,
                   java.lang.String nsURI,
                   java.lang.String localName)
            throws org.w3c.dom.DOMException
Creates a new Password instance. This constructor is for use in subclass for extension of the Password element.
Parameters:
owner - The owner document of the new Password.
nsURI - The namespace URI in which the new Password is to be created.
localName - The localName of the element represented by the class that extends this class.
Throws:
org.w3c.dom.DOMException

Method Detail

setExternalVerification

public void setExternalVerification(java.lang.String uri)
Sets the external password verification.
Parameters:
uri - An URI reference.

getExternalVerification

public java.lang.String getExternalVerification()
Returns the external password verification.
Returns:
An URI reference or null if not present.

setLength

public void setLength(Length length)
Sets the length.
Parameters:
length - The Length object.

getLength

public Length getLength()
Returns the length.
Returns:
The Length object or null if not present.

setAlphabet

public void setAlphabet(Alphabet alphabet)
Sets the alphabet.
Parameters:
alphabet - The Alphabet object.

getAlphabet

public Alphabet getAlphabet()
Returns the alphabet.
Returns:
The Alphabet object. or null if not present.

setGeneration

public void setGeneration(Generation gen)
Sets the generation.
Parameters:
gen - The Generation object.

getGeneration

public Generation getGeneration()
Returns the generation.
Returns:
The Generation object or null if not present.

addExtension

public void addExtension(Extension extn)
Adds an extension element..
Parameters:
extn - The extension Node.

getExtensions

public java.util.List getExtensions()
Gets the list of Extension values.
Returns:
A List containing Extension values, or an empty List if none has been added.

Skip navigation links

Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10676-04


Copyright © 2005, 2011 , Oracle. All rights reserved.