The following configuration should be valid and can not throw any validation exception:
@Test public void testMultipleIdentityStoreWithValidCredentialSupport() { IdentityConfigurationBuilder builder = new IdentityConfigurationBuilder(); builder .named("default") .stores() .file() .supportCredentials(true) .supportType(Partition.class) .supportType(IdentityType.class) .jpa() .supportCredentials(false) .supportType(Relationship.class); new DefaultPartitionManager(builder.buildAll()); }