This is a Spring Security practice repository. It is based on this YouTube video https://www.youtube.com/watch?v=her_7pa0vrg&list=WL&index=98&t=1040s
To set GitHub credentials for first time run
git config credential.helper store
- You can configure global credentials using
git config --global credential.helper store
- You can ensure that you are configuring local credentials using
git config --local credential.helper store
To change GitHub credentials we will need first to unset the credential helper. To do it, run this commandgit config --global --unset credential.helper
You can choose between global and local changing--global
to--local
To enable debugging using the IntelliJD IDE, you should run
spring-boot:run -Dspring-boot.run.fork=false
To understand how this runs, check this link
If you don't have a main class in spring-boot project, you can execute spring-boot-maven-plugin by follow
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
Read this stack overflow answer.
Additionally, look blog entry
Check this blog entry here it teaches you how to debug using IntelliJ
After completing the tutorial, remember to run this command mvnDebug clean install
just before debugging
IntelliJ was marking all subdir of my generated-sources/cxf folder as source roots... So a simple highlight of all folders and un-mark as sources fixes the issue. Link
To see which git configuration you are using, type this git config --list
in console
To change user and email type git config user.name "<your username>
and git config user.email "<your mail>"
This part is based on this YouTube video