Examples of Claims


Examples of org.opensaml.ws.wstrust.Claims

*/
public class ClaimsUnmarshaller extends AbstractWSTrustObjectUnmarshaller {

    /** {@inheritDoc} */
    protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException {
        Claims claims = (Claims) xmlObject;
        if (Claims.DIALECT_ATTRIB_NAME.equals(attribute.getLocalName())) {
            claims.setDialect(attribute.getValue());
        } else {
            XMLHelper.unmarshallToAttributeMap(claims.getUnknownAttributes(), attribute);
        }
    }
View Full Code Here

Examples of org.opensaml.ws.wstrust.Claims

*/
public class ClaimsUnmarshaller extends AbstractWSTrustObjectUnmarshaller {

    /** {@inheritDoc} */
    protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException {
        Claims claims = (Claims) xmlObject;
        if (Claims.DIALECT_ATTRIB_NAME.equals(attribute.getLocalName())) {
            claims.setDialect(attribute.getValue());
        } else {
            XMLHelper.unmarshallToAttributeMap(claims.getUnknownAttributes(), attribute);
        }
    }
View Full Code Here

Examples of org.opensaml.ws.wstrust.Claims

    }

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

Examples of org.opensaml.ws.wstrust.Claims

*/
public class ClaimsMarshaller extends AbstractWSTrustObjectMarshaller {

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

Examples of org.opensaml.ws.wstrust.Claims

*/
public class EntropyUnmarshaller extends AbstractWSTrustObjectUnmarshaller {

    /** {@inheritDoc} */
    protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException {
        Claims claims = (Claims) xmlObject;
        XMLHelper.unmarshallToAttributeMap(claims.getUnknownAttributes(), attribute);
    }
View Full Code Here

Examples of org.opensaml.ws.wstrust.Claims

    }

    /** {@inheritDoc} */
    protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)
            throws UnmarshallingException {
        Claims claims = (Claims) parentXMLObject;
        claims.getUnknownXMLObjects().add(childXMLObject);
    }
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.