When running Policy Server, this one isn't able to handle the request when loading the "myCustomAuthenticationScheme" authentication scheme, reporting the line:
[3550480/140207638693632][Thu Jul 27 2023 14:37:16.692][SmAuthServer.cpp:364][INFO][sm-Server-02760] Initialized authentication scheme myCustomAuthenticationScheme
[3550480/140207638693632][Thu Jul 27 2023 14:39:20.941][AssertionGenerator.java][ERROR][sm-FedServer-00090] AssertionHandler process() throws exception: java.lang.Exception: java.lang.Exception: javax.xml.bind.MarshalException
- with linked exception:
[com.sun.istack.SAXException2: unable to marshal type "com.netegrity.SAML2Gen.ResponseType" as an element because it is missing an @XmlRootElement annotation]
Policy Server 12.8SP7 on RedHat 7;
Upgrade the Policy Server to 12.8SP8 when this one will be available to benefit from fix DE574812 to solve this issue.