When deploying aerogear-security-picketbox the following deployment error is displayed:
SimpleJPAIdentityStore uses a JPATemplate instance which can be configured with an EntityManager. PicketBoxLoadUsers tries to set the EntityManager that this JPATemplate should us by calling from its create method:
I think the problem here is that the above call as no effect, as we configure the JPATemplete that should be in use in PicketBoxConfigurer:
If the JPATemplate has not been set, for example by removing the above lines of code, JPAIdentityManagerConfiguration will use the one set by the call to JPAIdentityStoreContext and the EntityManager will be non-null.
Note that this error is only seen after the fix for AEROGEAR-729 has been applied.
|