[java-identity-provider COMMIT] in /trunk/idp-conf/src/main/resources: conf/error-mappings.xml views/authn-error.vm v...

noreply at shibboleth.net noreply at shibboleth.net
Mon Jun 9 16:41:22 EDT 2014


Author: scantor
Date: Mon Jun  9 16:41:21 2014
New Revision: 6065

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=6065&view=rev
Log:
Create some placeholder error mappings and templates.

Added:
    trunk/idp-conf/src/main/resources/views/authn-error.vm   (with props)
    trunk/idp-conf/src/main/resources/views/black-swan-error.vm   (with props)
    trunk/idp-conf/src/main/resources/views/endpoint-error.vm   (with props)
    trunk/idp-conf/src/main/resources/views/security-cfg-error.vm   (with props)
Modified:
    trunk/idp-conf/src/main/resources/conf/error-mappings.xml
    trunk/idp-conf/src/main/resources/views/error.vm

Modified: trunk/idp-conf/src/main/resources/conf/error-mappings.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/conf/error-mappings.xml?rev=6065&r1=6064&r2=6065&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/conf/error-mappings.xml (original)
+++ trunk/idp-conf/src/main/resources/conf/error-mappings.xml Mon Jun  9 16:41:21 2014
@@ -23,9 +23,38 @@
 
     <util:map id="shibboleth.EventViewMap">
         <entry key="InvalidProfileConfiguration" value="relying-party-error" />
+        
         <entry key="MessageReplay" value="stale-error" />
         <entry key="MessageExpired" value="stale-error" />
+        <entry key="UnableToDecode" value="stale-error" />
+        
         <entry key="AccessDenied" value="access-error" />
+
+        <entry key="InvalidSecurityConfiguration" value="security-cfg-error" />
+        
+        <entry key="EndpointResolutionFailed" value="endpoint-error" />
+        
+        <entry key="AccountError" value="authn-error" />
+        <entry key="AuthenticationException" value="authn-error" />
+        <entry key="InvalidCredentials" value="authn-error" />
+        <entry key="NoCredentials" value="authn-error" />
+        <entry key="NoPotentialFlow" value="authn-error" />
+        <entry key="RequestUnsupported" value="authn-error" />
+        <entry key="SubjectCanonicalizationError" value="authn-error" />
+        
+        <entry key="InvalidAttributeContext" value="black-swan-error" />
+        <entry key="InvalidAuthenticationContext" value="black-swan-error" />
+        <entry key="InvalidSubjectContext" value="black-swan-error" />
+        <entry key="InvalidSubjectCanonicalizationContext" value="black-swan-error" />
+        <entry key="InvalidMessageContext" value="black-swan-error" />
+        <entry key="InvalidMessageVersion" value="black-swan-error" />
+        <entry key="InvalidProfileContext" value="black-swan-error" />
+        <entry key="InvalidRelyingPartyContext" value="black-swan-error" />
+        <entry key="InvalidRelyingPartyConfiguration" value="black-swan-error" />
+        <entry key="MessageProcessingError" value="black-swan-error" />
+        <entry key="UnableToEncode" value="black-swan-error" />
+        <entry key="UnableToSign" value="black-swan-error" />
+        <entry key="UnableToEncrypt" value="black-swan-error" />
     </util:map>
 
     <!-- Mappings of error events during requests to SAML status codes and SOAP fault codes. -->
@@ -85,8 +114,6 @@
         <entry key="InvalidMessageVersion" value-ref="shibboleth.SOAP.VersionMismatch" />
         
         <entry key="UnableToDecode" value-ref="shibboleth.SOAP.Client" />
-        
-        <entry key="UnableToEncode" value-ref="shibboleth.SOAP.Server" />
 
         <entry key="MessageReplay" value-ref="shibboleth.SOAP.Client" />
         <entry key="MessageExpired" value-ref="shibboleth.SOAP.Client" />

Modified: trunk/idp-conf/src/main/resources/views/error.vm
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/views/error.vm?rev=6065&r1=6064&r2=6065&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/views/error.vm (original)
+++ trunk/idp-conf/src/main/resources/views/error.vm Mon Jun  9 16:41:21 2014
@@ -23,8 +23,10 @@
 			</header>
 		
         	<div class="content">
-    		#if ( $flowRequestContext.getCurrentEvent() )
+    		#if ( $flowRequestContext and $flowRequestContext.getCurrentEvent() )
             	<p>ERROR: $encoder.encodeForHTML($flowRequestContext.getCurrentEvent().getId())</p>
+          	#else
+          		<p>ERROR: No specific error available.</p>
     		#end
     		</div>
     	</div>



More information about the commits mailing list