Example of Trusted mode customization.



Requirements:


Customer has external SSO (like Ping or Tivoli) that returns information about authenticated user in a token. 
To simplify integration the SSO company provides a Java library, which we mock in this example by two classes
located in com.acme.sso package.
The customization code must extract user information from the token and populate the SSOIServerCredentials object 
that later is used by Authentication Filter code to create IServer session.



Files:


The customization consists of two files:

* The CustomCredentialsProvider.java file contains customization Java code.

* The TrustedConfig.xml files injects above customization code into applicaton by overriding corresponding bean
definition in original configuration file.



Deploying customization:


After deploying web application:

1. Copy the  CustomCredentialsProvider.class file in WEB-INF\classes\com\microstrategy\custom\auth\trusted folder.

2. Copy the TrustedConfig.xml file in  WEB-INF\classes\auth\custom folder