Hi All

I have attached a patch that fixes a small security issue and adds some functionality.

Security fix : tamauth_page() included a user_load_by_name that loaded the user from the webseal headers before checking if the user was valid.
The page load at /user/tam was authenticated but no session was created..

Admin UI for role mappings added.

hook_tamauth_login_event is added so other modules can do something on webseal logins.

Tom

Comments

thelmer’s picture

StatusFileSize
new5.27 KB
thelmer’s picture

Issue summary: View changes
joel.gilchrist’s picture

StatusFileSize
new11.99 KB

Hi thelmer,

I extended the admin ui for role mapping to be table based and to use a role select list instead of free text. Also added a textfield for the redirect. Please review.

I'll admit I have an ulterior motive and will be adding another issue for auto login capability and I'll be updating the admin ui for that as well.

joel.gilchrist’s picture

Status: Active » Needs review
joel.gilchrist’s picture

See https://www.drupal.org/node/2499649#comment-10025595 where this patch has been merged into work going on in that issue.