return UserDependentFeature.class;
}
@Override
public StateRepository getStateRepository() {
InMemoryStateRepository repository = new InMemoryStateRepository();
repository.setFeatureState(new FeatureState(UserDependentFeature.DISABLED, false));
repository.setFeatureState(new FeatureState(UserDependentFeature.ENABLED_FOR_ALL, true));
repository.setFeatureState(new FeatureState(UserDependentFeature.ENABLED_FOR_CK, true)
.setStrategyId(UsernameActivationStrategy.ID)
.setParameter(UsernameActivationStrategy.PARAM_USERS, "ck"));
return repository;
}