https://www.ubisecure.com/uncategorized/difference-between-saml-and-oauth/
Tuesday, July 27, 2021
Sunday, July 18, 2021
Docker: Docker Commands : Exhaustive
docker image ls
docker container run <image> --name <containerName>
docker container run -it <image> command
docker container start -at <container>
docker container exec -it <container> command
docker container top
NO ? Why ?
Each of below lines creates own containers
docker container run -p 80:80 -d nginx
docker container run -p 8080:80 -d nginx
Thursday, July 15, 2021
Maven : -DskipTests vs -Dmaven.test.skip=true
-DskipTests
compiles the tests, but skips running them
-Dmaven.test.skip=true
skips compiling the tests and does not run them
Also this one might be important
maven.test.skip is honored by Surefire, Failsafe and the Compiler Plugin
So the complete set of test options for Maven would be:
- -DskipTests ==> compiles the tests, but skips running them
- -Dmaven.test.skip.exec=true ==> the tests get compiled, but not executed.
- -Dmaven.test.skip=true ==> doesn't compile or execute the tests.
PKIX path building failed: sun.security.provider.certpath
- Go to URL in your browser:
- firefox - click on HTTPS certificate chain (the lock icon right next to URL address). Click
"more info" > "security" > "show certificate" > "details" > "export.."
. Pickup the name and choose file type example.cer - chrome - click on site icon left to address in address bar, select "Certificate" -> "Details" -> "Export" and save in format "Der-encoded binary, single certificate".
Now you have file with keystore and you have to add it to your JVM. Determine location of cacerts files, eg.
C:\Program Files (x86)\Java\jre1.6.0_22\lib\security\cacerts.
Next import the
example.cer
file into cacerts in command line (may need administrator command prompt):
keytool -import -alias example -keystore "C:\Program Files (x86)\Java\jre1.6.0_22\lib\security\cacerts" -file example.cer
You will be asked for password which default is changeit
Redhat Service : VSTS Agent Service :EAP Service : Azure Agent Service : Configure as a service
https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.0/html/installation_guide/configuring_jboss_eap_to_run_as_a_service
sudo cp EAP_HOME/bin/init.d/jboss-eap.conf /etc/default
sudo cp EAP_HOME/bin/init.d/jboss-eap-rhel.sh /etc/init.d
sudo chmod +x /etc/init.d/jboss-eap-rhel.sh
sudo chkconfig --add jboss-eap-rhel.sh
sudo service jboss-eap-rhel start
------------------------------------------------------------------------------------------------------
https://www.geeksforgeeks.org/setuid-setgid-and-sticky-bits-in-linux-file-permissions/
------------------------------------------------------------------------------------------------------
https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-linux?view=azure-devops
sudo ./svc.sh install [username]
sudo ./svc.sh status
sudo ./svc.sh start
sudo ./svc.sh stop
Azure - Pipeline - Add Approver for Stage
https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass
-
https://www.baeldung.com/spring-properties-file-outside-jar https://docs.spring.io/spring-boot/docs/current/reference/html/spring-boot-featu...
-
https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass
-
The decision was made to block such external HTTP repositories by default https://stackoverflow.com/questions/66980047/maven-build-failure-d...