Welcome to the new Spring.io forums!
If this is your first visit, be sure to check out the
by clicking the link above, and for security reasons, use the
forgot password link to reset your password..
You may have to register before you can post: click the register
link above to proceed. To start viewing messages, select the forum that you want to visit
from the selection below.
No announcement yet.
which one to extend if want extra Role info in session ?Page Title Module
I suspect you'll want to develop an AuthenticationDao which generated the GrantedAuthority array to include your customised GrantedAuthority. You could probably simply extend GrantedAuthorityImpl, but it's easy enough to start from GrantedAuthority.
If you do the above, the HttpSessionContextIntegrationFilter will provide all HttpSession integration automatically, as the GRantedAuthoritys are stored inside the Authentication, which is in turn stored inside the SecureContext that is stored in a HttpSession.