Implementing a Custom SSO Filter
If the default extractor and transformer filters available in MashZone NextGen do not provide the functionality needed to allow MashZone NextGen to work with your SSO solution, you can create custom filters using the MashZone NextGen SSO Filter API.
To use this API
1. Add the following JARs and classes to your classpath:
Classes in the
web-apps-home/presto/WEB-INF/classes folder.
The
web-apps-home/presto/WEB-INF/lib/presto_common.jar file.
2. Implement one or both filters:
To create a custom extractor, implement the
SSOTokenExtractor interface, typically using the
AbstractSSOTokenExtractor base class.
To create a custom transformer, implement the
Transformation interface.
3. Add these classes to the classpath. Copy either the compiled class file or a JAR containing the compiled class file to one of these folders, respectively:
Important: | Deploying additional resources, such as custom SSO filters, to an external configuration folder simplifies future deployments or MashZone NextGen Server clusters. |
web-apps-home/presto/WEB-INF/classes. This is the default location, but is not recommended as it complicates
MashZone NextGen Server deployments.
web-apps-home/presto/WEB-INF/lib. This is the default location, but is not recommended as it complicates
MashZone NextGen Server deployments.