# Replacing cfg-bonita-authentication-impl

**URL:** <https://community.ofelia.com/t/replacing-cfg-bonita-authentication-impl/4933>\
**Category:** Q&A\
**Created:** [1 August 2014 08:27 UTC](https://community.ofelia.com/t/replacing-cfg-bonita-authentication-impl/4933 "2014-08-01T08:27:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eduardo.gonzalez\_1](https://avatars.discourse-cdn.com/v4/letter/e/e495f1/32.png) [@eduardo.gonzalez\_1](https://community.ofelia.com/u/eduardo.gonzalez_1)\
**Post date:** [1 August 2014 08:27 UTC](https://community.ofelia.com/t/replacing-cfg-bonita-authentication-impl/4933/1 "2014-08-01T08:27:54Z")

</div>

Hi,

I am trying to replace the bean defined on this configuration file to create my own authentication method. Bonita bundle starts ok, but when I am trying to log, this error is shown:

500

org.bonitasoft.engine.platform.NodeNotStartedException

Oops. Error.

On bonita console I get:

Node not started. Method ‘org.bonitasoft.engine.api.LoginAPI.login’ cannot be called until node has been started (PlatformAPI.startNode())  
Node not started. Method ‘org.bonitasoft.engine.api.LoginAPI.login’ cannot be called until node has been started (PlatformAPI.startNode())

I only replace  
``

`

		
		
	
`

with:

`

	
`

My code only override the method checkUserCredentials and return true. I have added my jar library to the server classpath. I have tryed to copy the code of AuthenticationServiceImpl from github to my implementation (with the args identityService and logger on the bean injection) and the same error happens.

Any idea?

Thanks.

---

<div class="post-metadata">

**Author:** ![eduardo.gonzalez\_1](https://avatars.discourse-cdn.com/v4/letter/e/e495f1/32.png) [@eduardo.gonzalez\_1](https://community.ofelia.com/u/eduardo.gonzalez_1)\
**Post date:** [7 August 2014 11:11 UTC](https://community.ofelia.com/t/replacing-cfg-bonita-authentication-impl/4933/2 "2014-08-07T11:11:02Z")

</div>

I put the jar in the tomcat lib and bonita does not find it, so I solved it by putting the jar on the bonita lib folder.

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/community_bonitasoft/original/2X/6/6b7b18c0478f2645369e82e009b65e3b97f2cc12.svg) [@system](https://community.ofelia.com/u/system)\
**Post date:** [4 August 2014 12:46 UTC](https://community.ofelia.com/t/replacing-cfg-bonita-authentication-impl/4933/3 "2014-08-04T12:46:08Z")

</div>

Could you check if there are exceptions in the logs, please?
