Spring security Basic authentication with Token authorization -


i want provide token based authorization spring rest application based on basic authentication.

  1. a login/token request (post /path/to/login) => basic authentication , return token
  2. all other requests => token authentication

how can that? (spring 4.x)

although spring getting started guide here - https://spring.io/guides/gs/securing-web/ relates spring boot. pretty applicable basic spring 4.x


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -