Implementation of security mechanism using Spring Security with custom AuthenticationProvider and Filter for REST API based on random persistent tokens as session ids.
- Java 8
- Maven
- MySQL (8.0+)
mvn clean install
java <env variables: -DvariableName='value'> -jar <jar location>
- DB_URL (default: 'jdbc:mysql://localhost:3306/spring_security_db') - db url
- DB_USERNAME (default: 'root') - db username
- DB_PASSWORD (default: 'root') - db password