Hi,
I've been trying setting up multiple configurations in the Cloud Services.
I have 4 EA projects defined in the Cloud Service client app e.g. projects A, B, C, and D.
I set up a conf for Project A where SSL and Model authentication are enabled.
I set up a conf for Project B where a Global authentication using Project C users is enabled.
I set up a default conf for other projects.
I copied below a sample of my SSCloudServices.config file.
Perhaps I haven't properly understood the goal of the Cloud Services dealing with multiple configurations so I need some clarification.
I expected Project A to be solely accessed from the Cloud Service via port 812 with an https + model authentication.
However if I use a different port e.g. 810, I can access Project A on http without any http authentication. Also port 812 makes it possible to use https for other projects.
It looks to me that that DEFAULT_MODEL doesn't restrict a conf to a specific model, however this is not consistent with Sparx description :
DEFAULT_MODEL allows a single model to be exposed on a port, making it possible to use a different port for each model.
Any advice will be useful.
# default
(
SERVER_PORT=810
REQUIRE_SSL=0
DEFAULT_MODEL=
MODEL_AUTHENTICATION=
GLOBAL_AUTHENTICATION=
OSLC_SUPPORT=0
)
# Project B
(
SERVER_PORT=811
REQUIRE_SSL=0
DEFAULT_MODEL=projectb
MODEL_AUTHENTICATION=
GLOBAL_AUTHENTICATION=projectc
OSLC_SUPPORT=0
)
# Project A
(
SERVER_PORT=812
REQUIRE_SSL=1
DEFAULT_MODEL=projecta
MODEL_AUTHENTICATION=1
GLOBAL_AUTHENTICATION=
OSLC_SUPPORT=0
)