Package org.opensaml.xml.signature

Examples of org.opensaml.xml.signature.SignableXMLObject


        defaultCriteria = newCriteria;
    }

    /** {@inheritDoc} */
    public void doFilter(XMLObject metadata) throws FilterException {
        SignableXMLObject signableMetadata = (SignableXMLObject) metadata;

        if (!signableMetadata.isSigned()){
            if (getRequireSignature()) {
                throw new FilterException("Metadata root element was unsigned and signatures are required.");
            }
        }
       
View Full Code Here


        defaultCriteria = newCriteria;
    }

    /** {@inheritDoc} */
    public void doFilter(XMLObject metadata) throws FilterException {
        SignableXMLObject signableMetadata = (SignableXMLObject) metadata;

        if (!signableMetadata.isSigned()){
            if (getRequireSignature()) {
                throw new FilterException("Metadata root element was unsigned and signatures are required.");
            }
        }
       
View Full Code Here

        defaultCriteria = newCriteria;
    }

    /** {@inheritDoc} */
    public void doFilter(XMLObject metadata) throws FilterException {
        SignableXMLObject signableMetadata = (SignableXMLObject) metadata;

        if (!signableMetadata.isSigned()){
            if (getRequireSignature()) {
                throw new FilterException("Metadata was unsigned and signatures are required.");
            } else {
                if (signableMetadata instanceof EntityDescriptor) {
                    log.trace("Root EntityDescriptor was not signed, filter processing terminated");
View Full Code Here

TOP

Related Classes of org.opensaml.xml.signature.SignableXMLObject

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.