Spring Security
  1. Spring Security
  2. SEC-1794

OpenIDAuthenticationStatus should be an enum

    Details

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

      Description

      OpenIDAuthenticationStatus should be an enum. If not then at least lets get rid of the static counter and use a constructor with (String,int) and a factory method in addition to the readObject(). Otherwise it is next to impossible to serialize/deserialize with non java.io.Serializable alternatives like Jackson.

        Activity

        Hide
        Luke Taylor added a comment -

        Converted to an enum.

        Show
        Luke Taylor added a comment - Converted to an enum.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: