IBM Support

PI18059: A SELF-ISSUED SAML TOKEN THAT INCLUDES AN X.500 LDAP ATTRIBUTE CANNOT BE CREATED

Fixes are available

8.5.5.4: WebSphere Application Server V8.5.5 Fix Pack 4
8.0.0.10: WebSphere Application Server V8.0 Fix Pack 10
7.0.0.37: WebSphere Application Server V7.0 Fix Pack 37
8.5.5.5: WebSphere Application Server V8.5.5 Fix Pack 5
8.5.5.6: WebSphere Application Server V8.5.5 Fix Pack 6
8.0.0.11: WebSphere Application Server V8.0 Fix Pack 11
8.5.5.7: WebSphere Application Server V8.5.5 Fix Pack 7
7.0.0.39: WebSphere Application Server V7.0 Fix Pack 39
8.5.5.8: WebSphere Application Server V8.5.5 Fix Pack 8
8.0.0.12: WebSphere Application Server V8.0 Fix Pack 12
8.5.5.9: WebSphere Application Server V8.5.5 Fix Pack 9
7.0.0.41: WebSphere Application Server V7.0 Fix Pack 41
8.5.5.10: WebSphere Application Server V8.5.5 Fix Pack 10
8.5.5.11: WebSphere Application Server V8.5.5 Fix Pack 11
8.0.0.13: WebSphere Application Server V8.0 Fix Pack 13
7.0.0.43: WebSphere Application Server V7.0 Fix Pack 43
8.5.5.12: WebSphere Application Server V8.5.5 Fix Pack 12
8.0.0.14: WebSphere Application Server V8.0 Fix Pack 14
8.5.5.13: WebSphere Application Server V8.5.5 Fix Pack 13
7.0.0.45: WebSphere Application Server V7.0 Fix Pack 45
8.0.0.15: WebSphere Application Server V8.0 Fix Pack 15
7.0.0.45: Java SDK 1.6 SR16 FP60 Cumulative Fix for WebSphere Application Server
7.0.0.37: Java SDK 1.6 SR16 FP3 Cumulative Fix for WebSphere Application Server
7.0.0.39: Java SDK 1.6 SR16 FP7 Cumulative Fix for WebSphere Application Server
7.0.0.41: Java SDK 1.6 SR16 FP20 Cumulative Fix for WebSphere Application Server
7.0.0.43: Java SDK 1.6 SR16 FP41 Cumulative Fix for WebSphere Application Server
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • The SAMLTokenFactory APIs cannot issue a token that contains
    an Attribute that conforms to the OASIS SAML 2.0 X.500/LDAP
    Attribute Profile.
    

Local fix

  • Apar(ifix) will be given by L3
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server users of   *
    *                  WS-Security and SAML or SAML APIs           *
    ****************************************************************
    * PROBLEM DESCRIPTION: A SAML Attribute cannot be created      *
    *                      that comforms to the OASIS SAML 2.0     *
    *                      X.500/LDAP Attribute Profile            *
    ****************************************************************
    * RECOMMENDATION:  Install a fix pack that contains this APAR  *
    ****************************************************************
    It is not possible to create a SAML token that contains
    an Attribute that conforms to the OASIS SAML 2.0 X.500/LDAP
    Attribute Profile.
    Also, if a SAMLToken object is built from XML that
    contains an X.500/LDAP Attribute, the Encoding and xsiType
    attributes on the Attribute element are lost.  This applies to
    SAML Web Single Sign On, the WS-Security SAML token consumer,
    SAMLConsumeLoginModule and the Generic Issued Token consumer
    and gerator, GenericIssuedTokenGenerateLoginModle and
    GenericIssuedTokenConsumeLoginModule.
    

Problem conclusion

  • The SAML code is updated so that an Attribute can be
    created that conforms to the OASIS SAML 2.0 X.500/LDAP
    Attribute Profile.
    
    Also, the code is updated so that, if a SAMLToken object is
    created from XML that contains an X.500/LDAP Attribute, the
    Encoding and xsiType attributes are not lost.
    
    The following APIs are added to the SAMLAttribute class:
    
      public SAMLAttribute(String name, String[]
    stringAttributeValue, OMStructure[] omAttributeValue, String
    attributeNamespace, String nameFormat,  String friendlyName,
    String encoding, String xsiType)
    
      public static SAMLAttribute
    buildSAML20LDAPStringTypeAttribute(String name, String[]
    stringAttributeValue, String friendlyName)
    
      public static SAMLAttribute
    buildSAML20LDAPBase64TypeAttribute(String name, String[]
    stringAttributeValue, String friendlyName)
    
      public void setLdapType(boolean setting)
      public boolean getLdapType()
      public void setEncoding(String encoding)
      public String getEncoding()
      public void setXsiType(String type)
      public String getXsiType()
    
    
    The following APIs are also added to the SAMLAttribute class:
    
      public SAMLAttribute(String name, String[]
    stringAttributeValue, OMStructure[] omAttributeValue, String
    attributeNamespace, String nameFormat,  String friendlyName)
    
      public static SAMLAttribute buildSAML20Attribute(String
    name, String[] stringAttributeValue, OMStructure[]
    omAttributeValue, String nameFormat,  String friendlyName)
    
      public static SAMLAttribute buildSAML11Attribute(String
    name, String[] stringAttributeValue, OMStructure[]
    omAttributeValue, String attributeNamespace)
    
      public OMStructure[] getOMAttributeValue()
    
    Refer to the javadoc for the SAMLAttribute class for
    additional information on these new methods.
    
    Refer to the following Knowledge Center articles for
    information on how to add Attributes to a SAML token:
    
    http://www-01.ibm.com/support/knowledgecenter/SSAW57_8.0.0/com.i
    bm.websphere.nd.multiplatform.doc/info/ae/ae/twbs_managesamlattr
    ibs.html
    
    http://www-01.ibm.com/support/knowledgecenter/SSAW57_8.0.0/com.i
    bm.websphere.nd.multiplatform.doc/info/ae/ae/twbs_addingattribut
    estoselfissuedSAMLtokens.html
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 7.0.0.37, 8.0.0.10, and 8.5.5.4.  Please refer to the
    Recommended Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI18059

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-05-15

  • Closed date

    2014-08-12

  • Last modified date

    2014-08-12

  • 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

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R700 PSY

       UP

  • R800 PSY

       UP

  • R850 PSY

       UP



Document information

More support for: WebSphere Application Server
General

Software version: 7.0

Reference #: PI18059

Modified date: 12 August 2014