15.5. Error Messages

The security API produces a number of default Faces messages for various security-related events. The following table lists the message keys to specify in a message.properties resource file if you want to override the messages. To suppress a message, add the key (with an empty value) to the resource file.

Table 15.6. Security Message Keys

Message Key
Description
org.jboss.seam.loginSuccessful
This message is produced when a user successfully logs in via the security API.
org.jboss.seam.loginFailed
This message is produced when the log in process fails, either because the user provided an incorrect username or password, or because authentication failed in some other way.
org.jboss.seam.NotLoggedIn
This message is produced when a user attempts to perform an action or access a page that requires a security check, and the user is not currently authenticated.
org.jboss.seam.AlreadyLoggedIn
This message is produced when a user that is already authenticated attempts to log in again.