Fediz ExtensionsPage edited by Oliver WulffChanges (2)
Full ContentFediz ExtensionsThis page describes the extension points in Fediz to enrich its functionality further. Callback HandlerThe redirect URL to the IDP can contain several query parameters to customize the sign in process. Some parameters are configured statically in the Fediz configuration file some others can be resolved at runtime when the initial request is received by the Fediz plugin. The following table gives an overview of the XML element name in the Fediz configuration file, the query parameter name of the sign-in request to the IDP as well as the Callback class.
If you configure a class which implements the interface javax.security.auth.callback.CallbackHandler you get the corresponding Callback object where you must set the value which is then added to the query parameter. The Callback object provides the HttpServletRequest object which might give you the required information to resolve the value. Here is a snippet of the configuration to configure a CallbackHandler:
...
<protocol xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="federationProtocolType" version="1.2">
...
<homeRealm type="Class" value="MyCallbackHandler " />
...
</protocol>
...
Change Notification Preferences
View Online
|
View Changes
|
Add Comment
|
- [CONF] Apache CXF > Fediz Extensions confluence
- [CONF] Apache CXF > Fediz Extensions confluence
- [CONF] Apache CXF > Fediz Extensions confluence
