Product Documentation

In SKSO, it is possible to enhance the user experience by customizing specific error messages to provide more helpful and targeted information in the event of a particular error during regular operation. To customize a specific message, include the desired custom message with the appropriate key in the skso-messages.properties file, which can be found at the location /usr/local/strongauth/skso/etc/. 

 

For instance, let's say one wants to personalize the message associated with the code SKSO-WS-ERR-1000 and convey a tailor-made statement like "An error has occurred. Please contact the help desk at 1800-100-HELP." In such a scenario, simply include the subsequent line into the skso-messages.properties file:

SKSO-WS-ERR-1000=An error has occurred. Please contact the help desk at 1800-100-HELP

 

For each additional custom message, add a new line in the file. The following is a comprehensive list of the message codes and corresponding messages that can be customized. 

 

StrongKey SignOn Messages

Message Code

SKSO-WS-ERR-1000

Message

SKSO-WS-ERR-1000: An unexpected error occurred. Please check server logs for details.

Property

SKSO-WS-ERR-1001

Default Value

SKSO-WS-ERR-1001: An account with this username already exists.

Message Code

SKSO-WS-ERR-1002

Message

SKSO-WS-ERR-1002: An account with this username does not exist.

Property

SKSO-WS-ERR-1003

Default Value

SKSO-WS-ERR-1003: The session timed out.

Message Code

SKSO-WS-ERR-1004

Message

SKSO-WS-ERR-1004: The user is unauthorized to perform this action.

Property

SKSO-WS-ERR-1005

Default Value

SKSO-WS-ERR-1005: An account with email already exists. Please use a different email.

Message Code

SKSO-WS-ERR-1006

Message

SKSO-WS-ERR-1006: The registration link is invalid, please try again.

Property

SKSO-WS-ERR-1007

Default Value

SKSO-WS-ERR-1007: Unauthorized authenticator used. Please try using a valid one.

Message Code

SKSO-WS-ERR-1008

Message

SKSO-WS-ERR-1008: Username cannot be empty

Property

SKSO-WS-ERR-1009

Default Value

SKSO-WS-ERR-1009: New registrations are not allowed

Message Code

SKSO-WS-ERR-1010

Message

SKSO-WS-ERR-1010: Not authorized to register

Property

SKSO-WS-ERR-1011

Default Value

SKSO-WS-ERR-1011: Authentication failed, please check your username or password