Uploaded image for project: 'SX Spring Security Extension'
  1. SX Spring Security Extension
  2. SES-68

Overriding of addMetadataProvider / removeMetadataProvider in MetadataManager

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: saml-1.0.0.RC1
    • Component/s: saml
    • Labels:
      None

      Description

      Actually you need to declare IDP metadata directly into the spring configuration file.

      If you override correctly addMetadataProvider (and removeMetadataProvider) method in the MetadataManager class, you can manage idp in a easier way by adding them at runtime. (for instance i've overridden the metadata manager to scan a directory where my idp metadata are stored)

      Here is a patch that override those method (and add some test too)

        Activity

        Hide
        vsch Vladimir Schäfer added a comment -

        Thank you for adding the Jira issue. It is now possible to add/remove providers using the MetadataManager methods. The change is applied during next refresh or upon call to refreshMetadata.

        Show
        vsch Vladimir Schäfer added a comment - Thank you for adding the Jira issue. It is now possible to add/remove providers using the MetadataManager methods. The change is applied during next refresh or upon call to refreshMetadata.

          People

          • Assignee:
            vsch Vladimir Schäfer
            Reporter:
            gwa GWA
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development