vendredi 31 août 2018

Spring security auto authorization for a given IP

Is it possible in the Spring Security to (well it is Java, of course possible, so quesiton is - is it possible in some relatively painless way) automatically authorize all requests from local host (OK, some given IP) as a request that belongs to a given test user.

For instance in some filter - take all requests, check IP and if it comes from local host say something like spring.authorizeAs("user")




Aucun commentaire:

Enregistrer un commentaire