How to run the java custom authentication scheme provided with the sample SDK.
book
Article ID: 50049
calendar_today
Updated On:
Products
CA Single Sign On Secure Proxy Server (SiteMinder)CA Single Sign On SOA Security Manager (SiteMinder)CA Single Sign-OnSITEMINDER
Issue/Introduction
Description:
Here are the details steps to run the java custom authentication scheme provided with the sample SDK.
Environment
Release: Component: SMSDK
Resolution
Solution:
Compile the class
Create the directory: C:\Program Files\netegrity\sdk\com\netegrity\sdk\javaauthapi
Copy the AuthApiSample.java and java-build.bat from C:\Program Files\netegrity\sdk\samples\javaauthapi to C:\Program Files\netegrity\sdk\com\netegrity\sdk\javaauthapi
Go to C:\Program Files\netegrity\sdk\com\netegrity\sdk\javaauthapi and run java-build.bat
The AuthApiSample.class should be present in C:\Program Files\netegrity\sdk\com\netegrity\sdk\javaauthapi
Build the jar
Go to C:\Program Files\netegrity\sdk
Run the following: "C:\Program Files\Java\jdk1.6.0_21\bin\jar" cvf MyCustomClass.jar com
The MyCustomClass.jar should be present in C:\Program Files\netegrity\sdk
Add the jar to the JVMOptions.txt of the policy server
Edit the C:\Program Files\netegrity\siteminder\config\ JVMOptions.txt
Add ;C:/Program Files/netegrity/sdk/MyCustomClass.jar to the end of the classpath definition
Restart the PS
Create the authentication scheme
Using the PS adminUI create a custom template authentication scheme