[java-identity-provider COMMIT] /trunk/idp-conf/src/main/resources/views/login.vm
noreply at shibboleth.net
noreply at shibboleth.net
Fri Aug 22 19:55:11 EDT 2014
Author: scantor
Date: Fri Aug 22 19:55:11 2014
New Revision: 6462
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=6462&view=rev
Log:
Handle unverified SP case.
Modified:
trunk/idp-conf/src/main/resources/views/login.vm
Modified: trunk/idp-conf/src/main/resources/views/login.vm
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/views/login.vm?rev=6462&r1=6461&r2=6462&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/views/login.vm (original)
+++ trunk/idp-conf/src/main/resources/views/login.vm Fri Aug 22 19:55:11 2014
@@ -4,7 +4,7 @@
## Velocity context will contain the following properties
## flowExecutionUrl - the form action location
## flowRequestContext - the Spring Web Flow RequestContext
-## rpUIContext - the context with information from the metadata
+## rpUIContext - the context with SP UI information from the metadata
## flowExecutionKey - the SWF execution key (this is built into the flowExecutionUrl)
## encoder - HTMLEncoder class
## request - HttpServletRequest
@@ -43,9 +43,11 @@
</p>
#end
- <legend>
- Log in to $rpUIContext.getServiceName()
- </legend>
+ #if ( $rpUIContext.getServiceName() )
+ <legend>
+ Login to $encoder.encodeForHTML($rpUIContext.getServiceName())
+ </legend>
+ #end
<section>
<Label for="username">Username</label>
More information about the commits
mailing list