Table of Contents
JBossXACML project currently includes a OpenSAML v2.0 based integration code that provides servlets that can read in a SOAP 1.1 request containing a SAML v2.0 payload carrying a XACML v2.0 Access Decision request.
The Servlets are listed below:
The web.xml configuration is shown below:
<web-app>
<context-param>
<param-name>debug</param-name>
<param-value>false</param-value>
</context-param>
<servlet>
<servlet-name>SOAPServlet</servlet-name>
<servlet-class>org.jboss.security.xacml.saml.
integration.opensaml.servlets.
SOAPSAMLXACMLServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>SOAPServlet</servlet-name>
<url-pattern>/SOAPServlet</url-pattern>
</servlet-mapping>
</web-app>
Remember to place the policyConfig.xml which is the JBossXACML policy config file under WEB-INF/classes directory. You can place the policies under a policies directory in the classes directory.