Commit 767a833e authored by michael.simon's avatar michael.simon
Browse files

empty certs controller

not yet implemented
parent 66b8d2e2
......@@ -11,6 +11,10 @@ import;
import org.slf4j.Logger;
import com.nimbusds.jose.jwk.JWKSet;
import net.minidev.json.JSONObject;
public class OidcCertsController {
......@@ -20,9 +24,12 @@ public class OidcCertsController {
public void auth(@PathParam("realm") String realm)
public JSONObject auth(@PathParam("realm") String realm)
throws IOException {
logger.debug("certs called for {}", realm);
JWKSet jwk = new JWKSet();
return jwk.toJSONObject(true);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment