Spring Security
  1. Spring Security
  2. SEC-1522

Change AbstractSecurityInterceptor to treat an empty attribute collection the same as null

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 3.1.0.M1
    • Component/s: None
    • Labels:
      None

      Description

      The interface contract for SecurityMetadataSource requires that null be returned if no attributes are available for a resource, but there's no reason why this shouldn't be relaxed to allow the use of an empty collection, making it more flexible.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Luke Taylor
            Reporter:
            Luke Taylor
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: