Examples of PDPDescriptor


Examples of org.opensaml.saml2.metadata.PDPDescriptor

public class PDPDescriptorUnmarshaller extends RoleDescriptorUnmarshaller {

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

        if (childSAMLObject instanceof AuthzService) {
            descriptor.getAuthzServices().add((AuthzService) childSAMLObject);
        } else if (childSAMLObject instanceof AssertionIDRequestService) {
            descriptor.getAssertionIDRequestServices().add((AssertionIDRequestService) childSAMLObject);
        } else if (childSAMLObject instanceof NameIDFormat) {
            descriptor.getNameIDFormats().add((NameIDFormat) childSAMLObject);
        } else {
            super.processChildElement(parentSAMLObject, childSAMLObject);
        }
    }
View Full Code Here

Examples of org.opensaml.saml2.metadata.PDPDescriptor

    }

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

        if (childSAMLObject instanceof AuthzService) {
            descriptor.getAuthzServices().add((AuthzService) childSAMLObject);
        } else if (childSAMLObject instanceof AssertionIDRequestService) {
            descriptor.getAssertionIDRequestServices().add((AssertionIDRequestService) childSAMLObject);
        } else if (childSAMLObject instanceof NameIDFormat) {
            descriptor.getNameIDFormats().add((NameIDFormat) childSAMLObject);
        } else {
            super.processChildElement(parentSAMLObject, childSAMLObject);
        }
    }
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.