OPENAM-3425 CR-3173 Casting the mail server implementation to its interface type will resolve possible class cast exceptions.

git-svn-id: https://svn.forgerock.org/openam/trunk/openam@8360 0f4defcf-c51a-4c67-9f44-6fb5eba73c5d
OPENAM-2961 CR-3168 Updated the Forgotten Password exception handling to return 500 instead of 404.

git-svn-id: https://svn.forgerock.org/openam/trunk/openam@8363 0f4defcf-c51a-4c67-9f44-6fb5eba73c5d
OPENAM-2961 CR-3168 Resolved a merge conflict.

git-svn-id: https://svn.forgerock.org/openam/trunk/openam@8364 0f4defcf-c51a-4c67-9f44-6fb5eba73c5d
AME-2801 / CR-3194 XUI - Self Registration: Display appropriate message if the Forgotten password request fails to send due to no email being configured in the console.

git-svn-id: https://svn.forgerock.org/openam/trunk/openam@8369 0f4defcf-c51a-4c67-9f44-6fb5eba73c5d
Fix for OPENAM-3694
Updating Restlet to 2.1.7

git-svn-id: https://svn.forgerock.org/openam/trunk/openam@8374 0f4defcf-c51a-4c67-9f44-6fb5eba73c5d
Updating DJ SDK to 2.6.8

git-svn-id: https://svn.forgerock.org/openam/trunk/openam@8375 0f4defcf-c51a-4c67-9f44-6fb5eba73c5d
Fix for OPENAM-3402 - review: FR-118

git-svn-id: https://svn.forgerock.org/openam/trunk/openam@8376 0f4defcf-c51a-4c67-9f44-6fb5eba73c5d