You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2015/03/25 09:49:53 UTC

[jira] [Created] (OAK-2672) Possible null pointer dereferences in ExternalLoginModule

angela created OAK-2672:
---------------------------

             Summary:  Possible null pointer dereferences in ExternalLoginModule 
                 Key: OAK-2672
                 URL: https://issues.apache.org/jira/browse/OAK-2672
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: oak-auth-external
            Reporter: angela


sonar reports to following oossible null pointer dereferences in {{org.apache.jackrabbit.oak.spi.security.authentication.external.impl.ExternalLoginModule}}:

-  line 187 : {{sId = syncHandler.findIdentity(getUserManager(), userId);}}
-  line 195 : {{if (!sId.getExternalIdRef().getProviderName().equals(idp.getName()))}}
-  line 197 : {{log.debug("ignoring foreign identity: {} (idp={})", sId.getExternalIdRef().getString(), idp.getName());}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)