<span style=" font-size:10pt;font-family:sans-serif">Hallo together,<br>
<br>
We are trying to make SAML2 communication between midPOint and Apereo CAS.<br>
<br>
couple of time took to estabilish basic configuration, but now it is configured
so:<br>
<br>
</span>
<ol>
<li value=1><span style=" font-size:10pt;font-family:sans-serif">at midpoint
side inside securityPolicy i have </span>
<ol>
<li value=1><span style=" font-size:10pt;font-family:sans-serif">tags about
SP and IDP as described in </span><a href="https://wiki.evolveum.com/display/midPoint/Flexible+Authentication+Configuration#FlexibleAuthenticationConfiguration-CompleteConfigurationExamples"><span style=" font-size:12pt;color:blue"><u>https://wiki.evolveum.com/display/midPoint/Flexible+Authentication+Configuration#FlexibleAuthenticationConfiguration-CompleteConfigurationExamples</u></span></a><span style=" font-size:12pt">
</span>
<ol>
<li value=1><span style=" font-size:12pt"><serviceProvider>  
            <entityId></span><a href=http://192.168.56.101/midpoint><span style=" font-size:12pt;color:blue">http://192.168.56.101/midpoint</span></a><span style=" font-size:12pt"></entityId>....</span>
<li value=2><span style=" font-size:12pt"><provider id="20">
            <entityId></span><a href=http://192.168.56.101/cas><span style=" font-size:12pt;color:blue">http://192.168.56.101/cas</span></a><span style=" font-size:12pt"></entityId><alias>casIdp</alias></span></ol>
<li value=2><span style=" font-size:10pt;font-family:sans-serif"> have
there metadata from IDP</span></ol>
<li value=2><span style=" font-size:10pt;font-family:sans-serif">at Apereo
Cas i have </span>
<ol>
<li value=1><span style=" font-size:10pt;font-family:sans-serif">service
with entiId of Midpoint</span>
<li value=2><span style=" font-size:10pt;font-family:sans-serif">inside
service there is info where to find static midpoints metadata</span>
<li value=3></ol></ol>
<br>
<br><span style=" font-size:10pt;font-family:sans-serif">Basic communication
works:<br>
</span>
<ol>
<li value=1><span style=" font-size:10pt;font-family:sans-serif">midpoint
is able to POST SAML request to CAS</span>
<li value=2><span style=" font-size:10pt;font-family:sans-serif">CAS is
able to </span>
<ol>
<li value=1><span style=" font-size:10pt;font-family:sans-serif">find midpointEntityID
inside response</span>
<li value=2><span style=" font-size:10pt;font-family:sans-serif">find services
and metadata conected with this midpointEntityID </span>
<li value=3><span style=" font-size:10pt;font-family:sans-serif">prepare
Request</span>
<li value=4><span style=" font-size:10pt;font-family:sans-serif">send request
to ":AssertionConsumerService" who is midpoint</span></ol>
<li value=3><span style=" font-size:10pt;font-family:sans-serif">midpoint
</span>
<ol>
<li value=1><span style=" font-size:10pt;font-family:sans-serif">receive
the response</span>
<li value=2><span style=" font-size:10pt;font-family:sans-serif">find the
entityId of Idp (</span><a href=http://192.168.56.101/cas><span style=" font-size:12pt;color:blue">http://192.168.56.101/cas</span></a><span style=" font-size:10pt;font-family:sans-serif">)</span>
<li value=3><span style=" font-size:10pt;font-family:sans-serif">but is
unable to locat this entityId - with following errorMessage:</span>
<li value=4></ol></ol><span style=" font-size:10pt;font-family:sans-serif">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</span>
<br><span style=" font-size:10pt;font-family:sans-serif">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.</span>
<br><span style=" font-size:10pt;font-family:sans-serif">org.springframework.security.saml.SamlProviderNotFoundException:
<b>Provider for key 'remote provider entityId' with value '192.168.56.101/cas'
not found.<br>
</b></span>
<br>
<br><span style=" font-size:10pt;font-family:sans-serif">Please how can
i give to midpoint Info that <b> 'remote provider entityId' with value
'192.168.56.101/cas'</b> is there inside securityPolicy?<br>
<br>
Tomaš Husar</span>