Uploaded image for project: 'Shibboleth User Interface'
  1. Shibboleth User Interface
  2. SHIBUI-1743

EntityID or ACS domain validation by user or group

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Minor
    • 1.10.0
    • None
    • None
    • 8/13/21 - 8/27/21, 8/27/21 - 9/10/21, 9/10/21 - 9/24/21, 9/24/21 - 10/8/21

    Description

      EntityID or ACS domain validation by user or group

       

      Assign regular expressions to groups for validation that allows for registration of entity ids and ACS URLs.

      For groups management add the ability to add the regex to the group.

      Front end and backend will both validate regex.

      **?? Add for Sources, Providers and Filters (Dynamic HTTP Metadata).

       

      For testing the regex (you want MATCH=TRUE):

      https://www.freeformatter.com/java-regex-tester.html#ad-output

       

      • Sources
        • EntityID
        • Assertion Consumers Service URLs
      • Provider
        • FileBacked - Metadata URL
        • DynamicHttp - MetadataQueryProtocol construction value
      • Filter
        • NameID - Filter target entityId(s)
        • Entity attributes - Filter target entityId(s)

      Additional AC:

      • Admins should not be restricted by any regex
      • Non-admin regex validation testing on providers and filters is not yet testable because only admins can create them

       

      Attachments

        1.
        UI: Implement regex validation for EntityID and ACS Urls Sub-task Done Ryan Mathis (unicon.net)

        0%

        Original Estimate - Not Specified Original Estimate - Not Specified
        Remaining Estimate - 1 day
        2.
        Backend: add regex field to Groups Sub-task Done Charles Hasegawa (unicon.net)

        100%

        Original Estimate - Not Specified Original Estimate - Not Specified
        Time Spent - 1 day
        3.
        UI: Add regex field in groups management form Sub-task Done Ryan Mathis (unicon.net)

        0%

        Original Estimate - Not Specified Original Estimate - Not Specified
        Remaining Estimate - 2 hours
        4.
        UI: Update error messaging for upload/url sources when failing validation Sub-task Done Ryan Mathis (unicon.net)

        0%

        Original Estimate - Not Specified Original Estimate - Not Specified
        Remaining Estimate - 2 hours
        5.
        Backend: Create/update entity descriptors must validate against group regex Sub-task Done Charles Hasegawa (unicon.net)

        33%

        Original Estimate - Not Specified Original Estimate - Not Specified
        Time Spent - 4 hours Remaining Estimate - 1 day
        6.
        Backend: File and URL upload for entity descriptors must validate against group regex Sub-task Done Charles Hasegawa (unicon.net)

        0%

        Original Estimate - Not Specified Original Estimate - Not Specified
        Remaining Estimate - 4 hours
        7.
        Manual QA Sub-task Done Bill Smith (unicon.net)

        0%

        Original Estimate - 1 day
        Remaining Estimate - 1 day
        8.
        Add/Update Automated Tests Sub-task Done Bill Smith (unicon.net)

        0%

        Original Estimate - 1 day
        Remaining Estimate - 1 day
        9.
        Add Regex pattern to validation messages Sub-task Done Bill Smith (unicon.net)  
        10.
        (backend) Unit test breakage Sub-task Done Charles Hasegawa (unicon.net)  
        11.
        Bug: Cannot create second metadata provider (any type) Sub-task Done Bill Smith (unicon.net)  
        12.
        Bug: Admins should not be restricted by regex associated with the admin's group Sub-task Done Ryan Mathis (unicon.net)

        0%

        Original Estimate - 1 hour
        Remaining Estimate - 1 hour
        13.
        Review & Enhance Unit Test Performance Sub-task Done Charles Hasegawa (unicon.net)

        0%

        Original Estimate - Not Specified Original Estimate - Not Specified
        Remaining Estimate - 2 days
        14.
        Bug: Backend is restricting admins from creating File-backed HTTP Metadata Providers based on the admin group's regex Sub-task Done Charles Hasegawa (unicon.net)  
        15.
        Bug: Backend is restricting admins from creating Dynamic HTTP Metadata Providers with Metadata Query Protocol URLs that do not match the group's regex Sub-task Done Charles Hasegawa (unicon.net)  
        16.
        Bug: 400 when attempting to save an Entity Attributes Filter with an entity id that doesn't match the group's regex Sub-task Done Charles Hasegawa (unicon.net)  
        17.
        Bug: The (currently default?) group regex value of /(?!^()$)^(.*)$/ cannot be removed from the group such that it has no regex Sub-task Done Charles Hasegawa (unicon.net)  
        18.
        Bug: Discrepancy between regex declaration and validation regarding fromtslashes Sub-task Done Charles Hasegawa (unicon.net)  
        19.
        code review Sub-task Done Jonathan Johnson (unicon.net)  

        Activity

          People

            charles.hasegawa@at.internet2.edu Charles Hasegawa (unicon.net)
            steven.erickson@at.internet2.edu Steven Erickson (unicon.net)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2 days, 1 hour Original Estimate - 2 days, 1 hour
                2d 1h
                Remaining:
                Time Spent - 1 day, 4 hours, 5 minutes Remaining Estimate - 1 week, 2 days, 1 hour
                1w 2d 1h
                Logged:
                Time Spent - 1 day, 4 hours, 5 minutes Remaining Estimate - 1 week, 2 days, 1 hour
                1d 4h 5m