IBM Support

PI56919: ILLEGALARGUMENTEXCEPTION: COM.IBM.WS.SECURITY.SAF.SAFEXCEPTION: CWWKS2910E: SAF SERVICE IRRSIA00_CREATE DID NOT SUCCEED.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Authorization for web app fails due to
    java.lang.IllegalArgumentException:
    com.ibm.ws.security.saf.SAFException: CWWKS2910E: SAF
    service
    IRRSIA00_CREATE did not succeed.
    SAFAuthorizationService.isEveryoneGranted is unable to
    create a
    SAF credential (via initACEE) for the unauthenticated user
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile for z/OS             *
    ****************************************************************
    * PROBLEM DESCRIPTION: IllegalArgumentException / SAFException *
    *                      CWWKS2910E IRRSIA00_CREATE error causes *
    *                      login failure                           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A user login attempt fails due to an IllegalArgumentException,
    caused by a SAFException.  The SAFException has a message
    similar to the following:
    
    CWWKS2910E: SAF service IRRSIA00_CREATE did not succeed. SAF
    return code 0x00000008. RACF return code 0x00000008. RACF reason
    code 0x00000020. Internal error code 0x00000006.
    
    The SAFException is caused by a failure to build a SAF ACEE (via
    native service IRRSIA00 / initACEE) for the unauthenticated
    user.
    
    One scenario where this can happen is if:
    (a) the SAF APPL class is activated, and
    (b) the unauthenticated user is not permitted to authenticate to
    the APPL
    
    Regardless of the unauthenticated user's permissions, the
    failure to create an ACEE for the unauthenticated user should
    not cause the user login to fail.
    

Problem conclusion

  • The code was updated to catch and suppress the
    IllegalArgumentException / SAFException caused by the failure to
    create an ACEE for the unauthenticated user.  This allows the
    user login to proceed normally.  It is a valid Liberty
    configuration for the unauthenticated user to not be permitted
    to create an ACEE for itself.
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 16.0.0.2.  Please refer to the Recommended Updates page for
    delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

  • One scenario where this can happen is if:
    (a) the SAF APPL class is activated, and
    (b) the unauthenticated user is not permitted to authenticate to
    the APPL
    
    To workaround, you can either:
    (a) deactivate the SAF APPL class, or
    (b) grant the unauthenticated user permission to authenticate to
    the APPL
    
    In order to be authenticated to the APPL, the unauthenticated
    user must be granted READ permission to the "<profilePrefix>"
    profile in the APPL class.
    
    The <profilePrefix> is configured in Liberty via <safCredentials
    profilePrefix="xx" />.  The default is "BBGZDFLT".
    
    The unauthenticated user is configured via <safCredentials
    unauthenticatedUser="xx">.  The default is "WSGUEST".
    

Comments

APAR Information

  • APAR number

    PI56919

  • Reported component name

    LIBERTY PROF -

  • Reported component ID

    5655W6514

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-02-09

  • Closed date

    2016-02-25

  • Last modified date

    2016-06-13

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

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

    PI56967

Fix information

  • Fixed component name

    LIBERTY PROF -

  • Fixed component ID

    5655W6514

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU011","label":"Systems - zSystems software"},"Product":{"code":"SG19M"},"Platform":[{"code":"PF054","label":"z/OS"}],"Version":"850"}]

Document Information

Modified date:
17 June 2021