14 | | The configuration files are located in src/main/webapp/WEB-INF. The Spring Security and authentication filters are configured in applicationContext-security.xml. The rest of the code is configured in applicationContext.xml. |
15 | | However, many of the properties set in the Spring context can configured in the properties files located in src/main/resources. |
16 | | ===== Keystore ===== |
17 | | The STS requires a JKS keystore that contains a private key. This is the key that will be used to sign all SAML objects such as assertions. A keystore can be generated using the Java Keytool. Instructions here: http://wiki.eclipse.org/Generating_a_Private_Key_and_a_Keystore |
18 | | The keystoreManager bean needs to be configured to use this keystore. This can be done by changing the following properties in metadata.properties: |
| 17 | The WAR file is an archive containing object code, presentation templates and configuration files. The downloaded WAR file should therefore be opened (e.g. using [http://www.7-zip.org/ 7-zip]) to access the configuration files located in ???/WEB-INF. |
| 18 | ===== Setting up a keystore ===== |
| 19 | 1. The STS requires a JKS keystore that contains a private key. This is the key that will be used to sign all SAML objects such as assertions. A keystore can be generated using the Java Keytool. Instructions [http://wiki.eclipse.org/Generating_a_Private_Key_and_a_Keystore here]. |
| 20 | 1. The STS configuration must be changed to use the new keystore. This is done by changing the following properties in metadata.properties: |