import java.util.HashMap;
import java.util.Map;
import org.apache.catalina.realm.GenericPrincipal;
import org.apache.catalina.realm.RealmBase;
public final class InMemoryRealm extends RealmBase {
<BUG>public static final String NAME = "Oryx";
public static final String AUTH_ROLE = "oryx-user";
private final Map<String, GenericPrincipal> principals = new HashMap<>();</BUG>
@Override
public Principal authenticate(String username, String credentials) {

import java.util.HashMap;
import java.util.Map;
import org.apache.catalina.realm.GenericPrincipal;
import org.apache.catalina.realm.RealmBase;
public final class InMemoryRealm extends RealmBase {
static final String NAME = "Oryx";
static final String AUTH_ROLE = "oryx-user";
private final Map<String, GenericPrincipal> principals = new HashMap<>();
@Override
public Principal authenticate(String username, String credentials) {
