Questions et réponses pour le spring-security :

Spring Security is the Spring Framework's application security solution. Spring security can be used to secure URLs and method invocations. It is widely used to secure standalone web applications, portlets and increasingly REST applications.

3
votes
J'ai une application monolithique JHipster avec oauth2 exécutant Keycloak localement. Je ne sais pas exactement comment jhipster devrait fonctionner avec oauth2 ... j'ai d'abord pensé ...

3
votes
J'ai un projet utilisant spring boot, spring security avec oauth2. Quand j'utilise SecurityContextHolder.getContext (). GetAuthentication (). GetPrincipal () cette méthode ne retourne ...

2
votes
J'ai défini des revendications dans le jeton JWT dans le fournisseur de jetons. maintenant, je souhaite obtenir la valeur de la revendication via l'authentification lorsque l'API est touch& ...

2
votes
Dans Spring Boot 1.4.1, je veux faire des tests unitaires (pas des tests d'intégration) sur une méthode de service qui a un accès restreint avec @PreAuthorize. Le probl&eg ...