Hello,
I’m trying to figure out how to programmatically retrieve a list of the authenticated user’s permitted screens. I couldn’t find a way to do this in the documentation or in the forum. Something like:
Collection<? extends GrantedAuthority> authorities = currentAuthentication.getAuthentication().getAuthorities();
for (GrantedAuthority grantedAuthority : authorities) {
// get screens
}
Is this possible?
Thanks,
Adam