public class ErrorMessages extends Object
| Constructor and Description |
|---|
ErrorMessages() |
| Modifier and Type | Method and Description |
|---|---|
static String |
accountExpired(String username)
Returns the localized error message when the account is inactive.
|
static String |
applicationAccessDenied(String username)
Returns the localized error message when a user does not have access to
authenticate against an application.
|
static String |
applicationPermission()
Returns the localized error message when the application has no
permission to perform a connection check to the Crowd server.
|
static String |
cannotLoadCrowdProperties()
Returns the localized error message when the configuration file
crowd.properties cannot be loaded.
|
static String |
expiredCredentials(String username)
Returns the localized error message when the user password has expired
and must be changed.
|
static String |
groupNotFound(String groupname)
Returns the localized error message when the group was not found on the
remote Crowd server.
|
static String |
invalidAuthentication()
Returns the localized error message text when the application name and
password are not valid.
|
static String |
operationFailed()
Returns the localized error message when the connection check failed.
|
static String |
specifyApplicationName()
Returns the localized error message when no application name is given.
|
static String |
specifyApplicationPassword()
Returns the localized error message when no application password is
given.
|
static String |
specifyCrowdUrl()
Returns the localized error message when no URL is specified.
|
static String |
specifyGroup()
Returns the localized error message when no group name is given.
|
static String |
specifySessionValidationInterval()
Returns the localized error message when no session validation interval
time is given.
|
static String |
userNotFound(String username)
Returns the localized error message when the user was not found on the
remote Crowd server.
|
static String |
userNotValid(String username,
Collection<String> groupNames)
Returns the localized error message when a user does not have the
permission to login.
|
public static String specifyCrowdUrl()
public static String specifyApplicationName()
public static String specifyApplicationPassword()
public static String specifyGroup()
public static String specifySessionValidationInterval()
public static String operationFailed()
public static String cannotLoadCrowdProperties()
public static String invalidAuthentication()
public static String applicationPermission()
public static String userNotFound(String username)
username - The user name. May not be null.public static String groupNotFound(String groupname)
groupname - The name of the group. May not be null.public static String expiredCredentials(String username)
username - The user name. May not be null.public static String accountExpired(String username)
username - The user name. May not be null.public static String applicationAccessDenied(String username)
username - The user name. May not be null.public static String userNotValid(String username, Collection<String> groupNames)
username - The user name. May not be null.groupNames - The names of the groups allowed to login. May not be
null.Copyright © 2004-2014 Hudson. All Rights Reserved.