1. Finally visit http://localhost:8081/users/login to login.
Various test users credentials can be found in the `DataBaseLoader` class.
## Deployment
...
...
@@ -74,7 +73,7 @@ The changelog can be found in src/main/resources/changeLog.yaml, the correspondi
environment you need to change a few settings in the application properties file.
1. Point Spring to the changelog you want to apply using the: `liquibase.change-log=` property
2. Change the `spring.datasource.url=` property to a persistent h2 url rather than the in-memory variant.
1. Change the `spring.datasource.url=` property to a persistent h2 url rather than the in-memory variant.
## Roles
...
...
@@ -104,8 +103,8 @@ In development you may not want to go through the SAML process. The traditional
The SAML messages are cryptographically signed. The file `security/samlKeystore.jks` is a Java keystore. It has no password (when prompted for a password, enter the empty string). The development keystore contains a key with alias `apollo` and password `nalle123`. For production, you'll want to:
1. Create a PKCS12 file using your private key and a CA signed certificate of it. You can use openssl command for this: `openssl pkcs12 -export -in /etc/ssl/certs/queue_ewi_tudelft_nl.crt -inkey /etc/ssl/private/queue.ewi.tudelft.nl.key -certfile /etc/ssl/certs/queue_ewi_tudelft_nl.crt -out testkeystore.p12`
2. Create a Java keystore (.jks file) using the `keytool`: `keytool -importkeystore -srckeystore testkeystore.p12 -srcstoretype pkcs12 -destkeystore keystore.jks -deststoretype JKS`
3. To list the keys in the Java keystore: `keytool -list -v -keystore keystore.jks`
1. Create a Java keystore (.jks file) using the `keytool`: `keytool -importkeystore -srckeystore testkeystore.p12 -srcstoretype pkcs12 -destkeystore keystore.jks -deststoretype JKS`
1. To list the keys in the Java keystore: `keytool -list -v -keystore keystore.jks`
@@ -128,3 +127,4 @@ The file to edit for this is mpm_prefork.conf and the directive is MaxRequestWor
### Security
- To ensure forms have a `_csrf` field, either make sure the form uses `th:action`, as this automagically adds the field or add it by hand as a hidden input field.