ahmetbozok/spring-security-authentication-token-example
This is a basic example to authenticate with username and password and generate a token which related with provided user. After generate a token all request will use this token for authentication.
Java