Last modified by khushi kapoor on 2018/09/26 16:20

From version Icon 30.1 Icon
edited by Henry Story
on 2010/03/15 19:06
Change comment: There is no comment for this version
To version Icon 32.1 Icon
edited by Henry Story
on 2010/03/15 22:55
Change comment: There is no comment for this version

Summary

Details

Icon 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() )