Advertisement
Guest User

Untitled

a guest
Mar 20th, 2017
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. git clone https://github.com/kopax/spring-security-oauth-issues-1024 && cd spring-security-oauth-issues-1024
  2.  
  3. ./gradlew build --info && java -jar build/libs/api-oauth2.jar --spring.profiles.active=default
  4.  
  5. curl -v --silent http://localhost:8081/
  6.  
  7. curl --cookie "$COOKIE" -d username=admin -d password=verysecret -v --silent http://localhost:8081/login
  8.  
  9. curl --cookie "$COOKIE" -v http://localhost:8081/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement