Skip to content

Commit

Permalink
fix: apiml.security.authorization.provider default value should be em…
Browse files Browse the repository at this point in the history
…pty i… (#2107)

* apiml.security.authorization.provider default value should be empty instead of zosmf

Signed-off-by: Jack (T.) Jia <[email protected]>

* use higher level `zOSMF. applId` defined in zowe.yaml

Signed-off-by: Jack (T.) Jia <[email protected]>
  • Loading branch information
jackjia-ibm authored Feb 18, 2022
1 parent 865c1ca commit aa77926
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gateway-package/src/main/resources/bin/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ _BPX_JOBNAME=${ZWE_zowe_job_prefix}${GATEWAY_CODE} java \
-Dapiml.security.authorization.endpoint.url=${ZWE_configs_apiml_security_authorization_endpoint_url:-"https://${ZWE_haInstance_hostname:-localhost}:${ZWE_configs_port:-7554}/zss/api/v1/saf-auth"} \
-Dapiml.security.authorization.resourceClass=${ZWE_configs_apiml_security_authorization_resourceClass:-ZOWE} \
-Dapiml.security.authorization.resourceNamePrefix=${ZWE_configs_apiml_security_authorization_resourceNamePrefix:-APIML.} \
-Dapiml.security.zosmf.applid=${ZWE_configs_apiml_security_zosmf_applid:-IZUDFLT} \
-Dapiml.security.zosmf.applid=${ZOSMF_APPLID:-IZUDFLT} \
-Djava.protocol.handler.pkgs=com.ibm.crypto.provider \
-Dloader.path=${GATEWAY_LOADER_PATH} \
-Djava.library.path=${LIBPATH} \
Expand Down
4 changes: 1 addition & 3 deletions gateway-package/src/main/resources/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ configs:
enabled: false
# default value is https://${ZWE_haInstance_hostname:-localhost}:${ZWE_configs_port}/zss/api/v1/saf-auth
url:
provider: zosmf
provider: ""
resourceClass: ZOWE
resourceNamePrefix: "APIML."
jwtInitializerTimeout: 5
Expand All @@ -56,8 +56,6 @@ configs:
externalMapperUrl:
# default value is Zowe runtime user defined in zowe.yaml "zowe.setup.security.users.zowe"
externalMapperUser:
zosmf:
applid: IZUDFLT
service:
allowEncodedSlashes: true
corsEnabled: false
Expand Down

0 comments on commit aa77926

Please sign in to comment.