Hi!I have got a shib3 SP registered at my CAS and it tries to do an AttributeQuery.
While the SP-initiated login with a browser works fine and tickets are generated, as soon as I try to do an Attribute Query using the SP itself, I run in a null pointer exception.
CAS basically receives and validates the SOAP request of the SP, finds the appropriate service definition, validates the signatures successfully and then throws up without being very helpful about the reason:
2020-08-25 15:27:15,730 ERROR [org.apereo.cas.support.saml.web.idp.profile.query.Saml2AttributeQueryProfileHandlerController] - <null>
java.lang.NullPointerException: nullat org.apereo.cas.support.saml.web.idp.profile.query.Saml2AttributeQueryProfileHandlerController.handlePostRequest(Saml2AttributeQueryProfileHandlerController.java:61) ~[cas-server-support-saml-idp-web-6.1.7.1.jar:6.1.7.1] at jdk.internal.reflect.GeneratedMethodAccessor356.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
<snip>
2020-08-25 15:27:15,731 DEBUG
[org.apereo.cas.web.FlowExecutionExceptionResolver] - <Ignoring the
received exception [java.lang.NullPointerException] due to a type
mismatch with handler
[org.apereo.cas.support.saml.web.idp.profile.query.Saml2AttributeQueryProfileHandlerController#handlePostRequest(HttpServletResponse,
HttpServletRequest)]>
2020-08-25 15:27:15,731 DEBUG
[org.apereo.cas.web.FlowExecutionExceptionResolver] - <Ignoring the
received exception [java.lang.NullPointerException] due to a type
mismatch with handler
[org.apereo.cas.support.saml.web.idp.profile.query.Saml2AttributeQueryProfileHandlerController#handlePostRequest(HttpServletResponse,
HttpServletRequest)]>
2020-08-25 15:27:15,731 ERROR
[org.springframework.boot.web.servlet.support.ErrorPageFilter] -
<Forwarding to error page from request
[/idp/profile/SAML2/SOAP/AttributeQuery] due to exception [null]>
The only option I found to control SAML2 AQs was activating the endpoints.The error messages did not enable me to track the problem down. Null pointers are nasty and maybe I overlooked an option...
Can anyone point me in the right direction? Thanks! -- __________________________________________________________________ *** Sven Specker -- University of Frankfurt Computing Center *** *********** UNIX System Administration (Auth/IDM) **************** ***** [email protected] [Phone (+49)-69-798-15188] ***** ****************************************************************** __________________________________________________________________ Johann Wolfgang Goethe Universitaet - Hochschulrechenzentrum - Theodor W. Adorno-Platz 1 (PA-1P16) D-60323 Frankfurt/Main __________________________________________________________________ ______________ TeX-users do it in {groups}________________________ -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG--- You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/921b5119-330b-a1d9-b1fa-e020d010598b%40rz.uni-frankfurt.de.
smime.p7s
Description: S/MIME Cryptographic Signature
