Presto Administration : Presto 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 Presto do not provide the functionality needed to allow Presto to work with your SSO solution, you can create custom filters using the Presto 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:
*The external configuration folder, if any, for the Presto Server. See Setting Up an External Presto Configuration Folder for more information.
Important:  
Deploying additional resources, such as custom SSO filters, to an external configuration folder simplifies future deployments or Presto Server clusters.
*web-apps-home/presto/WEB-INF/classes. This is the default location, but is not recommended as it complicates Presto Server deployments.
*web-apps-home/presto/WEB-INF/lib. This is the default location, but is not recommended as it complicates Presto Server deployments.
Copyright © 2013-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback