Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

European Union European Regional Development Fund

GovSSO End User Self-Service

GovSSO end user self-service provides an overview of end user's active sessions in the Authentication service.

Prerequisites

  • Java 17 JDK

Building and Running Locally

  1. Follow GovSSO-Session/README.md to run dependent services.
  2. 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 to src/main/resources;
    • copy-replace GovSSO-Session/local/tls/session/session.localhost.keystore.p12 to src/test/resources.
    • copy-replace GovSSO-Session/local/tls/tara/tara.localhost.keystore.p12 to src/test/resources.
  3. Add 127.0.0.1 session.localhost tara.localhost line to hosts 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.
  4. Run
    ./mvnw spring-boot:run

Running in Docker

  1. Build
    • Either build locally
      ./mvnw spring-boot:build-image
    • Or build in Docker
      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.9-eclipse-temurin-17 \
                 mvn spring-boot:build-image
      Git Bash users on Windows should add MSYS_NO_PATHCONV=1 in front of the command.
  2. Follow GovSSO-Session/README.md to run GovSSO-EndUserSelfService and dependent services inside Docker Compose

Endpoints

Configuration

Integration with GovSSO Session

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

Integration with TARA

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

Ignite

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

Time

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

Non-pom.xml Licenses

About

GovSSO end user self-service

Resources

Stars

Watchers

Forks

Releases

Used by

Contributors

Languages