Description:
|
The following configuration should be valid and can not throw any validation exception:
{code:java} @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()); } {code}
Currently, a validation is thrown if the first store is supporting attributes and the second not.
But
However, if
you invert the stores the configuration is valid.
|