glassfish
  1. glassfish
  2. GLASSFISH-2864

Support InitialContext Security Credentials and Prinicpals

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 9.1pe
    • Fix Version/s: not determined
    • Component/s: security
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      2,864

      Description

      Many users are used to provide login information for standalone clients this way
      on other appservers (like JBoss):

      Properties props = new Properties();
      props.setProperty(InitialContext.SECURITY_PRINCIPAL, "x");
      props.setProperty(InitialContext.SECURITY_CREDENTIALS, "y");
      InitialContext ic = new InitialContext(props);

      On GlassFish they have to use the proprietary ProgrammaticLogin class which
      makes code non portable and causes questions on migrations to glassfish.

      Therefore this RFE asks for support for InitialContext principal/credential
      properties support like in the snippet above.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            raharsha
            Reporter:
            barz26
          • Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: