Refactoring to the point where the code should work.

git-svn-id: https://svn.forgerock.org/openam@4061 0f4defcf-c51a-4c67-9f44-6fb5eba73c5d
Working version of the refined concept

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

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

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