IBM Support

IJ53097: FAILED TO LOGIN FOR KERBEROS AP_REQ TOKEN GENERATION DUE TO EXCEPTION JAVA.LANG.NOSUCHMETHODERROR: COM/IBM/SECURITY/KRB5/CREDENT

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: java.lang.NoSuchMethodError Credentials.
    <init>
    .
    Stack Trace: Failed to login for Kerberos AP_REQ token
    generation due to exception java.lang.NoSuchMethodError:
    
    com/ibm/security/krb5/Credentials.<init>(<OSB>BLjava/lang/String
    ;Ljava/lang/String;<OSB>BI<OSB>ZLjava/util/Date;Ljava/util/Date;
    Ljava/util/Date;Ljava/util/Date;<OSB>Ljava/net/InetAddress;)
                        called from class
    com.ibm.security.krb5.wss.KerberosTokenGenerator
                        at
    com.ibm.security.krb5.wss.KerberosTokenGenerator.getClientCreden
    tials(Unknown Source)
                        at
    com.ibm.security.krb5.wss.KerberosTokenGenerator.invoke(Unknown
    Source)
                        at
    com.ibm.ws.wssecurity.wssapi.token.impl.KRBGenerateLoginModule.c
    allKerberosTokenGenerator(KRBGenerateLoginModule.java:1273)
                        at
    com.ibm.ws.wssecurity.wssapi.token.impl.KRBGenerateLoginModule.l
    ogin(KRBGenerateLoginModule.java:959)
    .
    

Local fix

Problem summary

  • The problem occurs when attempting authenticate to a web service
                using IBM Kerberos Token Profile (IBMKTP) using a
    version of
                ibmjgssprovider.jar which does not include the
    required Credentials
                constructor.
    

Problem conclusion

  • A fix is made to ibmjgssprovider.jar
                The required constructor for Credentials has been
    added.
                The associated Hursley RTC Problem Report is 151981
                The associated Austin GIT defect is IBMJGSS#106
                The associated Austin APAR is IJ53064
                JVMs affected: Java 8.0
                The fix was delivered for Java 8 SR8 FP40
                The affected jar is "ibmjgssprovider.jar"
                The build level of this jar for the affected release
    is build_20241113--195
    
    .
    This APAR will be fixed in the following Releases:
    .
    IBM Semeru Runtimes
    IBM SDK, Java Technology Edition
       8    SR8 FP40  (8.0.8.40)
    .
    Downloads and supplementary documentation can be found at the
    following locations:
    - For non z/OS operating systems:
      - IBM Semeru Runtimes, Version 11 and later
        https://www.ibm.com/semeru-runtimes/downloads/
      - IBM SDK, Java Technology Edition, Version 8
        https://www.ibm.com/support/pages/java-sdk-downloads/
    - For the z/OS operating system:
      - Java SDK Products on z/OS
        https://www.ibm.com/support/pages/java-sdk-products-zos
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ53097

  • Reported component name

    SECURITY

  • Reported component ID

    620700125

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-11-22

  • Closed date

    2024-11-22

  • Last modified date

    2024-11-22

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    SECURITY

  • Fixed component ID

    620700125

Applicable component levels

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"270","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
22 November 2024