2 Replies Latest reply on Jan 1, 2012 8:03 PM by Shane Bryzak

    Seam 3 Security: datamodel compatible with JpaIdentityStore?

    Karsten Wutzke Expert


      I'm ready to try out Seam 3 Security for one of my projects now, but I have doubts that it can be done. Here's the DB model at hand:


      Pay special attention to the separate Groups and Users tables, which is nothing special actually. When looking at the docs I can only see a config property in the HTML table for

      identityClass - Entity class that contains identity objects such as users and groups

      Is this compatible with the above model? I can't see how this beans.xml ought to be working:

      <?xml version="1.0"?>
      <beans ...
             xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://jboss.org/schema/cdi/beans_1_0.xsd">
          <s:replaces />

      I wonder why the config option identityClass hasn't been separated into userClass and groupClass...

      So, can it be done?