private final PrincipalProvider principalProvider;
public LoginContextProviderImpl(ContentRepository repository) {
// TODO: use configurable authentication config and principal provider
authConfig = new ConfigurationImpl();
principalProvider = new KernelPrincipalProvider();
}