Support enabling or disabling authentication and authorization 04/141404/2 1.15.5
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Wed, 2 Jul 2025 07:51:43 +0000 (09:51 +0200)
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Wed, 2 Jul 2025 08:34:22 +0000 (10:34 +0200)
commita724cc3476bf65da18f24aa25f573aec7430a65b
tree41ee0801a4348d090fc9c784ebc98d9007d850d9
parent6413c9d623b12e685c34d776ae4706ec9594ba6f
Support enabling or disabling authentication and authorization

- do not set 'basic' spring profile by default in the container
  startup script, thus making it possible not to set a profile [0]
- introduce spring.security.rbacEnabled property. It is true by
  default to not change the default behaviour

[0] the active profile is then determined by the helm chart and
    will remain 'basic' as a default

Issue-ID: SO-4193
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I9ddeee9a2fb275dde14ed76fb461c46836fd776b
common/src/main/java/org/onap/so/security/SoBasicHttpSecurityConfigurer.java
common/src/main/java/org/onap/so/security/SoUserCredentialConfiguration.java
packages/docker/src/main/docker/docker-files/scripts/start-app.sh