Java Code Examples for org.opensaml.xacml.profile.saml.XACMLAuthzDecisionStatementType

The following examples show how to use org.opensaml.xacml.profile.saml.XACMLAuthzDecisionStatementType. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
/** {@inheritDoc} */
protected void processChildElement(XMLObject parentObject, XMLObject childObject) throws UnmarshallingException {
    XACMLAuthzDecisionStatementType xacmlauthzdecisionstatement = (XACMLAuthzDecisionStatementType) parentObject;

    if (childObject instanceof RequestType) {
        xacmlauthzdecisionstatement.setRequest((RequestType) childObject);
    } else if (childObject instanceof ResponseType) {
        xacmlauthzdecisionstatement.setResponse((ResponseType) childObject);
    } else {
        super.processChildElement(parentObject, childObject);
    }
}
 
Example 2
/** {@inheritDoc} */
public XACMLAuthzDecisionStatementType buildObject() {
    return buildObject(Statement.DEFAULT_ELEMENT_NAME, XACMLAuthzDecisionStatementType.TYPE_NAME);
}
 
Example 3
/** {@inheritDoc} */
public XACMLAuthzDecisionStatementType buildObject(String namespaceURI, String localName, String namespacePrefix) {
    return new XACMLAuthzDecisionStatementTypeImpl(namespaceURI, localName, namespacePrefix);
}