// Place the xacml statement in an assertion
// Then the assertion goes inside a SAML Response
String ID = IDGenerator.create("ID_");
IssuerInfoHolder issuerInfo = new IssuerInfoHolder(issuer);
List<StatementAbstractType> statements = new ArrayList<StatementAbstractType>();
statements.add(xacmlStatement);
AssertionType assertion = SAMLAssertionFactory.createAssertion(ID, issuerInfo.getIssuer(),
XMLTimeUtil.getIssueInstant(), null, null, statements);
org.picketlink.identity.federation.saml.v2.protocol.ResponseType samlResponseType = JBossSAMLAuthnResponseFactory
.createResponseType(ID, issuerInfo, assertion);