All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.apicurio.registry.utils.tests.AuthTestProfileWithLocalRoles Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
package io.apicurio.registry.utils.tests;

import io.quarkus.test.junit.QuarkusTestProfile;

import java.util.Collections;
import java.util.List;
import java.util.Map;

public class AuthTestProfileWithLocalRoles implements QuarkusTestProfile {

    @Override
    public Map getConfigOverrides() {
        return Map.of("smallrye.jwt.sign.key.location", "privateKey.jwk", "apicurio.auth.role-source",
                "application");
    }

    @Override
    public List testResources() {
        return Collections.singletonList(new TestResourceEntry(JWKSMockServer.class));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy