fresh_dev
fresh_dev

Reputation: 6774

Method Level security with permissions not roles

Upvotes: 3

Views: 1023

Answers (1)

Umesh Rajbhandari
Umesh Rajbhandari

Reputation: 1282

Please read the article on the following site: http://springinpractice.com/2010/10/27/quick-tip-spring-security-role-based-authorization-and-permissions/

The main thing is you will need to implement the UserDetails interface. It says "the UserDetails interface simply exposes the permissions (not the roles) via the getAuthorities() method"

Upvotes: 3

Related Questions