Uploaded image for project: 'CAS Server'
  1. CAS-1453

Support passing principal information from AuthenticationHandler to PrincipalResolver

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0 RC4
    • Fix Version/s: 4.0
    • Component/s: Authentication
    • Labels:
      None

      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.

        Attachments

          Activity

            People

            • Assignee:
              mmoayyed Misagh Moayyed
              Reporter:
              blapanja Bob Lapanja
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: