Oracle Security Developer Tools SAML 2.0 Java API Reference
10g (10.1.4.0.1)

B28174-01


oracle.security.xmlsec.saml2.ac
Class RestrictedPassword

java.lang.Object
  extended byoracle.security.xmlsec.util.XMLNode
      extended byoracle.security.xmlsec.util.XMLElement
          extended byoracle.security.xmlsec.saml2.ac.Password
              extended byoracle.security.xmlsec.saml2.ac.RestrictedPassword

All Implemented Interfaces:
AuthenticatorType

public class RestrictedPassword
extends Password
implements AuthenticatorType

Represents the restricted 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
  RestrictedPassword(org.w3c.dom.Document owner, java.lang.String nsURI)
          Creates a new RestrictedPassword instance.
protected RestrictedPassword(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)
          Creates a new RestrictedPassword instance.
  RestrictedPassword(org.w3c.dom.Element element)
          Creates a new RestrictedPassword instance from the given Element node.
  RestrictedPassword(org.w3c.dom.Element element, java.lang.String systemId)
          Creates a new RestrictedPassword instance from the given Element node.

 

Method Summary
 Alphabet getAlphabet()
          Returns the alphabet.
 Length getLength()
          Sets the length.
 void setAlphabet(Alphabet alphabet)
          Sets the alphabet.
 void setLength(Length length)
          Sets the length.

 

Methods inherited from class oracle.security.xmlsec.saml2.ac.Password
addExtension, getExtensions, getExternalVerification, getGeneration, setExternalVerification, setGeneration

 

Methods inherited from class oracle.security.xmlsec.util.XMLElement
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, 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

RestrictedPassword

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

RestrictedPassword

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

RestrictedPassword

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

RestrictedPassword

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

Method Detail

setLength

public void setLength(Length length)
Sets the length.

If password length is < 3, it will be set to 3 to confirm to schema restriction.

Overrides:
setLength in class Password
Parameters:
length - The Length object.

getLength

public Length getLength()
Sets the length.

If password length is < 3, it will be set to 3 to confirm to schema restriction.

Overrides:
getLength in class Password
Returns:
The Length object.

setAlphabet

public void setAlphabet(Alphabet alphabet)
Sets the alphabet.

Method is a no-op as per schema restriction.

Overrides:
setAlphabet in class Password
Parameters:
alphabet - The Alphabet object.

getAlphabet

public Alphabet getAlphabet()
Returns the alphabet.
Overrides:
getAlphabet in class Password
Returns:
The null object.

Oracle Security Developer Tools SAML 2.0 Java API Reference
10g (10.1.4.0.1)

B28174-01


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