Search in sources :

Example 6 with DefaultSyncConfig

use of org.apache.jackrabbit.oak.spi.security.authentication.external.basic.DefaultSyncConfig in project jackrabbit-oak by apache.

the class AbstractPrincipalTest method createSyncConfig.

@Override
protected DefaultSyncConfig createSyncConfig() {
    DefaultSyncConfig config = super.createSyncConfig();
    DefaultSyncConfig.User u = config.user();
    u.setDynamicMembership(true);
    return config;
}
Also used : DefaultSyncConfig(org.apache.jackrabbit.oak.spi.security.authentication.external.basic.DefaultSyncConfig)

Example 7 with DefaultSyncConfig

use of org.apache.jackrabbit.oak.spi.security.authentication.external.basic.DefaultSyncConfig in project jackrabbit-oak by apache.

the class DynamicSyncContextTest method createSyncConfig.

@Override
protected DefaultSyncConfig createSyncConfig() {
    DefaultSyncConfig sc = super.createSyncConfig();
    sc.user().setDynamicMembership(true);
    return sc;
}
Also used : DefaultSyncConfig(org.apache.jackrabbit.oak.spi.security.authentication.external.basic.DefaultSyncConfig)

Example 8 with DefaultSyncConfig

use of org.apache.jackrabbit.oak.spi.security.authentication.external.basic.DefaultSyncConfig in project jackrabbit-oak by apache.

the class PrincipalProviderDeepNestingTest method createSyncConfig.

@Override
protected DefaultSyncConfig createSyncConfig() {
    DefaultSyncConfig sc = super.createSyncConfig();
    sc.user().setMembershipNestingDepth(Long.MAX_VALUE);
    return sc;
}
Also used : DefaultSyncConfig(org.apache.jackrabbit.oak.spi.security.authentication.external.basic.DefaultSyncConfig)

Aggregations

DefaultSyncConfig (org.apache.jackrabbit.oak.spi.security.authentication.external.basic.DefaultSyncConfig)8 HashMap (java.util.HashMap)1 DefaultSyncHandler (org.apache.jackrabbit.oak.spi.security.authentication.external.impl.DefaultSyncHandler)1