This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#kc-login-footer-links { | |
text-align: center; | |
} | |
#kc-login-footer-links li{ | |
display:inline-block; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.keycloak.support.jgroups; | |
import jakarta.enterprise.inject.spi.CDI; | |
import org.jboss.logging.Logger; | |
import org.jgroups.protocols.JDBC_PING; | |
import javax.sql.DataSource; | |
import java.util.function.Function; | |
public class DataSourceProvider implements Function<JDBC_PING, DataSource> { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package demo; | |
import com.github.javaparser.JavaParser; | |
import com.github.javaparser.ast.CompilationUnit; | |
import com.github.javaparser.ast.body.MethodDeclaration; | |
import org.eclipse.aether.DefaultRepositorySystemSession; | |
import org.eclipse.aether.RepositorySystem; | |
import org.eclipse.aether.RepositorySystemSession; | |
import org.eclipse.aether.artifact.Artifact; | |
import org.eclipse.aether.artifact.DefaultArtifact; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
krakend: | |
image: devopsfaith/krakend:2.6 | |
ports: | |
- "8080:8080" | |
volumes: | |
- ./krankend/krakend.json:/etc/krakend/krakend.json | |
keycloak: | |
image: quay.io/keycloak/keycloak:25.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.example; | |
import jakarta.ws.rs.GET; | |
import jakarta.ws.rs.Path; | |
import jakarta.ws.rs.Produces; | |
import jakarta.ws.rs.core.MediaType; | |
@Path("/hello") | |
public class ExampleResource { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.github.thomasdarimont.keycloak.custom.oidc.introspection; | |
import com.google.auto.service.AutoService; | |
import jakarta.ws.rs.core.Response; | |
import lombok.extern.jbosslog.JBossLog; | |
import org.keycloak.events.EventBuilder; | |
import org.keycloak.models.KeycloakSession; | |
import org.keycloak.models.UserModel; | |
import org.keycloak.protocol.oidc.AccessTokenIntrospectionProvider; | |
import org.keycloak.protocol.oidc.AccessTokenIntrospectionProviderFactory; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.acme; | |
import jakarta.ws.rs.GET; | |
import jakarta.ws.rs.Path; | |
import jakarta.ws.rs.Produces; | |
import jakarta.ws.rs.core.MediaType; | |
@Path("/hello") | |
public class GreetingResource { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"authMethod": "openid-connect", | |
"redirectUri": "http://localhost:8080/admin/master/console/#/company-apps/groups", | |
"notes": { | |
"clientId": "7365e17b-b9d8-4553-8bf3-0aefddae464b", | |
"iss": "http://localhost:8080/realms/master", | |
"startedAt": "1713429283", | |
"response_type": "code", | |
"level-of-authentication": "-1", | |
"code_challenge_method": "S256", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.thomasdarimont.training.keycloak.endpoints; | |
import com.fasterxml.jackson.annotation.JsonProperty; | |
import jakarta.ws.rs.Consumes; | |
import jakarta.ws.rs.FormParam; | |
import jakarta.ws.rs.GET; | |
import jakarta.ws.rs.POST; | |
import jakarta.ws.rs.Path; | |
import jakarta.ws.rs.Produces; | |
import jakarta.ws.rs.QueryParam; |
NewerOlder