OIOSAML code fails to parse attribute http://digst.dk/oiosaml/basic_privilege_profile throws following error
java.lang.ClassCastException: dk.gov.oio.saml.oiobpp.PrivilegeList cannot be cast to javax.xml.bind.JAXBElement
at dk.gov.oio.saml.oiobpp.OIOBPPUtil.parse(OIOBPPUtil.java:38)
at dk.gov.oio.saml.session.AssertionWrapper.(AssertionWrapper.java:155)
at dk.gov.oio.saml.servlet.AssertionHandler.handlePost(AssertionHandler.java:164)
at dk.gov.oio.saml.servlet.DispatcherServlet.doPost(DispatcherServlet.java:211)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
The result is AssertionWrapper getPrivilegeList() always returns null