glassfish
  1. glassfish
  2. GLASSFISH-19290

Support passoword-aliasing for ra.xml configuration

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0_b68_EE7MS3
    • Component/s: jca
    • Labels:
      None

      Description

      Java EE 7 Umbrella specification introduces password aliasing capability and the guideline has been to identify the "password" related attributes or properties in respective component specification's descriptor.

      For Connector's descriptor (ra.xml), following features can be done :
      1) Make "config-property-confidential" properties "password-aliasable" by default.
      2) Consider the standard config-property "Password" as "password-aliasable" by default.

      Reference : EE.3.7 of the Java EE 7 platform spec

        Activity

        Hide
        Sivakumar Thyagarajan added a comment - - edited

        The Connector EG is discussing this as http://java.net/jira/browse/CONNECTOR_SPEC-2

        Show
        Sivakumar Thyagarajan added a comment - - edited The Connector EG is discussing this as http://java.net/jira/browse/CONNECTOR_SPEC-2
        Hide
        Jagadish added a comment -

        FIX INFORMATION :

        svn log -v -r 57589
        ------------------------------------------------------------------------
        r57589 | jr158900 | 2012-12-16 22:33:02 +0530 (Sun, 16 Dec 2012) | 8 lines
        Changed paths:
        M /trunk/main/appserver/deployment/dol/src/main/java/com/sun/enterprise/deployment/ConnectorConfigProperty.java

        GLASSFISH-19290 : Support password-aliasing for ra.xml configuration.
        Any resource-adapter descriptor's config-property when marked as "confidential"
        can be aliased. Adding support to de-alias all the confidential properties specified
        via config-property.

        Show
        Jagadish added a comment - FIX INFORMATION : svn log -v -r 57589 ------------------------------------------------------------------------ r57589 | jr158900 | 2012-12-16 22:33:02 +0530 (Sun, 16 Dec 2012) | 8 lines Changed paths: M /trunk/main/appserver/deployment/dol/src/main/java/com/sun/enterprise/deployment/ConnectorConfigProperty.java GLASSFISH-19290 : Support password-aliasing for ra.xml configuration. Any resource-adapter descriptor's config-property when marked as "confidential" can be aliased. Adding support to de-alias all the confidential properties specified via config-property.
        Hide
        Jagadish added a comment -

        Test cases are added that use "password-alias" for ra.xml config-properties
        eg: <adminobject>, <connection-factory>, <resource-adapter>.

        svn log -v -r 57594
        ------------------------------------------------------------------------
        r57594 | jr158900 | 2012-12-17 16:07:14 +0530 (Mon, 17 Dec 2012) | 5 lines
        Changed paths:
        A /trunk/v2/appserv-tests/devtests/connector/v3/annotation-embeddedweb/aliaspassword.txt
        M /trunk/v2/appserv-tests/devtests/connector/v3/annotation-embeddedweb/build.xml
        M /trunk/v2/appserv-tests/devtests/connector/v3/annotation-embeddedweb/ra/src/com/sun/jdbcra/spi/1.4/ResourceAdapter.java
        M /trunk/v2/appserv-tests/devtests/connector/v3/annotation-embeddedweb/ra/src/com/sun/jdbcra/spi/DSManagedConnectionFactory.java
        Adding test for password aliasing config properties
        of <resource-adapter> and <connection-factory>

        svn log -v -r 57595
        ------------------------------------------------------------------------
        r57595 | jr158900 | 2012-12-17 16:11:47 +0530 (Mon, 17 Dec 2012) | 5 lines
        Changed paths:
        A /trunk/v2/appserv-tests/devtests/connector/v3/connector1.6/aliaspassword.txt
        M /trunk/v2/appserv-tests/devtests/connector/v3/connector1.6/build.xml
        M /trunk/v2/appserv-tests/devtests/connector/v3/connector1.6/ra/META-INF/ra.xml
        M /trunk/v2/appserv-tests/devtests/connector/v3/connector1.6/ra/src/connector/MyAdminObject.java
        Adding test for password aliasing config properties
        of <adminobject>

        Show
        Jagadish added a comment - Test cases are added that use "password-alias" for ra.xml config-properties eg: <adminobject>, <connection-factory>, <resource-adapter>. svn log -v -r 57594 ------------------------------------------------------------------------ r57594 | jr158900 | 2012-12-17 16:07:14 +0530 (Mon, 17 Dec 2012) | 5 lines Changed paths: A /trunk/v2/appserv-tests/devtests/connector/v3/annotation-embeddedweb/aliaspassword.txt M /trunk/v2/appserv-tests/devtests/connector/v3/annotation-embeddedweb/build.xml M /trunk/v2/appserv-tests/devtests/connector/v3/annotation-embeddedweb/ra/src/com/sun/jdbcra/spi/1.4/ResourceAdapter.java M /trunk/v2/appserv-tests/devtests/connector/v3/annotation-embeddedweb/ra/src/com/sun/jdbcra/spi/DSManagedConnectionFactory.java Adding test for password aliasing config properties of <resource-adapter> and <connection-factory> svn log -v -r 57595 ------------------------------------------------------------------------ r57595 | jr158900 | 2012-12-17 16:11:47 +0530 (Mon, 17 Dec 2012) | 5 lines Changed paths: A /trunk/v2/appserv-tests/devtests/connector/v3/connector1.6/aliaspassword.txt M /trunk/v2/appserv-tests/devtests/connector/v3/connector1.6/build.xml M /trunk/v2/appserv-tests/devtests/connector/v3/connector1.6/ra/META-INF/ra.xml M /trunk/v2/appserv-tests/devtests/connector/v3/connector1.6/ra/src/connector/MyAdminObject.java Adding test for password aliasing config properties of <adminobject>

          People

          • Assignee:
            Jagadish
            Reporter:
            Jagadish
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: