Skip to content

Commit

Permalink
Mosip 18419 integrate with auth adapter for offline token validation 3 (
Browse files Browse the repository at this point in the history
#663)

* Using RestHelper from ID Repo Core

* Fixes in rest helper config

* Added auth adapter download in docker cmd

* Fix compilation issue

* Fixed missing env declaration in dockerfile

* Added jar to classpath
  • Loading branch information
loganathan-sekaran authored Nov 23, 2021
1 parent d67e967 commit 5903235
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions authentication/authentication-otp-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ CMD if [ "$is_glowroot_env" = "present" ]; then \
rm -rf glowroot.zip ; \
sed -i "s/<service_name>/${current_module_env}/g" glowroot/glowroot.properties ; \
wget -q --show-progress "${iam_adapter_url_env}" -O "${loader_path_env}"/kernel-auth-adapter.jar; \
java -jar -Djava.security.debug=sunpkcs11 -javaagent:glowroot/glowroot.jar -Dspring.cloud.config.label="${spring_config_label_env}" -Dspring.profiles.active="${active_profile_env}" -Dspring.cloud.config.uri="${spring_config_url_env}" ${current_module_env}.jar ; \
java -jar -Djava.security.debug=sunpkcs11 -javaagent:glowroot/glowroot.jar -Dspring.cloud.config.label="${spring_config_label_env}" -Dspring.profiles.active="${active_profile_env}" -Dspring.cloud.config.uri="${spring_config_url_env}" -Dloader.path="${loader_path_env}" ${current_module_env}.jar ; \
else \
wget -q --show-progress "${iam_adapter_url_env}" -O "${loader_path_env}"/kernel-auth-adapter.jar; \
java -jar -Djava.security.debug=sunpkcs11 -Dspring.cloud.config.label="${spring_config_label_env}" -Dspring.profiles.active="${active_profile_env}" -Dspring.cloud.config.uri="${spring_config_url_env}" ${current_module_env}.jar ; \
java -jar -Djava.security.debug=sunpkcs11 -Dspring.cloud.config.label="${spring_config_label_env}" -Dspring.profiles.active="${active_profile_env}" -Dspring.cloud.config.uri="${spring_config_url_env}" -Dloader.path="${loader_path_env}" ${current_module_env}.jar ; \
fi

#Sample docker run command:
Expand Down

0 comments on commit 5903235

Please sign in to comment.