GovSSO end user self-service provides an overview of end user's active sessions in the Authentication service.
- Java 17 JDK
- Follow GovSSO-Session/README.md to run dependent services.
- If you have generated new TLS certificates (doable at project GovSSO-Session) after the last copy, then:
- copy-replace
GovSSO-Session/local/tls/enduserselfservice/*.p12
files tosrc/main/resources
; - copy-replace
GovSSO-Session/local/tls/session/session.localhost.keystore.p12
tosrc/test/resources
. - copy-replace
GovSSO-Session/local/tls/tara/tara.localhost.keystore.p12
tosrc/test/resources
.
- copy-replace
- Add
127.0.0.1 session.localhost tara.localhost
line tohosts
file. This is needed only for requests originating from GovSSO-EndUserSelfService when it's running locally (not in Docker Compose) or during tests. It's not needed for web browsers as popular browsers already have built-in support for resolving*.localhost
subdomains. - Run
./mvnw spring-boot:run
- Build
- Either build locally
./mvnw spring-boot:build-image
- Or build in Docker
Git Bash users on Windows should add
docker run --pull always --rm \ -v /var/run/docker.sock:/var/run/docker.sock \ -v "$HOME/.m2:/root/.m2" \ -v "$PWD:/usr/src/project" \ -w /usr/src/project \ maven:3.8-openjdk-17 \ mvn spring-boot:build-image
MSYS_NO_PATHCONV=1
in front of the command.
- Either build locally
- Follow GovSSO-Session/README.md to run GovSSO-EndUserSelfService and dependent services inside Docker Compose
- https://enduserselfservice.localhost:25443/ - UI
- https://enduserselfservice.localhost:25443/actuator - maintenance endpoints
Parameter | Mandatory | Description | Example |
---|---|---|---|
govsso-enduserselfservice.govsso-session.base-url |
Yes | GovSSO Session administrative API base URL. | https://session.localhost:15443/ |
govsso-enduserselfservice.govsso-session.tls.trust-store |
Yes | Location of trust-store, containing trust anchors (CA or end-entity certificates) for verifying TLS connections to GovSSO Session. | classpath:path/to/trust-store.p12 or file:/path/to/trust-store.p12 |
govsso-enduserselfservice.govsso-session.tls.trust-store-password |
Yes | Trust-store password. | changeit |
govsso-enduserselfservice.govsso-session.tls.trust-store-type |
No | Trust-store type. If not provided, defaults to PKCS12 . |
PKCS12 |
Parameter | Mandatory | Description | Example |
---|---|---|---|
tara.client-id |
Yes | TARA client identifier. The client ID is issued by RIA. | id123 |
tara.client-secret |
Yes | TARA client password. The client password is issued by RIA. | secret123 |
tara.issuer-uri |
Yes | TARA OIDC issuer URI where ${tara.issuer-uri}/.well-known/openid-configuration must return OIDC well-known configuration. tara.issuer-url must exactly match issuer value published in OIDC well-known configuration. |
https://tara.localhost:16443 |
tara.redirect-uri |
Yes | TARA client redirection URI. Publicly accessible URL of current application's OIDC authorization code flow redirection endpoint. The redirection URI is registered with RIA. | https://enduserselfservice.localhost:25443/login/oauth2/code/tara |
tara.trust-store |
Yes | Location of trust-store, containing trust anchors (CA or end-entity certificates) for verifying TLS connections to TARA. Trust anchors must be limited according to TARA documentation. | classpath:path/to/trust-store.p12 or file:/path/to/trust-store.p12 |
tara.trust-store-password |
Yes | Trust-store password. | changeit |
Parameter | Mandatory | Description | Example |
---|---|---|---|
ignite.discovery-spi.ip-finder.addresses |
Yes | Ignite cluster node discovery addresses. Should minimally contain local node IP address. | ['192.168.1.1','192.168.1.2'] |
ignite.ssl-context-factory.key-store-type |
Yes | Key-store type. | PKCS12 |
ignite.ssl-context-factory.key-store-file-path |
Yes | Location of key-store, containing private key and certificate for serving TLS connections. | path/to/key-store.p12 |
ignite.ssl-context-factory.key-store-password |
Yes | Key-store password. | changeit |
ignite.ssl-context-factory.trust-store-type |
Yes | Trust-store type. | PKCS12 |
ignite.ssl-context-factory.trust-store-file-path |
Yes | Location of trust-store, containing trust anchors (CA or end-entity certificates) for verifying TLS connections to other Ignite instances. | path/to/trust-store.p12 |
ignite.ssl-context-factory.trust-store-password |
Yes | Trust-store password. | changeit |
Parameter | Mandatory | Description | Example |
---|---|---|---|
govsso-enduserselfservice.time.local-zone |
No | Time zone to be used by the application. Must be valid Java ZoneId value. Defaults to system default. |
Europe/Tallinn |
- Maven Wrapper - Apache 2.0 license