Appendix : Administration : MashZone NextGen Security : Authentication with Single Sign-On Solutions : Implementing a Custom SSO Filter
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/mashzone/WEB-INF/classes folder.
*The web-apps-home/mashzone/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:
*The external configuration folder, if any, for the MashZone NextGen Server. See Setting Up an External MashZone NextGen Configuration Folder for more information.
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/mashzone/WEB-INF/classes. This is the default location, but is not recommended as it complicates MashZone NextGen Server deployments.
*web-apps-home/mashzone/WEB-INF/lib. This is the default location, but is not recommended as it complicates MashZone NextGen Server deployments.
Copyright © 2013-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback