mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	Merge branch 'master' into GUAC-546-REWRITE
Conflicts: guacamole/src/main/java/org/glyptodon/guacamole/net/basic/rest/protocol/ProtocolRetrievalService.java guacamole/src/main/webapp/scripts/admin-ui.js guacamole/src/main/webapp/scripts/service.js
This commit is contained in:
		| @@ -43,7 +43,19 @@ public class ProtocolParameter { | ||||
|         TEXT, | ||||
|  | ||||
|         /** | ||||
|          * A password parameter, whose value is sensitive and must be hidden. | ||||
|          * A username parameter. This parameter type generally behaves | ||||
|          * identically to arbitrary text parameters, but has semantic | ||||
|          * differences. If credential pass-through is in use, the value for this | ||||
|          * parameter may be automatically provided using the credentials | ||||
|          * originally used by the user to authenticate. | ||||
|          */ | ||||
|         USERNAME, | ||||
|  | ||||
|         /** | ||||
|          * A password parameter, whose value is sensitive and must be hidden. If | ||||
|          * credential pass-through is in use, the value for this parameter may | ||||
|          * be automatically provided using the credentials originally used by | ||||
|          * the user to authenticate. | ||||
|          */ | ||||
|         PASSWORD, | ||||
|  | ||||
|   | ||||
| @@ -57,6 +57,10 @@ public class ParamTagHandler implements TagHandler { | ||||
|         else if ("numeric".equals(type)) | ||||
|             protocolParameter.setType(ProtocolParameter.Type.NUMERIC); | ||||
|  | ||||
|         // Username field | ||||
|         else if ("username".equals(type)) | ||||
|             protocolParameter.setType(ProtocolParameter.Type.USERNAME); | ||||
|  | ||||
|         // Password field | ||||
|         else if ("password".equals(type)) | ||||
|             protocolParameter.setType(ProtocolParameter.Type.PASSWORD); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user