Skip to content
No description, website, or topics provided.
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main/java/com/wstutorial/security
.gitignore
LICENSE
README.md
pom.xml

README.md

This is part part II of a series of articles on Spring security topic, The first part with basic authenticationcan be found here. Instead of using inMemoryAuthentication we will use for the frist time AuthenticationProvider to authenticate the users, afterwards we implement a custom UserDetailsService to load users.

Curl command:

curl http://localhost:8080
curl http://localhost:8080/protected
curl http://localhost:8080/protected -u john:secret
curl http://localhost:8080/admin -u john:secret
curl http://localhost:8080/admin -u admin:supersecret

More articles can be found here: https://wstutorial.com

You can’t perform that action at this time.