MDM4J with SP06 giving error java.lang.IllegalStateException
I have used successfully used MDM4J with SAP MDM (SP05)18.104.22.168.
When we migrated to MDM SP06 and if I try to run my front-end application it gives me error
java.lang.IllegalStateException: Login method has not been successfully called.
Though everything works fine if I change the connection settings to point to server with SP05 installation.
Will MDM4J alone will not work with SP06 ?
Do I need to migrate to MDM Java API's for this ?