Package org.opensaml.ws.wstrust

Examples of org.opensaml.ws.wstrust.RequestSecurityTokenResponse


*/
public class RequestSecurityTokenResponseMarshaller extends AbstractWSTrustObjectMarshaller {

    /** {@inheritDoc} */
    protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException {
        RequestSecurityTokenResponse rstr= (RequestSecurityTokenResponse) xmlObject;
        if (rstr.getContext() != null) {
            domElement.setAttributeNS(null, RequestSecurityTokenResponse.CONTEXT_ATTRIB_NAME, rstr.getContext());
        }
        XMLHelper.marshallAttributeMap(rstr.getUnknownAttributes(), domElement);
    }
View Full Code Here


*/
public class RequestSecurityTokenResponseUnmarshaller extends AbstractWSTrustObjectUnmarshaller {
   
    /** {@inheritDoc} */
    protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException {
        RequestSecurityTokenResponse rstr = (RequestSecurityTokenResponse) xmlObject;
        if (RequestSecurityTokenResponse.CONTEXT_ATTRIB_NAME.equals(attribute.getLocalName())) {
            rstr.setContext(attribute.getValue());
        } else {
            XMLHelper.unmarshallToAttributeMap(rstr.getUnknownAttributes(), attribute);
        }
    }
View Full Code Here

    }

    /** {@inheritDoc} */
    protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)
            throws UnmarshallingException {
        RequestSecurityTokenResponse rstr = (RequestSecurityTokenResponse) parentXMLObject;
        rstr.getUnknownXMLObjects().add(childXMLObject);
    }
View Full Code Here

*/
public class RequestSecurityTokenResponseMarshaller extends AbstractWSTrustObjectMarshaller {

    /** {@inheritDoc} */
    protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException {
        RequestSecurityTokenResponse rstr= (RequestSecurityTokenResponse) xmlObject;
        if (rstr.getContext() != null) {
            domElement.setAttributeNS(null, RequestSecurityTokenResponse.CONTEXT_ATTRIB_NAME, rstr.getContext());
        }
        XMLHelper.marshallAttributeMap(rstr.getUnknownAttributes(), domElement);
    }
View Full Code Here

*/
public class RequestSecurityTokenResponseUnmarshaller extends AbstractWSTrustObjectUnmarshaller {
   
    /** {@inheritDoc} */
    protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException {
        RequestSecurityTokenResponse rstr = (RequestSecurityTokenResponse) xmlObject;
        if (RequestSecurityTokenResponse.CONTEXT_ATTRIB_NAME.equals(attribute.getLocalName())) {
            rstr.setContext(attribute.getValue());
        } else {
            XMLHelper.unmarshallToAttributeMap(rstr.getUnknownAttributes(), attribute);
        }
    }
View Full Code Here

    }

    /** {@inheritDoc} */
    protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)
            throws UnmarshallingException {
        RequestSecurityTokenResponse rstr = (RequestSecurityTokenResponse) parentXMLObject;
        rstr.getUnknownXMLObjects().add(childXMLObject);
    }
View Full Code Here

TOP

Related Classes of org.opensaml.ws.wstrust.RequestSecurityTokenResponse

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.