AesDkCrypto.stringToKey should not return null

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 24
    • Affects Version/s: None
    • Component/s: security-libs
    • None

      When an exception occurs, null is returned. This can result in an NPE when the key is later used, making it difficult to identify the real issue. In fact, one can create a KerberosKey without any failure but its getEncoded() throws an NPE.

            Assignee:
            Weijun Wang
            Reporter:
            Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: