Uploaded image for project: 'PicketLink'
  1. PicketLink
  2. PLINK-689

Invocation of method SecuredIdentityManager.lookupById(Class<C> attributedType, String id) results in infinite loop and stack overflow

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Critical
    • Resolution: Done
    • PLINK_2.7.0.Final
    • PLINK_2.7.1.Final
    • BASE
    • None
    • Hide

      Simply make any invocation, valid or not, of SecuredIdentityManager.lookupById. It should fail.

      Show
      Simply make any invocation, valid or not, of SecuredIdentityManager.lookupById. It should fail.

    Description

      Invocation SecuredIdentityManager.lookupById(Class<C> attributedType, String id) results in infinite loop and stack overflow because the decorator is not invoked. Looks like a typo:

      Here's the code:

      @Override
      public <C extends IdentityType> C lookupById(Class<C> attributedType, String id) throws IdentityManagementException

      { return lookupById(attributedType, id); }

      That can't be right. I assume it should be this:

      @Override
      public <C extends IdentityType> C lookupById(Class<C> attributedType, String id) throws IdentityManagementException

      { return decorated.lookupById(attributedType, id); }

      This is a problem since the old lookupIdentityById is deprecated apparently.

      Attachments

        Issue Links

          Activity

            People

              psilva@redhat.com Pedro Igor Craveiro
              sagneta_jira Stephen Agneta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: