com.hubspot.singularity.auth.datastore.SingularityDisabledAuthDatastore Maven / Gradle / Ivy
package com.hubspot.singularity.auth.datastore;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import com.hubspot.singularity.SingularityUser;
import java.util.Optional;
@Singleton
public class SingularityDisabledAuthDatastore implements SingularityAuthDatastore {
@Inject
public SingularityDisabledAuthDatastore() {}
@Override
public Optional getUser(String username) {
return Optional.empty();
}
@Override
public Optional isHealthy() {
return Optional.empty();
}
}