cancel
Showing results for 
Search instead for 
Did you mean: 

AuthorityService getAuthoritiesForUser()

finner
Champ in-the-making
Champ in-the-making
Hi,
I've noticed that on login the method getAuthoritesForUsers() in the AuthorityService is called about 10 times during the login process.
Is this normal behaviour ? Why does it get called so many times ?

Thanks in advance
Finner
3 REPLIES 3

kevinr
Star Contributor
Star Contributor
It is called by the PermissionService impl as it makes decisions on whether the current user has access rights on various nodes.

Thanks,

Kevin

finner
Champ in-the-making
Champ in-the-making
Hi Kevin,
Thanks for your reply. Is there a way of reducing the number of calls to this method ?

Finner

kevinr
Star Contributor
Star Contributor
No not really.

Kevin