Skip to content

Attribute parsing error- http://digst.dk/oiosaml/basic_privilege_profile #68

@theroys

Description

@theroys

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions