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

The following examples show how to use org.opensaml.xacml.profile.saml.XACMLAuthzDecisionStatementType. 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
Source File: XACMLAuthzDecisionStatementTypeUnmarshaller.java    From lams with GNU General Public License v2.0 5 votes vote down vote up
/** {@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
Source File: XACMLAuthzDecisionStatementTypeImplBuilder.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
/** {@inheritDoc} */
public XACMLAuthzDecisionStatementType buildObject() {
    return buildObject(Statement.DEFAULT_ELEMENT_NAME, XACMLAuthzDecisionStatementType.TYPE_NAME);
}
 
Example #3
Source File: XACMLAuthzDecisionStatementTypeImplBuilder.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
/** {@inheritDoc} */
public XACMLAuthzDecisionStatementType buildObject(String namespaceURI, String localName, String namespacePrefix) {
    return new XACMLAuthzDecisionStatementTypeImpl(namespaceURI, localName, namespacePrefix);
}