Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-548

DelegatingSubject cannot be serialized

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      jdk1.7
    • Flags:
      Important

      Description

      Dear Les:
      I have encountered this problem when tried to serialize the Subject object in my application.I am developing an distributed application,and the Subject will generate at the Provider end,then I restore it in redis and in Consumer end find it use sessionId.
      but when debugging I get an Exception says DelegatingSubject cannot be serialized...I have tried to decrease the version of Shiro to 1.0.0-incubating,whose Subject had implemented the Java.io.Serizlizable interface so that can be serialized.But I find its contents seems not complete in redis server,can you give me some advices,I will very appreciate it

        Attachments

          Activity

            People

            • Assignee:
              lhazlewood Les Hazlewood
              Reporter:
              Frankis.X.Hummel General.X.Hummel
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 96h
                96h
                Remaining:
                Remaining Estimate - 96h
                96h
                Logged:
                Time Spent - Not Specified
                Not Specified