Package de.theit.jenkins.crowd
Class ErrorMessages
java.lang.Object
de.theit.jenkins.crowd.ErrorMessages
This class delivers localized error messages.
- Since:
- 06.09.2011
- Version:
- $Id$
- Author:
- Thorsten Heit (theit@gmx.de)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringaccountExpired(String username) Returns the localized error message when the account is inactive.static StringapplicationAccessDenied(String username) Returns the localized error message when a user does not have access to authenticate against an application.static StringReturns the localized error message when the application has no permission to perform a connection check to the Crowd server.static StringReturns the localized error message when the configuration file crowd.properties cannot be loaded.static StringexpiredCredentials(String username) Returns the localized error message when the user password has expired and must be changed.static StringgroupNotFound(String groupname) Returns the localized error message when the group was not found on the remote Crowd server.static StringReturns the localized error message text when the application name and password are not valid.static StringReturns the localized error message when the connection check failed.static StringReturns the localized error message when no application name is given.static StringReturns the localized error message when no application password is given.static StringReturns the localized error message when no URL is specified.static StringReturns the localized error message when no group name is given.static StringReturns the localized error message when no session validation interval time is given.static StringuserNotFound(String username) Returns the localized error message when the user was not found on the remote Crowd server.static StringuserNotValid(String username, List<String> groupNames) Returns the localized error message when a user does not have the permission to login.
-
Constructor Details
-
ErrorMessages
public ErrorMessages()
-
-
Method Details
-
specifyCrowdUrl
Returns the localized error message when no URL is specified.- Returns:
- The localized error message for a missing Crowd URL.
-
specifyApplicationName
Returns the localized error message when no application name is given.- Returns:
- The localized error message for a missing application name.
-
specifyApplicationPassword
Returns the localized error message when no application password is given.- Returns:
- The localized error message for a missing application password.
-
specifyGroup
Returns the localized error message when no group name is given.- Returns:
- The localized error message for a missing group name.
-
specifySessionValidationInterval
Returns the localized error message when no session validation interval time is given.- Returns:
- The localized error message for a missing session validation interval time.
-
operationFailed
Returns the localized error message when the connection check failed.- Returns:
- The localized error message for a failed connection check.
-
cannotLoadCrowdProperties
Returns the localized error message when the configuration file crowd.properties cannot be loaded.- Returns:
- The localized error message when the configuration file crowd.properties cannot be loaded.
-
invalidAuthentication
Returns the localized error message text when the application name and password are not valid.- Returns:
- The localized error message for invalid application name and password.
-
applicationPermission
Returns the localized error message when the application has no permission to perform a connection check to the Crowd server.- Returns:
- The localized error message for missing permission to perform a connection check to the Crowd server.
-
userNotFound
Returns the localized error message when the user was not found on the remote Crowd server.- Parameters:
username- The user name. May not benull.- Returns:
- The localized error message when the user was not found on the remote Crowd server.
-
groupNotFound
Returns the localized error message when the group was not found on the remote Crowd server.- Parameters:
groupname- The name of the group. May not benull.- Returns:
- The localized error message when the group was not found on the remote Crowd server.
-
expiredCredentials
Returns the localized error message when the user password has expired and must be changed.- Parameters:
username- The user name. May not benull.- Returns:
- The localized error message when the user password has expired.
-
accountExpired
Returns the localized error message when the account is inactive.- Parameters:
username- The user name. May not benull.- Returns:
- The localized error message when the account is inactive.
-
applicationAccessDenied
Returns the localized error message when a user does not have access to authenticate against an application.- Parameters:
username- The user name. May not benull.- Returns:
- The localized error message for denied application access.
-
userNotValid
Returns the localized error message when a user does not have the permission to login.- Parameters:
username- The user name. May not benull.groupNames- The names of the groups allowed to login. May not benull.- Returns:
- The localized error message when a user does not have the permission to login.
-