Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-9454

Allow the .NET Fedlet to be serialized and stored in session state

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 12.0.3, 13.0.0
    • Fix Version/s: 14.0.0
    • Component/s: SAML
    • Sprint:
      AM Sustaining Sprint 25
    • Support Ticket IDs:

      Description

      The fedlet is not designed in a way to allow a .NET application to store session objects in session state.

      When it tries it will hit the error below.

      The current Fedlet codebase would need to implement the ISerializable interface where appropriate to achieve this.

      [SerializationException: Type 'Sun.Identity.Saml2.AuthnRequest' in Assembly 'Fedlet, Version=1.3.5391.574, Culture=neutral, PublicKeyToken=7636fe87e1495b73' is not marked as serializable.] System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type) +14139040
      System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context) +319 System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo() +188
      System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter, SerializationBinder binder) +25
      

        Attachments

          Activity

            People

            • Assignee:
              spareyc Charles Sparey
              Reporter:
              jonthomas Jonathan Thomas
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: