glassfish
  1. glassfish
  2. GLASSFISH-17263

GUI should give appropriate access denied msg

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.1.2_b13
    • Component/s: admin_gui
    • Labels:
      None

      Description

      secure admin needs to be enabled to allow user to use the Admin Console remotely.
      The enforcement is checked in since in r49138 trunk, r49145 branch.
      However, when access is denied, console always shows login error. Without differentiating whether it is login error or access denied.

      In AdminConsoleAuthModule,
      we should be able to distinguish the response by calling restResp.getResponseCode(). If it is 401, need to display a login page. If it is 403, let user know that remote access is denied.

        Activity

        Anissa Lam created issue -
        scatari made changes -
        Field Original Value New Value
        Description
        secure admin needs to be enabled to allow user to use the Admin Console remotely.
        The enforcement is checked in since in r49138 trunk, r49145 branch.
        However, when access is denied, console always shows login error. Without differentiating whether it is login error or access denied.

        In AdminConsoleAuthModule,
        we should be able to distinguish the response by calling restResp.getResponseCode(). If it is 401, need to display a login page. If it is 403, let user know that remote access is denied.
        secure admin needs to be enabled to allow user to use the Admin Console remotely.
        The enforcement is checked in since in r49138 trunk, r49145 branch.
        However, when access is denied, console always shows login error. Without differentiating whether it is login error or access denied.

        In AdminConsoleAuthModule,
        we should be able to distinguish the response by calling restResp.getResponseCode(). If it is 401, need to display a login page. If it is 403, let user know that remote access is denied.
        Tags 3_1_2-review
        Anissa Lam made changes -
        Assignee Anissa Lam [ anilam ] Jason Lee [ jdlee ]
        Jason Lee made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 3.1.2_b13 [ 15327 ]
        Fix Version/s 3.1.2 [ 15100 ]
        Resolution Fixed [ 1 ]
        shaline made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Tags 3_1_2-review 3_1_2-review 3_1_2-verified

          People

          • Assignee:
            Jason Lee
            Reporter:
            Anissa Lam
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: