[java-idp-testbed COMMIT] in /trunk/src/main/config: conf/authn-flow-descriptors.xml conf/jaas-authn-config.xml conf/...

noreply at shibboleth.net noreply at shibboleth.net
Sun Dec 15 16:38:24 EST 2013


Author: scantor
Date: Sun Dec 15 16:38:24 2013
New Revision: 81

URL: http://svn.shibboleth.net/view/java-idp-testbed?rev=81&view=rev
Log:
Move message mappings into per-flow configs.

Modified:
    trunk/src/main/config/conf/authn-flow-descriptors.xml
    trunk/src/main/config/conf/jaas-authn-config.xml
    trunk/src/main/config/conf/ldap-authn-config.xml
    trunk/src/main/config/system/flows/authn/jaas-authn-beans.xml
    trunk/src/main/config/system/flows/authn/ldap-authn-beans.xml

Modified: trunk/src/main/config/conf/authn-flow-descriptors.xml
URL: http://svn.shibboleth.net/view/java-idp-testbed/trunk/src/main/config/conf/authn-flow-descriptors.xml?rev=81&r1=80&r2=81&view=diff
==============================================================================
--- trunk/src/main/config/conf/authn-flow-descriptors.xml (original)
+++ trunk/src/main/config/conf/authn-flow-descriptors.xml Sun Dec 15 16:38:24 2013
@@ -81,35 +81,6 @@
     </util:list>
 
     <!--
-    Define entries here to map error messages thrown by authentication plugins like JAAS modules
-    and classify them as particular kinds of errors for use in your templates and as events in flows.
-    -->
-    <util:map id="shibboleth.ClassifiedMessageMap">
-        <entry key="UnknownUsername">
-            <list>
-                <value>CLIENT_NOT_FOUND</value>
-                <value>DN_RESOLUTION_FAILURE</value>
-            </list>
-        </entry>
-        <entry key="InvalidPassword">
-            <list>
-                <value>PREAUTH_FAILED</value>
-                <value>INVALID_CREDENTIALS</value>
-            </list>
-        </entry>
-        <entry key="ExpiredPassword">
-            <list>
-                <value>PASSWORD_EXPIRED</value>
-            </list>
-        </entry>
-        <entry key="ExpiringPassword">
-            <list>
-                <value>ACCOUNT_WARNING</value>
-            </list>
-        </entry>
-    </util:map>
-
-    <!--
     Defining this allows us to specify symbolic text replacements that shrink the size of results
     saved to client-side storage such as cookies.
     -->

Modified: trunk/src/main/config/conf/jaas-authn-config.xml
URL: http://svn.shibboleth.net/view/java-idp-testbed/trunk/src/main/config/conf/jaas-authn-config.xml?rev=81&r1=80&r2=81&view=diff
==============================================================================
--- trunk/src/main/config/conf/jaas-authn-config.xml (original)
+++ trunk/src/main/config/conf/jaas-authn-config.xml Sun Dec 15 16:38:24 2013
@@ -47,4 +47,33 @@
         -->
     </util:list>
 
+    <!--
+    Define entries here to map error messages thrown by JAAS modules and classify them as particular
+    kinds of errors for use in your templates and as events in flows.
+    -->
+    <util:map id="shibboleth.authn.JAAS.ClassifiedMessageMap">
+        <entry key="UnknownUsername">
+            <list>
+                <value>CLIENT_NOT_FOUND</value>
+                <value>DN_RESOLUTION_FAILURE</value>
+            </list>
+        </entry>
+        <entry key="InvalidPassword">
+            <list>
+                <value>PREAUTH_FAILED</value>
+                <value>INVALID_CREDENTIALS</value>
+            </list>
+        </entry>
+        <entry key="ExpiredPassword">
+            <list>
+                <value>PASSWORD_EXPIRED</value>
+            </list>
+        </entry>
+        <entry key="ExpiringPassword">
+            <list>
+                <value>ACCOUNT_WARNING</value>
+            </list>
+        </entry>
+    </util:map>
+
 </beans>

Modified: trunk/src/main/config/conf/ldap-authn-config.xml
URL: http://svn.shibboleth.net/view/java-idp-testbed/trunk/src/main/config/conf/ldap-authn-config.xml?rev=81&r1=80&r2=81&view=diff
==============================================================================
--- trunk/src/main/config/conf/ldap-authn-config.xml (original)
+++ trunk/src/main/config/conf/ldap-authn-config.xml Sun Dec 15 16:38:24 2013
@@ -52,5 +52,32 @@
         <value>businessCategory</value>
         <value>mail</value>
     </util:list>
+
+    <!--
+    Define entries here to map error messages thrown by JAAS modules and classify them as particular
+    kinds of errors for use in your templates and as events in flows.
+    -->
+    <util:map id="shibboleth.authn.LDAP.ClassifiedMessageMap">
+        <entry key="UnknownUsername">
+            <list>
+                <value>DN_RESOLUTION_FAILURE</value>
+            </list>
+        </entry>
+        <entry key="InvalidPassword">
+            <list>
+                <value>INVALID_CREDENTIALS</value>
+            </list>
+        </entry>
+        <entry key="ExpiredPassword">
+            <list>
+                <value>PASSWORD_EXPIRED</value>
+            </list>
+        </entry>
+        <entry key="ExpiringPassword">
+            <list>
+                <value>ACCOUNT_WARNING</value>
+            </list>
+        </entry>
+    </util:map>
     
 </beans>

Modified: trunk/src/main/config/system/flows/authn/jaas-authn-beans.xml

[... 29 lines stripped ...]


More information about the commits mailing list