Fediz WebspherePage added by Oliver WulffIBM Websphere PluginThis page describes how to enable Federation for a IBM Websphere instance hosting Relying Party (RP) applications. This configuration is not for a Websphere instance hosting the Fediz IDP and IDP STS WARs but for applications that use SAML assertions for authentication. After this configuration is done, the Websphere-RP instance will validate the incoming SignInResponse created by the IDP server. Prior to doing this configuration, make sure you've first deployed the Fediz IDP and STS on the separate Servlet Container instance as discussed here, and can view the STS WSDL at the URL given on that page. That page also provides some tips for running multiple Tomcat instances on your machine. InstallationYou have to build the Fediz plugin on your own as it depends on IBM Websphere libraries. If you have built the plugin on your own you'll find the required libraries in plugins/websphere/target/...zip-with-dependencies.zip
ConfigurationHTTPS configurationIt's recommended to set up a dedicated (separate) Tomcat instance for the Relying Party. The Fediz RP web applications use the following TCP ports:
These are the default ports for a standard Tomcat installation. The Relying Party must be accessed over HTTPS to protect the security tokens issued by the IDP. The Tomcat HTTP(s) configuration is done in conf/server.xml. This is a sample snippet for an HTTPS configuration: Unknown macro: {code}
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" The keystoreFile is relative to $CATALINA_HOME. See here for the Tomcat 7 configuration reference. This page also describes how to create certificates. Sample Tomcat keystores (not for production use, but useful for demoing Fediz and running the sample applications) are provided in the examples/samplekeys folder of the Fediz distribution. Note the Tomcat keystore here is different from the one used to configure the Tomcat-IDP instance. To establish trust, there are significant keystore/truststore requirements between the Tomcat instances and the various web applications (IDP, STS, Relying party applications, third party web services, etc.) See this page for more details, it lists the trust requirements as well as sample scripts for creating your own (self-signed) keys. Warning: All sample keystores provided with Fediz (including in the WAR files for its services and examples) are for development/prototyping use only. They'll need to be replaced for production use, at a minimum with your own self-signed keys but strongly recommended to use third-party signed keys. If you are currently just trying to run the Fediz samples, the configuration above is all you need (the below configuration is already provided within the samples) so you can return now to the samples' READMEs for the next steps in running them. Fediz Plugin configuration for Your Web ApplicationThe Fediz related configuration is done in a Servlet Container independent configuration file which is described here. The Fediz plugin requires configuring the FederationAuthenticator like any other Valve in Tomcat. Detailed information about the Tomcat Valve concept is available here. A Valve can be configured on different levels like Host or Context. The Fediz configuration file allows to configure all servlet contexts in one file or choosing one file per Servlet Context. If you choose to have one Fediz configuration file per Servlet Context then you must configure the FederationAuthenticator on the Context level otherwise on the Host level in the Tomcat configuration file server.xml You can either configure the context in the server.xml or in META-INF/context.xml as part of your WAR file. META-INF/context.xmlUnknown macro: {code}
<Context> Host level in server.xmlUnknown macro: {code}
<Host name="localhost" appBase="webapps" Context level in server.xmlUnknown macro: {code}
<Context path="/fedizhelloworld" docBase="fedizhelloworld"> The Fediz configuration file is a Servlet container independent configuration file and described here Web Application deploymentDeploy your Web Application to your Tomcat installation (<catalina.home>/webapps). If you're running the Fediz examples, their README files will have instructions on how to do this. Federation Metadata documentThe Tomcat Fediz plugin supports publishing the WS-Federation Metadata document which is described here.
Stop watching space
|
Change email notification preferences
View Online
|
Add Comment
|
- [CONF] Apache CXF > Fediz Websphere Oliver Wulff (Confluence)
- [CONF] Apache CXF > Fediz Websphere Oliver Wulff (Confluence)
- [CONF] Apache CXF > Fediz Websphere Oliver Wulff (Confluence)
- [CONF] Apache CXF > Fediz Websphere Oliver Wulff (Confluence)
- [CONF] Apache CXF > Fediz Websphere Oliver Wulff (Confluence)
- [CONF] Apache CXF > Fediz Websphere Oliver Wulff (Confluence)
- [CONF] Apache CXF > Fediz Websphere Oliver Wulff (Confluence)
- [CONF] Apache CXF > Fediz Websphere Oliver Wulff (Confluence)
- [CONF] Apache CXF > Fediz Websphere Oliver Wulff (Confluence)
- [CONF] Apache CXF > Fediz Websphere Oliver Wulff (Confluence)
- [CONF] Apache CXF > Fediz Websphere Oliver Wulff (Confluence)
