Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-1414

Seam security - extending Identity class

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 1.2.0.GA
    • Fix Version/s: 1.3.0.ALPHA
    • Component/s: Security
    • Labels:
      None

      Description

      I would like to extend org.jboss.seam.security.Identity class in order to integrate Seam with 3rd party libraries such as Acegi.

      For this to work I need to overload the Identity subject. Since the subject attribute is private and Identity class access it always directly (doesn't use the getter) and there's no public or protected setter, I cannot override it.

      Could Identity class me modified such as :
      1. subject attribute is made protected OR
      2. adding a protected setter attribute OR
      3. [better solution I think] always acceeding to subject attribut via its getter.

      This issue is related with the post http://jboss.org/index.html?module=bb&op=viewtopic&t=110367

      Thanks

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                shane.bryzak Shane Bryzak
                Reporter:
                gonzalad Dupont Dupont
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: