Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-1128

jaas JCRAuthenticationModule set entity twice

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 3.0 RC3
    • security
    • None

    Description

      The JCRAuthenticationModule commit method set Entity twice.
      If as in my case you need
      1) Set custom properties
      2) Non necessarly extends my custom authentication module

      This results in two Entitty within the subject's principal list with different properties.

      My suggestion is to cut setEntity call inside the commit method or better controlling that an user entity is already present end if not throwing some exception

      Filippo

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              scharles Sameer Charles
              filippo_fratoni Filippo Fratoni
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD