Code for default security policy, make policyId optional.
[shibboleth/sp.git] / configs / example-shibboleth2.xml
index 40ee148..25cd37b 100644 (file)
     Resource requests are mapped by the RequestMapper to an applicationId that\r
     points into to this section (or to the defaults here).\r
     -->\r
-    <ApplicationDefaults policyId="default"\r
-        entityID="https://sp.example.org/shibboleth"\r
-        REMOTE_USER="eppn persistent-id targeted-id"\r
-        signing="false" encryption="false">\r
+    <ApplicationDefaults entityID="https://sp.example.org/shibboleth"\r
+                         REMOTE_USER="eppn persistent-id targeted-id"\r
+                         signing="false" encryption="false">\r
 \r
         <!--\r
         Controls session lifetimes, address checks, cookie handling, and the protocol handlers.\r
 \r
             <!-- Default directs to a specific IdP (favoring SAML 2 over Shib 1). -->\r
             <SessionInitiator type="Chaining" Location="/Login" isDefault="true" id="Login"\r
-                    relayState="cookie" entityID="https://idp.example.org/shibboleth">\r
+                              relayState="cookie" entityID="https://idp.example.org/shibboleth">\r
+              \r
                 <SessionInitiator type="SAML2" acsIndex="1" template="bindingTemplate.html"/>\r
                 <SessionInitiator type="Shib1" acsIndex="5"/>\r
                 <!--\r