The policy files can be found at $JAVA_HOME/jre/lib/security. The files that you will change are **local_policy.jar** and **US_export_policy.jar**
The policy files can be found at $JAVA_HOME/jre/lib/security. The files that you will change are **local_policy.jar** and **US_export_policy.jar**
*By now most likely the LDAP authentication should be working. If it's not, then something went wrong in the previous steps <br>
By now most likely the LDAP authentication should be working. If it's not, then something went wrong in the previous steps <br>
Now to set up also the SSO authentication, you will have to register the application at https://sso-management.web.cern.ch/SSO/RegisterApplication.aspx
Now to set up also the SSO authentication, you will have to register the application at https://sso-management.web.cern.ch/SSO/RegisterApplication.aspx
* It's important that you choose as your **Service Provider type** --> **SAML2 with online metadata**
* It's important that you choose as your **Service Provider type** --> **SAML2 with online metadata**
* And in the **Application Metadata Uri** you should put https://YOUR-APPLICATION-MAIN-URL/saml/metadata <br>
* And in the **Application Metadata Uri** you should put https://YOUR-APPLICATION-MAIN-URL/saml/metadata <br>
(To check that it's the correct URl, by redirecting to the above url you should be getting an xml file)
(To check that it's the correct URl, by redirecting to the above url you should be getting an xml file)
* Finally for the **Application Homapage** put this https://YOUR-APPLICATION-MAIN-URL and wait for the SSO team to register your application.
* Finally for the **Application Homapage** put this https://YOUR-APPLICATION-MAIN-URL and wait for the SSO team to register your application.
It's important that you leave your application running for them to approve it.
It's important that you leave your application running for them to approve it.