3 Replies Latest reply on Aug 26, 2009 8:18 AM by shane.bryzak

    Seam Identity Problem with Hibernate Validation

    tony.herstell1

      Using seams cool identity management stuff:


      <security:jpa-identity-store 
              user-class="nz.co.softwarefactory.risingstars.model.User"
              role-class="nz.co.softwarefactory.risingstars.model.Role"/>




          @UserPrincipal
          @Email
          @Column(unique = true)
          private String email;



      <h:inputText id="login_username" 
         value="#{credentials.username}" required="true"
              title="#{messages.entity_user_username_tooltip}" size="70" />



      I am inside a decorator with validateAll



      <s:validateAll>
              <ui:insert name="content" />
      </s:validateAll>




      I am using email as my UserPrincipal but the Hibernate Annotation is being ignored for some reason.


      Any ideas?