org.opensaml.ws.wssecurity.impl
Class PasswordImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.ws.wssecurity.impl.AbstractWSSecurityObject
              extended by org.opensaml.ws.wssecurity.impl.AttributedStringImpl
                  extended by org.opensaml.ws.wssecurity.impl.PasswordImpl
All Implemented Interfaces:
AttributedString, IdBearing, Password, WSSecurityObject, org.opensaml.xml.AttributeExtensibleXMLObject, org.opensaml.xml.schema.XSString, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.XMLObject

public class PasswordImpl
extends AttributedStringImpl
implements Password

PasswordImpl.


Field Summary
 
Fields inherited from interface org.opensaml.ws.wssecurity.Password
ELEMENT_LOCAL_NAME, ELEMENT_NAME, TYPE_ATTRIB_NAME, TYPE_PASSWORD_DIGEST, TYPE_PASSWORD_TEXT
 
Fields inherited from interface org.opensaml.ws.wssecurity.AttributedString
TYPE_LOCAL_NAME, TYPE_NAME
 
Fields inherited from interface org.opensaml.ws.wssecurity.IdBearing
WSU_ID_ATTR_LOCAL_NAME, WSU_ID_ATTR_NAME
 
Constructor Summary
PasswordImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 String getType()
          Returns the wsse:Password/@Type attribute URI value.
 void setType(String newType)
          Sets the wsse:Password/@Type attribute URI value.
 
Methods inherited from class org.opensaml.ws.wssecurity.impl.AttributedStringImpl
getUnknownAttributes, getValue, getWSUId, setValue, setWSUId
 
Methods inherited from class org.opensaml.ws.wssecurity.impl.AbstractWSSecurityObject
getOrderedChildren
 
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.schema.XSString
getValue, setValue
 
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 
Methods inherited from interface org.opensaml.ws.wssecurity.IdBearing
getWSUId, setWSUId
 
Methods inherited from interface org.opensaml.xml.AttributeExtensibleXMLObject
getUnknownAttributes
 

Constructor Detail

PasswordImpl

public PasswordImpl(String namespaceURI,
                    String elementLocalName,
                    String namespacePrefix)
Constructor. Default Type attribute: Password.TYPE_PASSWORD_TEXT

Parameters:
namespaceURI - namespace of the element
elementLocalName - name of the element
namespacePrefix - namespace prefix of the element
Method Detail

getType

public String getType()
Returns the wsse:Password/@Type attribute URI value.

Specified by:
getType in interface Password
Returns:
the Type attribute URI value.

setType

public void setType(String newType)
Sets the wsse:Password/@Type attribute URI value.

Specified by:
setType in interface Password
Parameters:
newType - the Type attribute URI value to set.


Copyright © 2006-2013 Internet2. All Rights Reserved.