The examples directory contains a number of sample relying party applications. Each sample is described in a README.txt file located in the base directory of each sample.

Sample

Description

simpleWebapp

This demo shows how to build and deploy an SSO protected web application using Apache CXF Fediz.

wsclientWebapp

This demo builds on the simpleWebapp sample to show a Relying Party (RP) web application using an IDP-provided SAML token to access a third-party web service.

springWebapp

This demo shows how to build and deploy an SSO protected web application using Apache CXF Fediz. The web application uses spring security for authentication and authorization natively which provides a richer security API and configuration than the Java Servlet API.

springPreauthWebapp

This demo shows how to build and deploy an SSO protected web application using Apache CXF Fediz, where WS-Federation based login is managed by the container but Fediz initializes the Spring Security Context which provides a richer security API and configuration than the Java Servlet API.

jaxrsSimpleWebapp

This demo shows how to build and deploy an SSO protected JAX-RS web application using Apache CXF Fediz.

jaxrsSpringSecurityWebapp

This demo shows how to build and deploy an SSO protected JAX-RS web application using Apache CXF Fediz and Spring Security.

jaxrsCxfPluginWebapp

This demo shows how to build and deploy an SSO protected CXF JAX-RS web application using Apache CXF Fediz and the Fediz CXF Plugin.