mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 17:13:21 +00:00 
			
		
		
		
	GUACAMOLE-292: Define and use standard attributes for user full name and email.
This commit is contained in:
		| @@ -30,6 +30,27 @@ import org.apache.guacamole.net.auth.permission.SystemPermissionSet; | ||||
|  */ | ||||
| public interface User extends Identifiable { | ||||
|  | ||||
|     /** | ||||
|      * All standard attribute names with semantics defined by the Guacamole web | ||||
|      * application. Extensions may additionally define their own attributes | ||||
|      * with completely arbitrary names and semantics, so long as those names do | ||||
|      * not conflict with the names listed here. All standard attribute names | ||||
|      * have a "guac-" prefix to avoid such conflicts. | ||||
|      */ | ||||
|     public static class Attribute { | ||||
|  | ||||
|         /** | ||||
|          * The user's full name. | ||||
|          */ | ||||
|         public static String FULL_NAME = "guac-full-name"; | ||||
|  | ||||
|         /** | ||||
|          * The email address of the user. | ||||
|          */ | ||||
|         public static String EMAIL_ADDRESS = "guac-email-address"; | ||||
|  | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * Returns this user's password. Note that the password returned may be | ||||
|      * hashed or completely arbitrary. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user