The configuration for AccountChooser has changed. This feature was being configured using valve parameters in jboss-web.xml. Now the configuration is much more simple and comprehensive. All the configuration for Account Chooser is now done in picketlink.xml as follows:
<PicketLinkSP xmlns="urn:picketlink:identity-federation:config:2.1"
|
ServerEnvironment="tomcat" BindingType="${bindingType}">
|
<IdentityURL>
|
<Provider DefaultUrl="http://${hostname}:8080/${idpContextPath}/" Type="org.picketlink.test.integration.federation.saml.util.CustomIdentityURLProvider" Page="/selectDomain.jsp"/>
|
</IdentityURL>
|
<ServiceURL>http://${hostname}:8080/${deployment}/</ServiceURL>
|
</PicketLinkSP>
|
All parameters were preserved from the old configuration style.
Also, there is an important change to the API that impacts users using a custom implementation of org.picketlink.identity.federation.bindings.tomcat.sp.AbstractAccountChooserValve.AccountIDPMapProvider. This interface does not exists anymore. Users must now use org.picketlink.identity.federation.web.config.IdentityURLConfigurationProvider to create their own implementations. The contract is the same.
|