Package org.opensaml.samlext.saml2mdui

Examples of org.opensaml.samlext.saml2mdui.DiscoHints


public class DiscoHintsUnmarshaller extends AbstractSAMLObjectUnmarshaller {

    /** {@inheritDoc} */
    protected void processChildElement(XMLObject parentSAMLObject, XMLObject childSAMLObject)
            throws UnmarshallingException {
        DiscoHints info = (DiscoHints) parentSAMLObject;

        if (childSAMLObject instanceof IPHint) {
            info.getIPHints().add((IPHint) childSAMLObject);
        } else if (childSAMLObject instanceof DomainHint) {
            info.getDomainHints().add((DomainHint) childSAMLObject);
        } else if (childSAMLObject instanceof GeolocationHint) {
            info.getGeolocationHints().add((GeolocationHint) childSAMLObject);
        } else {
            super.processChildElement(parentSAMLObject, childSAMLObject);
        }
    }
View Full Code Here

TOP

Related Classes of org.opensaml.samlext.saml2mdui.DiscoHints

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.