Fediz ConfigurationPage edited by Oliver WulffChanges (1)
Full ContentFediz Plugin configurationThis page describes the Fediz configuration file referenced by the security interceptor (eg. authenticator in Tomcat/Jetty). ExampleThe following example shows the minimum configuration for Fediz. <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <FedizConfig> <contextConfig name="/fedizhelloworld"> <audienceUris> <audienceItem>https://localhost:8443/fedizhelloworld</audienceItem> </audienceUris> <certificateStores> <trustManager> <keyStore file="conf/stsstore.jks" password="stsspass" type="JKS" /> </trustManager> </certificateStores> <trustedIssuers> <issuer name="issuer 1" certificateValidation="ChainTrust" subject=".*CN=www.sts.com.*" /> </trustedIssuers> <protocol xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="federationProtocolType" version="1.2"> <issuer>https://localhost:9443/fedizidp/</issuer> </protocol> </contextConfig> </FedizConfig>
These configuration elements allows for configuring a CallbackHandler which gets a Callback object where the appropriate value must be set. The CallbackHandler implementation has access to the HttpServletRequest. The XML attribute type must be set to Class. Advanced exampleThe following example defines the required claims and configures a custom callback handler to define some configuration values at runtime. <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <FedizConfig> <contextConfig name="/fedizhelloworld"> <audienceUris> <audienceItem>https://localhost:8443/fedizhelloworld</audienceItem> </audienceUris> <certificateStores> <keyStore file="conf/stsstore.jks" password="stsspass" type="file" /> </certificateStores> <maximumClockSkew>10</maximumClockSkew> <trustedIssuers> <issuer name="issuer 1" certificateValidation="ChainTrust" subject=".*CN=www.sts.com.*" /> </trustedIssuers> <protocol xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="federationProtocolType" version="1.2"> <issuer>https://localhost:9443/fedizidp/</issuer> <roleDelimiter>,</roleDelimiter> <roleURI>http://schemas.xmlsoap.org/ws/2005/05/identity/claims/role</roleURI> <claimTypesRequested> <claimType type="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/role" optional="true" /> </claimTypesRequested> <authenticationType type="String" value="http://docs.oasis-open.org/wsfed/authorization/200706/authntypes/smartcard" /> <homeRealm type="Class" value="example.HomeRealmCallbackHandler" /> </protocol> </contextConfig> </FedizConfig>
Change Notification Preferences
View Online
|
View Changes
|
Add Comment
|
- [CONF] Apache CXF > Fediz Configuration confluence
- [CONF] Apache CXF > Fediz Configuration confluence
- [CONF] Apache CXF > Fediz Configuration confluence
- [CONF] Apache CXF > Fediz Configuration confluence
- [CONF] Apache CXF > Fediz Configuration confluence
- [CONF] Apache CXF > Fediz Configuration confluence
- [CONF] Apache CXF > Fediz Configuration confluence
- [CONF] Apache CXF > Fediz Configuration confluence
- [CONF] Apache CXF > Fediz Configuration confluence
- [CONF] Apache CXF > Fediz Configuration confluence
- [CONF] Apache CXF > Fediz Configuration confluence
- [CONF] Apache CXF > Fediz Configuration confluence
