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: null
at
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) ****************
*****
spe...@rz.uni-frankfurt.de [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}________________________