GUACAMOLE-78: Define a standard identifier for anonymous users.

This commit is contained in:
Michael Jumper
2016-08-12 12:51:53 -07:00
parent 8e283ef236
commit fcefa7a7c7
2 changed files with 19 additions and 0 deletions

View File

@@ -28,6 +28,12 @@ package org.apache.guacamole.net.auth;
*/
public interface AuthenticatedUser extends Identifiable {
/**
* The identifier reserved for representing a user that has authenticated
* anonymously.
*/
public static final String ANONYMOUS_IDENTIFIER = "";
/**
* Returns the AuthenticationProvider that authenticated this user.
*