[java-identity-provider COMMIT] in /trunk: idp-distribution/src/main/resources/bin/build.xml idp-installer/src/main/j...

noreply at shibboleth.net noreply at shibboleth.net
Mon Nov 3 10:40:38 EST 2014


Author: rdw
Date: Mon Nov  3 10:40:38 2014
New Revision: 6829

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=6829&view=rev
Log:
IDP-481 Ant handler for passwords.  Ask for the password, ask again and compare.  Do not allow null passwords.

Added:
    trunk/idp-installer/src/main/java/net/shibboleth/idp/installer/ant/PasswordHandler.java   (with props)
Modified:
    trunk/idp-distribution/src/main/resources/bin/build.xml

Modified: trunk/idp-distribution/src/main/resources/bin/build.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-distribution/src/main/resources/bin/build.xml?rev=6829&r1=6828&r2=6829&view=diff
==============================================================================
--- trunk/idp-distribution/src/main/resources/bin/build.xml (original)
+++ trunk/idp-distribution/src/main/resources/bin/build.xml Mon Nov  3 10:40:38 2014
@@ -79,14 +79,18 @@
 		<echo append="true" file="idp_ant.log">target: getkeystorepassword
 		</echo>
 		<fail if="idp.noprompt">Input needed, silence demanded</fail>
-		<input message="Key Store Password" addproperty="idp.keystore.password" />
+		<input message="Key Store Password" addproperty="idp.keystore.password">
+			<handler classname="net.shibboleth.idp.installer.ant.PasswordHandler"/>
+	    </input>
 	</target>
 
 	<target name="getsealerpassword" if="idp.ask.sealer.password" depends="checkproperties">
 		<echo append="true" file="idp_ant.log">target: getsealerpassword
 		</echo>
 		<fail if="idp.noprompt">Input needed, silence demanded</fail>
-		<input message="Sealer Password" addproperty="idp.sealer.password" />
+		<input message="Sealer Password" addproperty="idp.sealer.password">
+            <handler classname="net.shibboleth.idp.installer.ant.PasswordHandler"/>
+        </input>
         <echo file="${idp.merge.properties}" append="yes">
         	idp.sealer.storePassword=${idp.sealer.password}
         </echo>



More information about the commits mailing list