CR-1161 Fix for OPENAM-2082 : forgerock-rest realm endpoint available to non-admin user. Applying fix to trunk.

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