title: WSO2 BAM ESB LogEvent Authentication failed! admin
body: <p>I have some errors in the BAM console due to an Authentication situation:</p>
  
  <p>I'm trying to use logevent appender from ESB 4.8.1 to publish events to BAM 2.5.0, I have an external LDAP where my users and roles are.  I have created a role with publish events premission and assigned to an user in the primary user store.
  In the log4j.properties of the ESB I have specified the user mentioned above and the tcp url of the BAM server.
  After I start the ESB I got a message in BAM console saying the user I created is connected and a bit later I got around 20 messages as follows:</p>
  
  <p>ERROR {org.wso2.carbon.databridge.core.internal.authentication.Authenticator} - Authentication failed! admin. This user is not permitted to publish events {org.wso2.carbon.databridge.core.internal.authentication.Authenticator}
  INFO {org.wso2.carbon.databridge.core.DataBridge} - user admin connected {org.wso2.carbon.databridge.core.DataBridge}</p>
  
  <p>If I login to the BAM console and explore de Cassandra cluster in the EVENT_KS there is a column collection named log_0_ESB_yyyy_mm_dd and it has a lot of records.</p>
  
  <p>I would like to know how can I get rid of those errors in the BAM console ??</p>
  
  <p>I can give more information if needed, please let me know</p>