[midPoint] midpoint as SP and apereo CAS as ISP

tomas.husar at ibask.eu tomas.husar at ibask.eu
Wed Aug 19 14:40:05 CEST 2020


Hallo together,

We are trying to make SAML2 communication between midPOint and Apereo CAS.

couple of time took to estabilish basic configuration, but now it is 
configured so:


at midpoint side inside securityPolicy i have 
tags about SP and IDP as described in 
https://wiki.evolveum.com/display/midPoint/Flexible+Authentication+Configuration#FlexibleAuthenticationConfiguration-CompleteConfigurationExamples 

<serviceProvider>               <entityId>http://192.168.56.101/midpoint
</entityId>....
<provider id="20">             <entityId>http://192.168.56.101/cas
</entityId><alias>casIdp</alias>
 have there metadata from IDP
at Apereo Cas i have 
service with entiId of Midpoint
inside service there is info where to find static midpoints metadata



Basic communication works:

midpoint is able to POST SAML request to CAS
CAS is able to 
find midpointEntityID inside response
find services and metadata conected with this midpointEntityID 
prepare Request
send request to ":AssertionConsumerService" who is midpoint
midpoint 
receive the response
find the entityId of Idp (http://192.168.56.101/cas)
but is unable to locat this entityId - with following errorMessage:

2020-08-19 12:21:39,222 [MODEL] [http-nio-8080-exec-3] DEBUG 
(com.evolveum.midpoint.web.security.filter.MidpointSamlAuthenticationResponseFilter): 
Request is to process authentication
2020-08-19 12:21:42,535 [MODEL] [http-nio-8080-exec-3] ERROR 
(com.evolveum.midpoint.web.security.filter.TranslateExeptionFilter): 
Provider for key 'remote provider entityId' with value 
'192.168.56.101/cas' not found.
org.springframework.security.saml.SamlProviderNotFoundException: Provider 
for key 'remote provider entityId' with value '192.168.56.101/cas' not 
found.


Please how can i give to midpoint Info that  'remote provider entityId' 
with value '192.168.56.101/cas' is there inside securityPolicy?

Tomaš Husar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20200819/8cba3560/attachment.htm>


More information about the midPoint mailing list