MalformedURLException when trying to integrate IDP with CAS

Brent Putman putmanb at georgetown.edu
Thu Feb 11 20:53:10 EST 2016



On 2/11/16 5:36 AM, Gray, James wrote:




> I’m trying to implement IDP 2.4.4 integrated with CAS, and believe
> it’s complaining about the profile handler in the handler.xml file. I
> have followed the instructions on the wiki and have configured the
> ProfileHandlerGroup as follows:
>
>  
>
> <ph:ProfileHandlerGroup
> xmlns:ph="urn:mace:shibboleth:2.0:idp:profile-handler"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
>                         xmlns:sclh="fr:renater:ssocashandler"
>
>                        
> xsi:schemaLocation="urn:mace:shibboleth:2.0:idp:profile-handler
> classpath:/schema/shibboleth-2.0-idp-profile-handler.xsd
>
>                                         fr:renater:ssocashandler
> classpath:/schema/ssocasloginhandler.xsd">
>



Like Marvin I was also unfamiliar with this contributed extension. [1] 


>  
>
> It looks correct to me, can anyone provide any pointers as to where I
> should look next?
>
>  
>


What you posted looks correct to me too, as far as the error goes.



> Hi,
>
>  
>
> I’m getting the following error in the localhost log when starting the
> IDP through Tomcat:
>
>  
>
> Caused by: java.net.MalformedURLException: unknown protocol: classpath
>
>  
>


Since the "classpath" scheme/protocol is used by the existing schema
location we ship there, I don't off-hand know why adding a new one would
cause failure.  Can you check for subtle syntax variations between the
existing one and the one you're adding: whitespace, extra characters,
etc?  If it's not a typo, extra space char in the wrong place, I'm at a
loss.




[1]
https://wiki.shibboleth.net/confluence/display/SHIB2/SSO-CAS+Login+Handler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20160211/22534a42/attachment.html>


More information about the users mailing list