Add in SAML 1 and 2 Artifact resolution profile handler configuration and add to...
[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="SAML1ArtifactResolution" 
27                     inboundBinding="urn:oasis:names:tc:SAML:1.0:bindings:SOAP-binding"
28                     outboundBindingEnumeration="urn:oasis:names:tc:SAML:1.0:bindings:SOAP-binding">
29         <RequestPath>/saml1/SOAP/ArtifactResolution</RequestPath>
30     </ProfileHandler>
31     
32     <ProfileHandler xsi:type="SAML2SSO" 
33                     inboundBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
34                     outboundBindingEnumeration="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST 
35                                                 urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact">
36         <RequestPath>/saml2/POST/SSO</RequestPath>
37     </ProfileHandler>
38
39     <ProfileHandler xsi:type="SAML2SSO" 
40                     inboundBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect"
41                     outboundBindingEnumeration="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST 
42                                                 urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact">
43         <RequestPath>/saml2/Redirect/SSO</RequestPath>
44     </ProfileHandler>
45     
46     <ProfileHandler xsi:type="SAML2AttributeQuery"
47                     inboundBinding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP"
48                     outboundBindingEnumeration="urn:oasis:names:tc:SAML:2.0:bindings:SOAP">
49         <RequestPath>/saml2/SOAP/AttributeQuery</RequestPath>
50     </ProfileHandler>
51     
52     <ProfileHandler xsi:type="SAML2ArtifactResolution" 
53                     inboundBinding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP"
54                     outboundBindingEnumeration="urn:oasis:names:tc:SAML:2.0:bindings:SOAP">
55         <RequestPath>/saml2/SOAP/ArtifactResolution</RequestPath>
56     </ProfileHandler>
57     
58     <LoginHandler xsi:type="RemoteUser">
59         <AuthenticationMethod>urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified</AuthenticationMethod>
60     </LoginHandler>
61     
62     <LoginHandler xsi:type="UsernamePassword" 
63                   jaasConfigurationLocation="file://$IDP_HOME$/conf/login.config">
64         <AuthenticationMethod>urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</AuthenticationMethod>
65     </LoginHandler>
66
67 </ProfileHandlerGroup>