Package org.opensaml.ws.wssecurity

Examples of org.opensaml.ws.wssecurity.Password


*/
public class PasswordMarshaller extends AttributedStringMarshaller {

    /** {@inheritDoc} */
    protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException {
        Password password = (Password) xmlObject;
        if (!DatatypeHelper.isEmpty(password.getType())) {
            domElement.setAttributeNS(null, Password.TYPE_ATTRIB_NAME, password.getType());
        }
        super.marshallAttributes(xmlObject, domElement);
    }
View Full Code Here


*/
public class PasswordUnmarshaller extends AttributedStringUnmarshaller {

    /** {@inheritDoc} */
    protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException {
        Password password= (Password) xmlObject;
        if (Password.TYPE_ATTRIB_NAME.equals(attribute.getLocalName())) {
            password.setType(attribute.getValue());
        } else {
            super.processAttribute(xmlObject, attribute);
        }
    }
View Full Code Here

*/
public class PasswordUnmarshaller extends AttributedStringUnmarshaller {

    /** {@inheritDoc} */
    protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException {
        Password password= (Password) xmlObject;
        if (Password.TYPE_ATTRIB_NAME.equals(attribute.getLocalName())) {
            password.setType(attribute.getValue());
        } else {
            super.processAttribute(xmlObject, attribute);
        }
    }
View Full Code Here

*/
public class PasswordMarshaller extends AttributedStringMarshaller {

    /** {@inheritDoc} */
    protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException {
        Password password = (Password) xmlObject;
        if (!DatatypeHelper.isEmpty(password.getType())) {
            domElement.setAttributeNS(null, Password.TYPE_ATTRIB_NAME, password.getType());
        }
        super.marshallAttributes(xmlObject, domElement);
    }
View Full Code Here

TOP

Related Classes of org.opensaml.ws.wssecurity.Password

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.