[java-identity-provider COMMIT] in /trunk/idp-conf/src/main/resources: flows/user/ flows/user/prefs/ flows/user/prefs...
noreply at shibboleth.net
noreply at shibboleth.net
Fri Oct 23 00:20:35 EDT 2015
Author: scantor
Date: Fri Oct 23 00:20:34 2015
New Revision: 7861
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=7861&view=rev
Log:
IDP-111 - strawman user preference manipulation flow/view
Added:
trunk/idp-conf/src/main/resources/flows/user/
trunk/idp-conf/src/main/resources/flows/user/prefs/
trunk/idp-conf/src/main/resources/flows/user/prefs/prefs-flow.xml
trunk/idp-conf/src/main/resources/views/user-prefs.js (with props)
trunk/idp-conf/src/main/resources/views/user-prefs.vm (with props)
Modified:
trunk/idp-conf/src/main/resources/messages/authn-messages.properties
trunk/idp-conf/src/main/resources/system/conf/global-system.xml
trunk/idp-conf/src/main/resources/system/flows/authn/spnego-authn-beans.xml
trunk/idp-conf/src/main/resources/system/flows/authn/spnego-authn-flow.xml
Modified: trunk/idp-conf/src/main/resources/messages/authn-messages.properties
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/messages/authn-messages.properties?rev=7861&r1=7860&r2=7861&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/messages/authn-messages.properties (original)
+++ trunk/idp-conf/src/main/resources/messages/authn-messages.properties Fri Oct 23 00:20:34 2015
@@ -25,6 +25,15 @@
idp.url.password.reset = #
idp.url.helpdesk = #
+# User Preferences example messages
+
+idp.userprefs.title = Web Login Service
+idp.userprefs.title.suffice = Login Preferences
+idp.userprefs.info = This page allows you to configure your device to tell the Web Login Service that it \
+ can use more advanced login approaches that are more convenient, but not always usable.
+idp.userprefs.options = The following options are available:
+idp.userprefs.spnego = Automatically try desktop login when available.
+
# Classified Login Error messages
UnknownUsername = bad-username
Modified: trunk/idp-conf/src/main/resources/system/conf/global-system.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/conf/global-system.xml?rev=7861&r1=7860&r2=7861&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/conf/global-system.xml (original)
+++ trunk/idp-conf/src/main/resources/system/conf/global-system.xml Fri Oct 23 00:20:34 2015
@@ -149,6 +149,15 @@
p:httpServletResponse-ref="shibboleth.HttpServletResponse"
p:secure="%{idp.cookie.secure:false}"
p:httpOnly="%{idp.cookie.httpOnly:true}"
+ p:cookieDomain="%{idp.cookie.domain:}"
+ p:cookiePath="%{idp.cookie.path:}"
+ p:maxAge="%{idp.cookie.maxAge:31536000}" />
+
+ <bean id="shibboleth.UserPrefsCookieManager" class="net.shibboleth.utilities.java.support.net.CookieManager"
+ p:httpServletRequest-ref="shibboleth.HttpServletRequest"
+ p:httpServletResponse-ref="shibboleth.HttpServletResponse"
+ p:secure="%{idp.cookie.secure:false}"
+ p:httpOnly="false"
p:cookieDomain="%{idp.cookie.domain:}"
p:cookiePath="%{idp.cookie.path:}"
p:maxAge="%{idp.cookie.maxAge:31536000}" />
Modified: trunk/idp-conf/src/main/resources/system/flows/authn/spnego-authn-beans.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/authn/spnego-authn-beans.xml?rev=7861&r1=7860&r2=7861&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/authn/spnego-authn-beans.xml (original)
+++ trunk/idp-conf/src/main/resources/system/flows/authn/spnego-authn-beans.xml Fri Oct 23 00:20:34 2015
@@ -44,6 +44,6 @@
<bean id="SPNEGOAutoLoginManager"
class="net.shibboleth.idp.authn.spnego.impl.SPNEGOAutoLoginManager"
- p:cookieManager-ref="shibboleth.PersistentCookieManager" />
+ p:cookieManager-ref="shibboleth.UserPrefsCookieManager" />
</beans>
Modified: trunk/idp-conf/src/main/resources/system/flows/authn/spnego-authn-flow.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/authn/spnego-authn-flow.xml?rev=7861&r1=7860&r2=7861&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/authn/spnego-authn-flow.xml (original)
+++ trunk/idp-conf/src/main/resources/system/flows/authn/spnego-authn-flow.xml Fri Oct 23 00:20:34 2015
@@ -5,7 +5,7 @@
<!-- This is a login flow for SPNEGO authentication implemented via external authentication. -->
- <!-- Store current autologin state. -->
+ <!-- Store current autologin state to a flow variable. -->
<on-start>
<evaluate expression="SPNEGOAutoLoginManager.isEnabled()"
result="flowScope.enableAutoLoginOnSuccess" />
@@ -32,9 +32,9 @@
else="ReselectFlow" />
</decision-state>
[... 9 lines stripped ...]
More information about the commits
mailing list