Support passing principal information from AuthenticationHandler to PrincipalResolver

Description

I have a use case where users can authenticate through active directory using either their sAMAccountName or their email address, which I then resolve to their objectGuid. This objectGuid is used to lookup the principal for the user (or create a new account with the objectGuid if necessary).

Since the only information passed between the AuthenticationHandler and the PrincipalResolver are the credentials, I'm forced to choose between executing this principal lookup logic as part of my AuthenticationHandler, or redoing the credential lookup logic in my PrincipalResolver. It would be nice if there would be some way to pass information acquired in the AuthenticationHandler to the PrincipalResolver.

Environment

None

Status

Assignee

Misagh Moayyed

Reporter

Bob Lapanja

Labels

None

Estimated End Date

None

Audience

None

Components

Fix versions

Affects versions

4.0 RC4

Priority

Major