@MessageBundle(projectCode="JBAS")
public interface DomainManagementMessages
| Modifier and Type | Field and Description |
|---|---|
static DomainManagementMessages |
MESSAGES
The messages
|
| Modifier and Type | Method and Description |
|---|---|
String |
aboutToAddUser(String username,
String realm)
Confirmation of the user being added.
|
String |
aboutToUpdateUser(String user)
Confirmation if the current user password and roles is about to be updated.
|
String |
addedRoles(String username,
String roles,
String fileName)
Message to inform user that the new user has been added to the roles file identified.
|
String |
addedUser(String username,
String fileName)
Message to inform user that the new user has been added to the file identified.
|
IllegalArgumentException |
canNotBeNull(String name)
Creates an IllegalArgumentException indicating that a value can not be null.
|
IOException |
cannotPerformVerification(Throwable cause)
Creates an exception indicating the verification could not be performed.
|
String |
duplicateUser(String user)
The error message if the user is already in at least one file.
|
String |
enterNewUserDetails()
A message prompting the user to enter the details of the user being added.
|
String |
errorHeader()
The error message header.
|
String |
filePrompt()
Prompt for the file to update in add-users
|
String |
invalidChoiceResponse()
The error message if the choice response is invalid.
|
String |
invalidConfirmationResponse()
The error message if the confirmation response is invalid.
|
IllegalStateException |
invalidRealm(String realm,
String expectedRealm)
Creates an exception indicating the realm was invalid.
|
String |
isCorrectPrompt()
Prompt to ask user to confirm yes or no.
|
String |
jbossHomeNotSet()
A message indicating JBOSS_HOME not set.
|
OperationFailedException |
multipleAuthenticationMechanismsDefined(String realmName,
Set<String> mechanisms)
Error message if more than one username/password authentication mechanism is defined.
|
NamingException |
nameNotFound(String name)
Creates an exception indicating the referral for authentication could not be followed.
|
IllegalStateException |
noAuthenticationDefined()
Creates an exception indicating no authentication mechanism was defined in the security realm.
|
OperationFailedException |
noAuthenticationDefined(String realmName)
Creates an exception indicating no authentication mechanism was defined in the security realm.
|
IllegalStateException |
noConsoleAvailable()
Creates an exception indicating that no java.io.Console is available.
|
IOException |
noPassword()
Creates an exception indicating no password was provided.
|
String |
noPasswordExiting()
The error message if no password is entered.
|
String |
noSecurityContextEstablished()
Creates a String for use in an OperationFailedException to indicate that no security context has been established for a
call that requires one.
|
IOException |
noUsername()
Creates an exception indicating no username was provided.
|
String |
noUsernameExiting()
The error message if no username is entered.
|
IllegalArgumentException |
oneOfRequired(String attr1,
String attr2)
Creates an exception indicating that one of
attr1 or attr2 is required. |
OperationFailedException |
operationFailedOneOfRequired(String attr1,
String attr2)
Creates an exception indicating that one of
attr1 or attr2 is required. |
OperationFailedException |
operationFailedOnlyOneOfRequired(String attr1,
String attr2)
Creates an exception indicating that only one of
attr1 or attr2 is required. |
String |
passwordConfirmationPrompt()
The prompt to obtain the password confirmation from the user.
|
String |
passwordMisMatch()
The error message if the passwords do not match.
|
String |
passwordPrompt()
The prompt to obtain the password from the user.
|
String |
propertiesFileNotFound(String file)
A message indicating no mgmt-users.properties have been found.
|
UnsupportedCallbackException |
realmNotSupported(Callback callback)
Creates an exception indicating the realm is not supported.
|
String |
realmPrompt(String realm)
The prompt to obtain the realm from the user.
|
String |
rolesPrompt()
Prompt the user for the roles to add the user to
|
String |
sureToAddUser(String username)
A prompt to double check the user is really sure they want to add this user.
|
String |
unableToAddUser(String file,
String error)
The error message if adding the user to the file fails.
|
org.jboss.msc.service.StartException |
unableToLoadProperties(Throwable cause)
Creates an exception indicating the properties could not be loaded.
|
String |
unableToLoadUsers(String file,
String error)
The error message if loading the known users from file fails.
|
org.jboss.msc.service.StartException |
unableToStart(Throwable cause)
Creates an exception indicating the inability to start the service.
|
String |
unableToUpdateUser(String absolutePath,
String message)
The error message if updating user to the file fails.
|
String |
unexpectedNumberOfRealmUsers(int count)
Creates a String for use in an OperationFailedException to indicate that an unexpected number of RealmUser instances have
been found.
|
String |
updatedRoles(String username,
String roles,
String fileName)
Message to inform user that the user has been updated to the roles file identified.
|
String |
updateUser(String userName,
String canonicalPath)
Message to inform user that the user has been updated to the file identified.
|
String |
usernameEasyToGuess(String username)
Warning that the username is easy to guess.
|
String |
usernameNotAlphaNumeric()
The error message if the username is not alpha numeric
|
String |
usernamePasswordMatch()
The error message if the username and password are equal.
|
String |
usernamePrompt()
The prompt to obtain the new username from the user.
|
String |
usernamePrompt(String defaultUsername)
The prompt to obtain the new username from the user.
|
String |
userNotFound(String username)
A message indicating the user, represented by the
username parameter, was not found. |
IOException |
userNotFoundInDirectory(String username)
Creates an exception indicating the user, represented by the
username parameter, was not found in the
directory. |
static final DomainManagementMessages MESSAGES
@Message(id=15220,
value="Unable to perform verification")
IOException cannotPerformVerification(@Cause
Throwable cause)
cause - the cause of the error.IOException for the error.@Message(id=15221,
value="Invalid Realm \'%s\' expected \'%s\'")
IllegalStateException invalidRealm(String realm,
String expectedRealm)
realm - the invalid realm.expectedRealm - the expected realm.IllegalStateException for the error.@Message(id=15222,
value="Can\'t follow referral for authentication: %s")
NamingException nameNotFound(String name)
name - the invalid name.NamingException for the error.@Message(id=15223,
value="No authentication mechanism defined in security realm.")
IllegalStateException noAuthenticationDefined()
IllegalStateException for the error.@Message(id=15224,
value="No username provided.")
IOException noUsername()
IOException for the error.@Message(id=15225,
value="No password to verify.")
IOException noPassword()
IOException for the error.@Message(id=15226,
value="One of \'%s\' or \'%s\' required.")
IllegalArgumentException oneOfRequired(String attr1,
String attr2)
attr1 or attr2 is required.attr1 - the first attribute.attr2 - the second attribute.IllegalArgumentException for the error.@Message(id=15227,
value="Realm choice not currently supported.")
UnsupportedCallbackException realmNotSupported(@Param
Callback callback)
callback - the callback used to create the exception.UnsupportedCallbackException for the error.@Message(id=15228,
value="Unable to load properties")
org.jboss.msc.service.StartException unableToLoadProperties(@Cause
Throwable cause)
cause - the cause of the error.StartException for the error.@Message(id=15229,
value="Unable to start service")
org.jboss.msc.service.StartException unableToStart(@Cause
Throwable cause)
cause - the cause of the error.StartException for the error.@Message(id=15230,
value="User \'%s\' not found.")
String userNotFound(String username)
username parameter, was not found.username - the username not found.@Message(id=15231,
value="User \'%s\' not found in directory.")
IOException userNotFoundInDirectory(String username)
username parameter, was not found in the
directory.username - the username not found.IOException for the error.@Message(id=15232,
value="No java.io.Console available to interact with user.")
IllegalStateException noConsoleAvailable()
IllegalStateException for the error.@Message(id=15233,
value="JBOSS_HOME environment variable not set.")
String jbossHomeNotSet()
String for the message.@Message(id=15234,
value="No %s files found.")
String propertiesFileNotFound(String file)
String for the message.@Message(value="Enter the details of the new user to add.") String enterNewUserDetails()
String for the message.@Message(value="Realm (%s)") String realmPrompt(String realm)
realm - - the default realm.String for the message.@Message(value="Username") String usernamePrompt()
String for the message.@Message(value="Username (%s)") String usernamePrompt(String defaultUsername)
defaultUsername - - The default username if no value is entered.String for the message.@Message(id=15235,
value="No Username entered, exiting.")
String noUsernameExiting()
String for the message.@Message(value="Password") String passwordPrompt()
String for the message.@Message(id=15236,
value="No Password entered, exiting.")
String noPasswordExiting()
String for the message.@Message(value="Re-enter Password") String passwordConfirmationPrompt()
String for the message.@Message(id=15237,
value="The passwords do not match.")
String passwordMisMatch()
String for the message.@Message(id=15238,
value="Username must not match the password.")
String usernamePasswordMatch()
String for the message.@Message(id=15239,
value="Only alpha/numeric usernames accepted.")
String usernameNotAlphaNumeric()
String for the message.@Message(value="About to add user \'%s\' for realm \'%s\'") String aboutToAddUser(String username, String realm)
username - - The new username.realm - - The realm the user is being added for.String for the message.@Message(value="Is this correct yes/no?") String isCorrectPrompt()
String for the message.@Message(value="The username \'%s\' is easy to guess") String usernameEasyToGuess(String username)
username - - The new username.String for the message.@Message(value="Are you sure you want to add user \'%s\' yes/no?") String sureToAddUser(String username)
username - - The new username.String for the message.@Message(id=15240,
value="Invalid response. (Valid responses are yes, y, no, and n)")
String invalidConfirmationResponse()
String for the message.@Message(value="Added user \'%s\' to file \'%s\'") String addedUser(String username, String fileName)
username - - The new username.fileName - - The file the user has been added to.String for the message.@Message(id=15241,
value="Unable to add user to %s due to error %s")
String unableToAddUser(String file,
String error)
file - - The name of the file the add failed for.error - - The failure message.String for the message.@Message(id=15242,
value="Unable to add load users from %s due to error %s")
String unableToLoadUsers(String file,
String error)
file - - The name of the file the load failed for.error - - The failure message.String for the message.@Message(id=15243,
value="The user \'%s\' already exists in at least one properties file.")
String duplicateUser(String user)
user - - The name of the user.String for the message.@Message(value="Error") String errorHeader()
String for the message.@Message(id=15244,
value="Configuration for security realm \'%s\' includes multiple username/password based authentication mechanisms (%s). Only one is allowed")
OperationFailedException multipleAuthenticationMechanismsDefined(String realmName,
Set<String> mechanisms)
realmName - the name of the security realmmechanisms - the set of mechanisms .OperationFailedException for the error.@Message(id=15245,
value="No authentication mechanism defined in security realm \'%s\'.")
OperationFailedException noAuthenticationDefined(String realmName)
realmName - the security realm nameOperationFailedException for the error.@Message(id=15246,
value="One of \'%s\' or \'%s\' required.")
OperationFailedException operationFailedOneOfRequired(String attr1,
String attr2)
attr1 or attr2 is required.attr1 - the first attribute.attr2 - the second attribute.OperationFailedException for the error.@Message(id=15247,
value="Only one of \'%s\' or \'%s\' is required.")
OperationFailedException operationFailedOnlyOneOfRequired(String attr1,
String attr2)
attr1 or attr2 is required.attr1 - the first attribute.attr2 - the second attribute.OperationFailedException for the error.@Message(id=15248,
value="\'%s\' can not be null.")
IllegalArgumentException canNotBeNull(String name)
name - - The name of the parameter that can not be null.IllegalArgumentException for the error.@Message(id=15249,
value="No security context has been established.")
String noSecurityContextEstablished()
@Message(id=15250,
value="An unexpected number (%d) of RealmUsers are associated with the SecurityContext.")
String unexpectedNumberOfRealmUsers(int count)
count - - The number of RealmUser instances found.@Message(value="What type of user do you wish to add? %n a) Management User (mgmt-users.properties) %n b) Application User (application-users.properties)") String filePrompt()
@Message(value="What roles do you want this user to belong to? (Please enter a comma separated list, or leave blank for none)") String rolesPrompt()
@Message(value="Added user \'%s\' with roles %s to file \'%s\'") String addedRoles(String username, String roles, String fileName)
username - - The new username.roles - - The new roles.fileName - - The file the user has been added to.String for the message.@Message(id=15251,
value="Invalid response. (Valid responses are A, a, B, or b)")
String invalidChoiceResponse()
String for the message.@Message(value="User \'%s\' already exits, would you like to update the existing user password and roles") String aboutToUpdateUser(String user)
user - - The name of the user.String for the message.@Message(value="Updated user \'%s\' to file \'%s\'") String updateUser(String userName, String canonicalPath)
username - - The new username.fileName - - The file the user has been added to.String for the message.@Message(id=15254,
value="Unable to update user to %s due to error %s")
String unableToUpdateUser(String absolutePath,
String message)
file - - The name of the file the add failed for.error - - The failure message.String for the message.@Message(value="Updated user \'%s\' with roles %s to file \'%s\'") String updatedRoles(String username, String roles, String fileName)
username - - The new username.roles - - The new roles.fileName - - The file the user has been added to.String for the message.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.