// If the @UserRoles property isn't a collection of <roleClass>, then assume the relationship
// is going through a cross-reference table
if (!genType.equals(roleClass))
{
xrefClass = (Class) genType;
xrefUserProperty = new TypedBeanProperty(xrefClass, userClass);
xrefRoleProperty = new TypedBeanProperty(xrefClass, roleClass);
if (!xrefUserProperty.isSet())
{
throw new IdentityManagementException("Error configuring JpaIdentityStore - it looks like " +
"you're using a cross-reference table, however the user property cannot be determined.");