SAP Knowledge Base Article - Preview

3198262 - How to remove SAML2LoginModule associated error messages in defaultTrace when authentication is executed against the policy configuration service.naming

Symptom

Find many SAML2LoginModule associated error messages in defaultTrace like following.
-----------------------------------------------------------------------
#Error#com.sap.security.saml2.sp.SAML2LoginModule#
...
[EXCEPTION]
java.lang.NullPointerException: while trying to invoke the method java.lang.Boolean.booleanValue() of a null object loaded from local variable 'isSecure'
 at com.sap.security.saml2.sp.SAML2LoginModuleUtil.isRequestSecure(SAML2LoginModuleUtil.java:200)
-----------------------------------------------------------------------

And if collect the TSHW trace or security.log, can find the authentication is executed against the policy configuration 'service.naming' as same time as the time stamp of the error message in defaultTrace. The authentication detail shows SAML2LoginModule is used like following.
-----------------------------------------------------------------------
Authentication Stack: service.naming
Login Module    
...
com.sap.security.saml2.sp.SAML2LoginModule
...
-----------------------------------------------------------------------

Please note
1. TSHW trace can be collected as SAP note 1332726 - Troubleshooting Wizard (Using case "Authentication")
2. security.log can be found in path /usr/sap/<sid>/<INSTANCE id>/j2ee/cluster/serverX/log/system


Read more...

Environment

NetWeaver AS Java

Product

SAP NetWeaver Application Server for Java all versions

Keywords

KBA , BC-JAS-ADM-LOG , Logging , BC-JAS-SEC , Security, User Management , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.