3 Replies Latest reply on Feb 11, 2009 12:43 PM by Thiago F. Crepaldi

    Using Identity Management API with User class that has other required fields

    Leandro Hermida Newbie


      If the user-class I reference in <security:jpa-identity-store> in components.xml has other required fields that need to be set when a new user is created beyond username, passwordHash, firstName, lastName, how do I pass these to identityManager.createUser()?  Otherwise this method call fails because Hibernate Validator throws and error for other @NotNull fields.