public class UtilityValidator extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_DB_NAME_LENGTH
Value of 58 copied from WebMethods.GetValidatedDatabaseName for consistency.
|
| Constructor and Description |
|---|
UtilityValidator() |
| Modifier and Type | Method and Description |
|---|---|
static String |
createDatabaseNameFromCompany(String original)
Creates the database name from supplied company.
|
public static final int MAX_DB_NAME_LENGTH
public static String createDatabaseNameFromCompany(String original)
*** almost the same as CreateSafeDatabaseName ***
Some of the complex authentication code relies on certain exceptions being thrown.
throwing when the input isnull or empty is the "wrong" exception.
This function is here for legacy support, as the first changes are to support Veracode security scanning.
Logic changes should be a different ticket.
original - String used to create the database name. For example, it could be based on the name of the
company.Copyright © 2023. All rights reserved.