Using GUI, i can create a HTML5 SSH bookmark with empty username/password in order let clients set ssh username/password on bookmark connect.
Using Netconf, i fail to create HTML5 SSH bookmarks with empty username because username is set to <USER> if i create a bookmark :
<html5-access-profile operation='create'> <name>my-ssh-profile</name> <roles>my-role</roles> <hostname>10.10.10.10</hostname> <port>22</port> <html5-acl-checkbox>true</html5-acl-checkbox> <ssh> <sessions> <session> <name>my-ssh-bookmark</name> <username></username> <password-type>variable</password-type> <variable-password></variable-password> </session> </sessions> </ssh> </html5-access-profile>
<html5-access-profile operation='create'> <name>my-ssh-profile</name> <roles>my-role</roles> <hostname>10.10.10.10</hostname> <port>22</port> <html5-acl-checkbox>true</html5-acl-checkbox> <ssh> <sessions> <session> <name>my-ssh-bookmark</name> <password-type>variable</password-type> <variable-password></variable-password> </session> </sessions> </ssh> </html5-access-profile>
because <USER> is the default username value according to the xsd file.
Does anyone know which netconf xml i should use to force an empty username?
PS: i am using a Pulse Secure 8.2R5.1
Solved! Go to Solution.
After some experimentations, i find a solution to create a HTML5 SSH bookmark without a username through Netconf: i used the following as a username:
<username><![CDATA[]]></username>
Not sure, it works on all versions.
I hope it's not an issue to define HTML5 SSH bookmarks without a username otherwise there is a regression compared to "old fashioned" SSH bookmarks.
There is no error message as there is no error ... we just don't no how to force an empty password using Netconf API because username is set to <USER> when the markup <username> is empty
After some experimentations, i find a solution to create a HTML5 SSH bookmark without a username through Netconf: i used the following as a username:
<username><![CDATA[]]></username>
Not sure, it works on all versions.