Solution:
hasRole ('ROLE_SUPERVISOR') takes the role case sensitive and with the exact word.
Replace:
supervisor => ROLE_SUPERVISOR
teller => ROLE_TELLER
user => ROLE_USER
Type: Posts; User: AntonioK; Keyword(s):
Solution:
hasRole ('ROLE_SUPERVISOR') takes the role case sensitive and with the exact word.
Replace:
supervisor => ROLE_SUPERVISOR
teller => ROLE_TELLER
user => ROLE_USER
Hi,
I modified spring security tutorial for use java server faces and xhtml pages.
I have the next problem:
class: bigbank.BankService
problem: @PreAuthorize(...) is not working propertly....