server.jar required to compile custom authentication code is missing in 10.2 Spotfire server installation

server.jar required to compile custom authentication code is missing in 10.2 Spotfire server installation

book

Article ID: KB0078881

calendar_today

Updated On: 03-26-2019

Products Versions
Spotfire Server 10.2

Description

Prior to Spotfire Server version 10.2, server.jar that is located under [Spotfire Server installation folder]\tomcat\webapps\spotfire\WEB-INF\lib\ was required to compile custom authentication code.

In Spotfire Server version 10.2, this jar file is not available and so if one attempts to re-compile the custom authentication code to replace some of the deprecated API's, it might fail as the required jar is not available in the class path.

 

Issue/Introduction

server.jar required to compile custom authentication code is missing in 10.2 Spotfire server installation

Resolution

The required custom authentication code classes have been moved from server.jar to a new jar. To resolve this issue add the "spotfire-public-java-api.jar" available in the [Spotfire Server installation folder]\tomcat\webapps\spotfire\WEB-INF\lib\ to the classpath.

This contains the classes related to the post authentication and custom authenticator filters required to compile the custom authentication code.