Hi, I am using ACEGI security framework of Spring. Now I am getting all the roles from the database and setting it into the ACEGI user object when the user logs in.I need to add new roles to GrantedAuthority array at run time after the user logs in. Is it possible to add/remove roles from GrantedAuthority array at run time? I am getting stackOverflowerror while trying to add a new authority. Please help.
Announcement Announcement Module
No announcement yet.
How can we add an authority to GrantedAuthority at run time? Page Title Module
Move Remove Collapse