From de2842e259b2dd7f8ec50a848aec4f1badce3b0e Mon Sep 17 00:00:00 2001 From: Axel Uhl Date: Thu, 5 Mar 2020 12:16:14 +0100 Subject: [PATCH] switched default mail invitation type to SailInsight3 for the new app release --- .../com/sap/sailing/gwt/ui/server/SailingServiceImpl.java | 2 +- wiki/projects/consolidating-user-stores.md | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/server/SailingServiceImpl.java b/java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/server/SailingServiceImpl.java index ea7e5e371b0..76f35fc29cc 100755 --- a/java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/server/SailingServiceImpl.java +++ b/java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/server/SailingServiceImpl.java @@ -9314,7 +9314,7 @@ public class SailingServiceImpl extends ResultCachingProxiedRemoteServiceServlet @Override public MailInvitationType getMailType() { MailInvitationType type = MailInvitationType - .valueOf(System.getProperty(MAILTYPE_PROPERTY, MailInvitationType.SailInsight2.name())); + .valueOf(System.getProperty(MAILTYPE_PROPERTY, MailInvitationType.SailInsight3.name())); return type; } diff --git a/wiki/projects/consolidating-user-stores.md b/wiki/projects/consolidating-user-stores.md index c1cd107ba43..a3a4ed71044 100644 --- a/wiki/projects/consolidating-user-stores.md +++ b/wiki/projects/consolidating-user-stores.md @@ -391,7 +391,9 @@ REPLICATE_ON_START=com.sap.sse.security.impl.SecurityServiceImpl,com.sap.sailing REPLICATE_MASTER_SERVLET_HOST=security-service.sapsailing.com REPLICATE_MASTER_SERVLET_PORT=443 REPLICATE_MASTER_EXCHANGE_NAME=security_service -REPLICATE_MASTER_BEARER_TOKEN="Gecx+W/dwFKRAxFbIvC/IMafEnJ8kTQF+MlYNVhEwD4=" +REPLICATE_MASTER_BEARER_TOKEN="..." ``` +The bearer token can be obtained by logging on as user ``security-service-replicator`` to ``https://security-service.sapsailing.com`` and then getting the access token from ``https://security-service.sapsailing.com/security/api/restsecurity/access_token``. Ask one of j.hamann@sailtracks.tv, alessandro.stoltenberg@sap.com and axel.uhl@sap.com for the user credentials. Of course, any other user that has permissions ``SERVER:REPLICATE:security-service`` and ``SERVER:READ_REPLICATOR:security-service`` can do the same, so a user may also ask someone who has the premissions required to transfer the permissions to another user. + These properties have now been appended to the env.sh files of the existing servers on the multi-instance set-up (including swisstimingtest, sailtracks, and tractractest). \ No newline at end of file