Examples of SubjectConfirmation


Examples of org.opensaml.saml2.ecp.SubjectConfirmation

*/
public class SubjectConfirmationMarshaller extends AbstractSAMLObjectMarshaller {

    /** {@inheritDoc} */
    protected void marshallAttributes(XMLObject samlObject, Element domElement) throws MarshallingException {
        SubjectConfirmation sc = (SubjectConfirmation) samlObject;

        if (sc.isSOAP11MustUnderstandXSBoolean() != null) {
            XMLHelper.marshallAttribute(SubjectConfirmation.SOAP11_MUST_UNDERSTAND_ATTR_NAME,
                    sc.isSOAP11MustUnderstandXSBoolean().toString(), domElement, false);
        }
       
        if (sc.getSOAP11Actor() != null) {
            XMLHelper.marshallAttribute(SubjectConfirmation.SOAP11_ACTOR_ATTR_NAME,
                    sc.getSOAP11Actor(), domElement, false);
        }
       
        if (sc.getMethod() != null) {
            domElement.setAttributeNS(null, SubjectConfirmation.METHOD_ATTRIB_NAME, sc.getMethod());
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.