Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The examples directory contains two a number of sample relying party applications. They are independent of each other, so it is not necessary to deploy both at once. Each sample is described in a README.txt file located in the base directory of each sample.

Sample

Description

simpleWebapp

a simple web application which is protected by the Fediz IDP. The FederationServlet illustrates how to get security information using the standard APIs.

wsclientWebapp

a protected web application that calls a web service that uses the Fediz STS to validate credentials. Here, the same STS is used for token issuance (indirectly, by the web application through use of the Fediz IDP) and validation. The FederationServlet illustrates how to securely call a web service

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.