Emiliano,
I see the problem in the log. Seems that the screens API classes or not loaded to the screens registry at all (including login entity).
Make sure the WAR contains in WEB-INF/classes/com/demomag/openlegacy all your screens class files.
They should be in /target/classes in eclipse before running build-war (use navigator view to verify they exists).
Seems like a clean/compile/build issue.
It may happen if project -> build automatically is turned off.
OpenLegacy decides which java class packages to load to registry based on the definition in applicationContext.xml:
<bean id="screensRegistry" class="org.openlegacy.terminal.support.DefaultScreenEntitiesRegistry">
<property name="packages">
<list>
<value>com.demomag.openlegacy</value>
</list>
</property>
</bean>
2015-02-11 10:57:36,059 ERROR [http-bio-8080-exec-10] mvc.AbstractRestController - Invalid login
org.openlegacy.exceptions.RegistryException: LoginModule entity doesn't contain a login screen definition. Verify one of your screen entity classes is defined as @ScreenEntity(screenType = Login.LoginEntity.class)
at org.openlegacy.terminal.modules.login.DefaultTerminalLoginModule.login(DefaultTerminalLoginModule.java:86)
A successful API load should show in the log (example):
2015-02-11 21:06:52,381 INFO [main] support.ScreenEntityAnnotationLoader - Screen "WarehouseDetails" was added to the screen registry (apps.inventory.screens.WarehouseDetails)