Type $IDP_HOME needs to be $IDP_HOME$ or else the installer doesn't patch it up correctly
[java-idp.git] / resources / conf / handler.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <ProfileHandlerGroup xmlns="urn:mace:shibboleth:2.0:idp:profile-handler"
4                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5                      xsi:schemaLocation="urn:mace:shibboleth:2.0:idp:profile-handler classpath:/schema/shibboleth-2.0-idp-profile-handler.xsd">
6
7     <ErrorHandler xsi:type="JSPErrorHandler" jspPagePath="/error.jsp" />
8
9     <ProfileHandler xsi:type="Status">
10         <RequestPath>/status</RequestPath>
11     </ProfileHandler>
12
13     <ProfileHandler xsi:type="ShibbolethSSO"
14                     inboundBinding="urn:mace:shibboleth:1.0:profiles:AuthnRequest"
15                     outboundBindingEnumeration="urn:oasis:names:tc:SAML:1.0:profiles:browser-post 
16                                                 urn:oasis:names:tc:SAML:1.0:profiles:artifact-01">
17         <RequestPath>/shibboleth/SSO</RequestPath>
18     </ProfileHandler>
19     
20     <ProfileHandler xsi:type="SAML1AttributeQuery" 
21                     inboundBinding="urn:oasis:names:tc:SAML:1.0:bindings:SOAP-binding"
22                     outboundBindingEnumeration="urn:oasis:names:tc:SAML:1.0:bindings:SOAP-binding">
23         <RequestPath>/saml1/SOAP/AttributeQuery</RequestPath>
24     </ProfileHandler>
25     
26     <ProfileHandler xsi:type="SAML2SSO" 
27                     inboundBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
28                     outboundBindingEnumeration="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST 
29                                                 urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact">
30         <RequestPath>/saml2/POST/SSO</RequestPath>
31     </ProfileHandler>
32
33     <ProfileHandler xsi:type="SAML2SSO" 
34                     inboundBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect"
35                     outboundBindingEnumeration="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST 
36                                                 urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact">
37         <RequestPath>/saml2/Redirect/SSO</RequestPath>
38     </ProfileHandler>
39     
40     <ProfileHandler xsi:type="SAML2AttributeQuery"
41                     inboundBinding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP"
42                     outboundBindingEnumeration="urn:oasis:names:tc:SAML:2.0:bindings:SOAP">
43         <RequestPath>/saml2/SOAP/AttributeQuery</RequestPath>
44     </ProfileHandler>
45     
46     <AuthenticationHandler xsi:type="RemoteUser">
47         <AuthenticationMethod>urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified</AuthenticationMethod>
48     </AuthenticationHandler>
49     
50     <AuthenticationHandler xsi:type="UsernamePassword" 
51                            jaasConfigurationLocation="file://$IDP_HOME$/conf/login.config">
52         <AuthenticationMethod>urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</AuthenticationMethod>
53     </AuthenticationHandler>
54
55 </ProfileHandlerGroup>