WikiSession.getUserPrincipal now defaults to the wiki principal, rather than the full name. This means that favorites auto-linking won't break. It also gains a method getRoles() that returns the roles and groups the user possesses. The method doPrivileged(WikiSession,PrivilegedAction) allows actions to be executed using the user's privileges. WikiSession's getSubject() method has been removed; it was a security risk. Group principal injection responsibilities moves to WikiSession from AuthenticationManager.
WikiSession.getUserPrincipal now defaults to the wiki principal, rather than the full name. This means that favorites auto-linking won't break. It also gains a method getRoles() that returns the roles and groups the user possesses. The method doPrivileged(WikiSession,PrivilegedAction) allows actions to be executed using the user's privileges. WikiSession's getSubject() method has been removed; it was a security risk. Group principal injection responsibilities moves to WikiSession from AuthenticationManager.


git-svn-id: 6c0206e3b9edd104850923da33ebd73b435d374d@625473 13f79535-47bb-0310-9956-ffa450edef68

tateshitah/jspwiki,tateshitah/jspwiki,tateshitah/jspwiki,tateshitah/jspwiki