open the Navigation.plist for the new app and add "Login,Logout” to your root children
You should now have a basic project with authentication built in. If you want to customize the ERUser class in some way, then you can create a new Wonder framework, create your model, add my eogen templates to it, and then subclass ERUser with your own User EO
and add a rule to your own user framework
100 : *true* => userEntity = “MyUser" [com.webobjects.directtoweb.EntityAssignment]
This way you can customize the user class and add whatever additional relationships you may need. Be aware that if you add any mandatory fields/relationships, you must set them in your user's init() method or fix the user creation process yourself.
ERROR (ERXJDBCConnectionAnalyzer.java:94) - JDBC Connection Analysis: Missing plugin or driver.
WARN (ERXNSLogLog4jBridge.java:44) - <WOWorkerThread id=12 socket=Socket[addr=/127.0.0.1,port=36785,localport=53162]> Exception occurred while responding to client: java.lang.IllegalStateException: _obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext com.webobjects.eoaccess.EODatabaseContext@a77b84: failed to open database channel. Check your connection dictionary, and ensure your database is correctly configured. [2015-3-26 13:24:56 GMT] <WorkerThread12> java.lang.IllegalStateException: _obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext com.webobjects.eoaccess.EODatabaseContext@a77b84: failed to open database channel. Check your connection dictionary, and ensure your database is correctly configured.
at com.webobjects.eoaccess.EODatabaseContext._obtainOpenChannel(EODatabaseContext.java:1967)
at com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3054)
at com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(EODatabaseContext.java:3195)
at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:488)
at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4069)
at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1308)
at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4444)
at com.webobjects.eoaccess.EOUtilities.objectsMatchingValues(EOUtilities.java:216)
at com.webobjects.eoaccess.EOUtilities.objectsMatchingKeyAndValue(EOUtilities.java:190)
at er.extensions.eof.EOEnterpriseObjectClazz.objectsMatchingKeyAndValue(EOEnterpriseObjectClazz.java:350)
at er.extensions.eof.EOEnterpriseObjectClazz.objectMatchingKeyAndValue(EOEnterpriseObjectClazz.java:375)
at er.persistentsessionstorage.ERPersistentSessionStore.saveSessionForContext(ERPersistentSessionStore.java:39)
at com.webobjects.appserver.WOSessionStore.checkInSessionForContext(WOSessionStore.java:234)
at com.webobjects.appserver.WOApplication.saveSessionForContext(WOApplication.java:1892)
at er.extensions.appserver.ERXApplication.saveSessionForContext(ERXApplication.java:2399)
at com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:328)
at com.webobjects.appserver._private.WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:158)
at er.extensions.appserver.ERXDirectActionRequestHandler.handleRequest(ERXDirectActionRequestHandler.java:128)
at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
at er.extensions.appserver.ERXApplication.dispatchRequestImmediately(ERXApplication.java:2127)
at er.extensions.appserver.ERXApplication.dispatchRequest(ERXApplication.java:2092)
at com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
at java.lang.Thread.run(Thread.java:745)
Thanks you very much and best regards.