Hello,
today the JpaIdentityStore class queries the user, role, entity with the full package class name:
"select u from " + userClass.getName() + " u where u." + userPrincipalProperty.getName() + " = :username")
Is there any chance, this could be changed to get the class's simple name ?
""select u from " + userClass.getSimpleName() + " u where u." + userPrincipalProperty.getName() + " = :username")"
This would help using another persistence provider (eclipselink for example) when using seam's security.
Thanks a lot.
Sincerely,
John
you can override the JpaIdentityStore and override this method where the query is.
Greetz Marco