public class StandardTokens extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CLIENT_ADDRESS_TOKEN
The name of the client address token added via addStandardTokens().
|
static String |
CLIENT_HOSTNAME_TOKEN
The name of the client hostname token added via addStandardTokens().
|
static String |
DATE_TOKEN
The name of the date token (server-local time) added via
addStandardTokens().
|
static String |
PASSWORD_TOKEN
The name of the password token added via addStandardTokens().
|
static String |
TIME_TOKEN
The name of the time token (server-local time) added via
addStandardTokens().
|
static String |
USERNAME_TOKEN
The name of the username token added via addStandardTokens().
|
Modifier and Type | Method and Description |
---|---|
static void |
addStandardTokens(TokenFilter filter)
Adds tokens which are standardized by guacamole-ext to the given
TokenFilter and which do not require a corresponding Credentials object.
|
static void |
addStandardTokens(TokenFilter filter,
AuthenticatedUser user)
Adds tokens which are standardized by guacamole-ext to the given
TokenFilter using the values from the given AuthenticatedUser object,
including any associated credentials.
|
static void |
addStandardTokens(TokenFilter filter,
Credentials credentials)
Adds tokens which are standardized by guacamole-ext to the given
TokenFilter using the values from the given Credentials object.
|
public static final String USERNAME_TOKEN
public static final String PASSWORD_TOKEN
public static final String CLIENT_HOSTNAME_TOKEN
public static final String CLIENT_ADDRESS_TOKEN
public static final String DATE_TOKEN
public static final String TIME_TOKEN
public static void addStandardTokens(TokenFilter filter)
filter
- The TokenFilter to add standard tokens to.public static void addStandardTokens(TokenFilter filter, Credentials credentials)
filter
- The TokenFilter to add standard tokens to.credentials
- The Credentials to use when populating the GUAC_USERNAME and
GUAC_PASSWORD tokens.public static void addStandardTokens(TokenFilter filter, AuthenticatedUser user)
filter
- The TokenFilter to add standard tokens to.user
- The AuthenticatedUser to use when populating the GUAC_USERNAME and
GUAC_PASSWORD tokens.Copyright © 2018. All rights reserved.