[java-identity-provider COMMIT] in /trunk: idp-conf/src/main/resources/conf/idp.properties idp-conf/src/main/resource...

noreply at shibboleth.net noreply at shibboleth.net
Sun Dec 14 06:49:48 EST 2014


Author: rdw
Date: Sun Dec 14 06:49:47 2014
New Revision: 7092

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=7092&view=rev
Log:
IDP-245 Add the abiloty to specify a list of languages to use when there is no match between the browser and the metadata

Modified:
    trunk/idp-conf/src/main/resources/conf/idp.properties
    trunk/idp-conf/src/main/resources/system/flows/authn/external-authn-beans.xml
    trunk/idp-conf/src/main/resources/system/flows/authn/password-authn-beans.xml
    trunk/idp-conf/src/main/resources/system/flows/authn/remoteuser-authn-beans.xml
    trunk/idp-conf/src/main/resources/system/flows/authn/x509-authn-beans.xml
    trunk/idp-conf/src/main/resources/system/flows/intercept/attribute-release-beans.xml
    trunk/idp-conf/src/main/resources/system/flows/intercept/terms-of-use-beans.xml
    trunk/idp-conf/src/main/resources/system/flows/logout/logout-beans.xml
    trunk/idp-conf/src/main/resources/system/flows/saml/saml2/slo-front-abstract-beans.xml
    trunk/idp-ui/src/main/java/net/shibboleth/idp/ui/context/RelyingPartyUIContext.java
    trunk/idp-ui/src/main/java/net/shibboleth/idp/ui/impl/SetRPUIInformation.java
    trunk/idp-ui/src/test/java/net/shibboleth/idp/ui/context/RelyingPartyUIContextTest.java

Modified: trunk/idp-conf/src/main/resources/conf/idp.properties
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/conf/idp.properties?rev=7092&r1=7091&r2=7092&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/conf/idp.properties (original)
+++ trunk/idp-conf/src/main/resources/conf/idp.properties Sun Dec 14 06:49:47 2014
@@ -140,3 +140,7 @@
 idp.status.accessPolicy = AccessByIPAddress
 idp.resolvertest.accessPolicy = AccessByIPAddress
 idp.reload.accessPolicy = AccessByIPAddress
+
+# Languages to use if not match can be found with the browser supported languages.
+# No default.
+idp.ui.fallback.languages=en;fr;de

Modified: trunk/idp-conf/src/main/resources/system/flows/authn/external-authn-beans.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/authn/external-authn-beans.xml?rev=7092&r1=7091&r2=7092&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/authn/external-authn-beans.xml (original)
+++ trunk/idp-conf/src/main/resources/system/flows/authn/external-authn-beans.xml Sun Dec 14 06:49:47 2014
@@ -23,7 +23,8 @@
     <bean id="SetRPUIInformation"
         class="net.shibboleth.idp.ui.impl.SetRPUIInformation" scope="prototype"
         p:activationCondition-ref="shibboleth.authn.External.populateUIInfo"
-        p:httpServletRequest-ref="shibboleth.HttpServletRequest" />
+        p:httpServletRequest-ref="shibboleth.HttpServletRequest"
+        p:fallbackLanguages="%{idp.ui.fallback.languages:null}" />
 
     <bean id="ValidateExternalAuthentication"
             class="net.shibboleth.idp.authn.impl.ValidateExternalAuthentication" scope="prototype"

Modified: trunk/idp-conf/src/main/resources/system/flows/authn/password-authn-beans.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/authn/password-authn-beans.xml?rev=7092&r1=7091&r2=7092&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/authn/password-authn-beans.xml (original)
+++ trunk/idp-conf/src/main/resources/system/flows/authn/password-authn-beans.xml Sun Dec 14 06:49:47 2014
@@ -30,7 +30,8 @@
 
     <bean id="SetRPUIInformation"
         class="net.shibboleth.idp.ui.impl.SetRPUIInformation" scope="prototype"
-        p:httpServletRequest-ref="shibboleth.HttpServletRequest"/>
+        p:httpServletRequest-ref="shibboleth.HttpServletRequest"
+        p:fallbackLanguages="%{idp.ui.fallback.languages:null}"/>
     
     <bean id="ExtractUsernamePasswordFromFormRequest"
         class="net.shibboleth.idp.authn.impl.ExtractUsernamePasswordFromFormRequest" scope="prototype"

Modified: trunk/idp-conf/src/main/resources/system/flows/authn/remoteuser-authn-beans.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/authn/remoteuser-authn-beans.xml?rev=7092&r1=7091&r2=7092&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/authn/remoteuser-authn-beans.xml (original)
+++ trunk/idp-conf/src/main/resources/system/flows/authn/remoteuser-authn-beans.xml Sun Dec 14 06:49:47 2014
@@ -23,7 +23,8 @@
     <bean id="SetRPUIInformation"
         class="net.shibboleth.idp.ui.impl.SetRPUIInformation" scope="prototype"
         p:activationCondition-ref="shibboleth.authn.RemoteUser.populateUIInfo"
-        p:httpServletRequest-ref="shibboleth.HttpServletRequest"/>
+        p:httpServletRequest-ref="shibboleth.HttpServletRequest"
+        p:fallbackLanguages="%{idp.ui.fallback.languages:null}"/>
 

[... 453 lines stripped ...]


More information about the commits mailing list