Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6329508

GSSName created as GSSName.NT_ANONYMOUS return isAnonymous() == false

XMLWordPrintable

    • beta
    • x86
    • solaris_9
    • Verified

      Testsuite: JCK 6.0 b08
      Test: api/org_ietf/jgss/GSSName/index.html#Ctor[CtorTest001]
      Failed: mustang b51, b52, b53 SunOS stt-26 5.9 Generic_117172-07 i86pc i386 i86pc;
      Passed: mustang b50 SunOS stt-26 5.9 Generic_117172-07 i86pc i386 i86pc;
      Description:
      In test we trying to create GSSName with different oids and check if it isAnonymous().
      And for oid == GSSName.NT_ANONYMOUS this method must return true,
          for other oids - false.
      In b50 we got GSSException: Oid "1.3.6.1.5.6.3" is not supported
      ( i.e GSSName.NT_ANONYMOUS is not supported ), but since b51 name creation for
       GSSName.NT_ANONYMOUS is successful and isAnonymous() return false for this name.


      Test output:
      Oid "null" is supported.
      isAnonymous() = false
      --------------------------------------------------
      Oid "1.3.6.1.5.6.3" is supported.
      isAnonymous() = false
      CtorTest001: Failed. GSSName.isAnonymous() returns false for GSSName.NT_ANONYMOUS

      See modified test in attach.

            weijun Weijun Wang
            dgubkin Dmitriy Gubkin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: