|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.theit.jenkins.crowd.ErrorMessages
public class ErrorMessages
This class delivers localized error messages.
| Constructor Summary | |
|---|---|
ErrorMessages()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
accountExpired(java.lang.String username)
Returns the localized error message when the account is inactive. |
static java.lang.String |
applicationAccessDenied(java.lang.String username)
Returns the localized error message when a user does not have access to authenticate against an application. |
static java.lang.String |
applicationPermission()
Returns the localized error message when the application has no permission to perform a connection check to the Crowd server. |
static java.lang.String |
cannotLoadCrowdProperties()
Returns the localized error message when the configuration file crowd.properties cannot be loaded. |
static java.lang.String |
cannotValidateGroup(java.lang.String groupname)
Returns the localized error message when the specified group does not exist on the remote Crowd server or is not active. |
static java.lang.String |
expiredCredentials(java.lang.String username)
Returns the localized error message when the user password has expired and must be changed. |
static java.lang.String |
groupNotFound(java.lang.String groupname)
Returns the localized error message when the group was not found on the remote Crowd server. |
static java.lang.String |
invalidAuthentication()
Returns the localized error message text when the application name and password are not valid. |
static java.lang.String |
invalidToken()
Returns the localized error message when an invalid SSO token was found. |
static java.lang.String |
operationFailed()
Returns the localized error message when the connection check failed. |
static java.lang.String |
specifyApplicationName()
Returns the localized error message when no application name is given. |
static java.lang.String |
specifyApplicationPassword()
Returns the localized error message when no application password is given. |
static java.lang.String |
specifyCrowdUrl()
Returns the localized error message when no URL is specified. |
static java.lang.String |
specifyGroup()
Returns the localized error message when no group name is given. |
static java.lang.String |
userGroupNotFound(java.lang.String username)
Returns the localized error message when the group of users that are allowed to login into Jenkins does not exist or is not active. |
static java.lang.String |
userNotFound(java.lang.String username)
Returns the localized error message when the user was not found on the remote Crowd server. |
static java.lang.String |
userNotValid(java.lang.String username,
java.lang.String groupname)
Returns the localized error message when a user does not have the permission to login into Jenkins. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ErrorMessages()
| Method Detail |
|---|
public static java.lang.String specifyCrowdUrl()
public static java.lang.String specifyApplicationName()
public static java.lang.String specifyApplicationPassword()
public static java.lang.String specifyGroup()
public static java.lang.String operationFailed()
public static java.lang.String cannotLoadCrowdProperties()
public static java.lang.String invalidAuthentication()
public static java.lang.String applicationPermission()
public static java.lang.String userNotFound(java.lang.String username)
username - The user name. May not be null.
public static java.lang.String groupNotFound(java.lang.String groupname)
groupname - The name of the group. May not be null.
public static java.lang.String cannotValidateGroup(java.lang.String groupname)
groupname - The name of the group. May not be null.
public static java.lang.String expiredCredentials(java.lang.String username)
username - The user name. May not be null.
public static java.lang.String accountExpired(java.lang.String username)
username - The user name. May not be null.
public static java.lang.String invalidToken()
public static java.lang.String applicationAccessDenied(java.lang.String username)
username - The user name. May not be null.
public static java.lang.String userGroupNotFound(java.lang.String username)
username - The user name. May not be null.
public static java.lang.String userNotValid(java.lang.String username,
java.lang.String groupname)
username - The user name. May not be null.groupname - The name of the group. May not be null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||