Package org.opensaml.xacml.ctx

Examples of org.opensaml.xacml.ctx.EnvironmentType


                    null,
                    Collections.singletonList(environmentAttributeValue)
            );
        attributes.clear();
        attributes.add(environmentAttribute);
        EnvironmentType environmentType =
             RequestComponentBuilder.createEnvironmentType(attributes);
       
        // Request
        RequestType request =
            RequestComponentBuilder.createRequestType(
View Full Code Here


                        null,
                        Collections.singletonList(environmentAttributeValue)
                );
            attributes.add(environmentAttribute);
        }
        EnvironmentType environmentType =
            RequestComponentBuilder.createEnvironmentType(attributes);
       
        // Request
        RequestType request =
            RequestComponentBuilder.createRequestType(
View Full Code Here

                    null,
                    Collections.singletonList(environmentAttributeValue)
            );
        attributes.clear();
        attributes.add(environmentAttribute);
        EnvironmentType environmentType =
             RequestComponentBuilder.createEnvironmentType(attributes);
       
        // Request
        RequestType request =
            RequestComponentBuilder.createRequestType(
View Full Code Here

                        null,
                        Collections.singletonList(environmentAttributeValue)
                );
            attributes.add(environmentAttribute);
        }
        EnvironmentType environmentType =
            RequestComponentBuilder.createEnvironmentType(attributes);
       
        // Request
        RequestType request =
            RequestComponentBuilder.createRequestType(
View Full Code Here

        super(targetNamespaceURI, targetLocalName);
    }

    /** {@inheritDoc} */
    protected void processChildElement(XMLObject parentObject, XMLObject childObject) throws UnmarshallingException {
        EnvironmentType environment = (EnvironmentType) parentObject;
      
        if (childObject instanceof AttributeType) {
            environment.getAttributes().add((AttributeType) childObject);
        } else {
            super.processChildElement(parentObject, childObject);
        }
    }
View Full Code Here

    ) {
        if (environmentTypeBuilder == null) {
            environmentTypeBuilder = (XACMLObjectBuilder<EnvironmentType>)
                builderFactory.getBuilder(EnvironmentType.DEFAULT_ELEMENT_NAME);
        }
        EnvironmentType enviroment = environmentTypeBuilder.buildObject();
        if (attributes != null) {
            enviroment.getAttributes().addAll(attributes);
        }
       
        return enviroment;
    }
View Full Code Here

                        null,
                        Collections.singletonList(environmentAttributeValue)
                );
            attributes.add(environmentAttribute);
        }
        EnvironmentType environmentType =
            RequestComponentBuilder.createEnvironmentType(attributes);
       
        // Request
        RequestType request =
            RequestComponentBuilder.createRequestType(
View Full Code Here

TOP

Related Classes of org.opensaml.xacml.ctx.EnvironmentType

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.