Siteminder SDK not working with Java 17 and Spring Boot 3
search cancel

Siteminder SDK not working with Java 17 and Spring Boot 3

book

Article ID: 278570

calendar_today

Updated On:

Products

SITEMINDER CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On Federation (SiteMinder) CA Single Sign On Agents (SiteMinder)

Issue/Introduction

The SDK program is failing to connect to the policy server with Spring Boot 3 and Java 17.  The same code works when Spring Boot 2 is used.

Environment

12.8.7 SDK

Resolution

There were two configuration issues, and neither issue was caused by SiteMinder.

1. Bouncy castle has an issue getting loaded into Spring Boot and was failing with a Checksum error for which, we have identified the below configuration in the project xml for the maven project build which resolved the issue.

<configuration>
            <loaderImplementation>CLASSIC</loaderImplementation>
</configuration>

2. Customer was using customized Java 17.0.9 which was enabled with policies and hence was failing with restrictions. When customer used the Java release straight from Oracle it worked successfully, thus the problem is within the customer's custom Java build.