what is the impact here if I use the line which does not have "ROLE_" prefix in the @Secured Annotation? Assuming that the spring security RoleVoter expects roles to be prefixed with "ROLE_" .
- @Secured({"ADMIN"})
- @Secured({"ROLE_ADMIN"}) public void sampleMethod(SampleClass sampleObject) { Operations; }
Aucun commentaire:
Enregistrer un commentaire