NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{toc}


h2. Overview
{graphviz}
A->B
{graphviz}

h3. 


h3. Changes to Application

...


* Add CommonsGridLoginModule to JAAS login module (security-config.xml

...

) 
** (!) requires {{nci-commons-core}} version 1.2.4 or greater see [http://maven.5amsolutions.com/archiva/browse/com.fiveamsolutions/nci-commons-core]
** (!) requires {{jbosssx.jar}} as dependency to handle encryption of pre-shared key
{code:xml}
<login-module code="com.fiveamsolutions.nci.commons.authentication.CommonsGridLoginModule" flag="optional">
    <module-option name="gridServicePrincipal">${gridServicePrincipal}</module-option>
    <module-option name="gridServiceCredential">${gridServiceCredential}</module-option>
    <module-option name="gridServicePrincipalSeparator">||</module-option>
</login-module>

...

{code}
** Define gridServicePrincipal & gridServiceCredential properties within appropriate properties file so that the login module configuration file is properly configured as a part of the build and deployment process for your application
{code}
        <gridServicePrincipal>Gr1DU5er</gridServicePrincipal>
        <gridServiceCredential>ltHZmZ1rqYq8j2uyHEABIQ==</gridServiceCredential>

...

Changes to Grid Instance

...

{code}
* 

h3. Changes to Grid Instance
* Use GridSecurityJNDIServiceLocator instead of standard JNDIServiceLocator, replace existing occurrences with new GridSecurityJNDIServiceLocator 
* Add Service Property to PAServices content, gridServicePrincipalSeparator w/ default value ||
* 


h3. Changes to build-pa (bda scripts)