Changes for page Create your WebId Certificate
on 2010/03/15 19:06
on 2010/03/15 22:55
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -57,7 +57,8 @@ 57 57 <table width="95%"> 58 58 <tr> 59 59 <td>Common Name: </td> 60 - <td><input name="cn" size="30" id="cn" type="text" value="Xwiki Test Cert" /></td> 60 + #set ($cn = $request.getParameter("cn")) 61 + <td><input name="cn" size="30" id="cn" type="text" value="$cn" /></td> 61 61 </tr> 62 62 <tr> 63 63 <td>WebID: </td> ... ... @@ -157,7 +157,7 @@ 157 157 #set( $addKey = true ) 158 158 #end 159 159 160 - #if ( $addKey ) 161 + #if ( $addKey && ($request.getParameter('webid') eq "${homepage.getExternalURL()}#me") ) 161 161 ## create and save the public key to the user's profile page 162 162 #set( $rsaKey = $homepage.newObject("WebId.RSAPubKeyClass")) 163 163 $!rsaKey.set("hexModulus", $pk.getHexModulus() )