1 Reply Latest reply on Feb 17, 2012 1:02 PM by lightguard

    JpaIdentityStore with entity @Inheritance(strategy=InheritanceType.JOINED) fail

    tehackio

      Enviroment: Seam 3.1 with jboss 7.1

       

      My "@IdentityEntity(EntityType.IDENTITY_OBJECT)" (user.java) has @Inheritance(strategy=InheritanceType.JOINED) annotation. Then, client.java extends user.java and has annotation @PrimaryKeyJoinColumn.

      The problem happens on logon. JpaIdentityStore.java catch client.java for validations and fails.

       

      12:05:07,682 ERROR [stderr] (http--127.0.0.1-8080-1) Caused by: org.picketlink.idm.common.exception.IdentityException: Error initializing JpaIdentityStore - no credential identity property found.

      12:05:07,690 ERROR [stderr] (http--127.0.0.1-8080-1)           at org.jboss.seam.security.management.picketlink.JpaIdentityStore.configureCredentials(JpaIdentityStore.java:514)

      12:05:07,690 ERROR [stderr] (http--127.0.0.1-8080-1)           at org.jboss.seam.security.management.picketlink.JpaIdentityStore.bootstrap(JpaIdentityStore.java:324)

      12:05:07,690 ERROR [stderr] (http--127.0.0.1-8080-1)           at org.picketlink.idm.impl.configuration.IdentityConfigurationImpl.createRealmMap(IdentityConfigurationImpl.java:192)

      12:05:07,692 ERROR [stderr] (http--127.0.0.1-8080-1)           at org.picketlink.idm.impl.configuration.IdentityConfigurationImpl.buildIdentitySessionFactory(IdentityConfigurationImpl.java:147)

      12:05:07,693 ERROR [stderr] (http--127.0.0.1-8080-1)           ... 73 more