Skip navigation links

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

E10676-05


oracle.security.xmlsec.saml2.ac
Class RestrictedLength

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


public class RestrictedLength
extends Length

Represents the minimum and/or maximum number of ASCII characters required to represent a valid password with a minimum value of 3.


Field Summary

 

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

 

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

 

Method Summary
 int getMin()
          Returns the the minimum number of ASCII characters required in a valid password.
 void setMin(int number)
          Sets the the minimum number of ASCII characters required in a valid password.

 

Methods inherited from class oracle.security.xmlsec.saml2.ac.Length
getMax, setMax

 

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

 

Constructor Detail

RestrictedLength

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

RestrictedLength

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

RestrictedLength

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

RestrictedLength

protected RestrictedLength(org.w3c.dom.Document owner,
                           java.lang.String nsURI,
                           java.lang.String localName)
                    throws org.w3c.dom.DOMException
Creates a new RestrictedLength instance. This constructor is for use in subclass for extension of the RestrictedLength element.
Parameters:
owner - The owner document of the new RestrictedLength.
nsURI - The namespace URI in which the new RestrictedLength 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

setMin

public void setMin(int number)
Sets the the minimum number of ASCII characters required in a valid password.

If min < 3, min will be set to 3 to confirm to schema restriction.

Overrides:
setMin in class Length
Parameters:
number - An unsigned integer.

getMin

public int getMin()
Returns the the minimum number of ASCII characters required in a valid password.
Overrides:
getMin in class Length
Returns:
An integer value or 3 if an invalid value is present.

Skip navigation links

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

E10676-05


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