Skip to content

Commit

Permalink
feat: latest quarkus support
Browse files Browse the repository at this point in the history
  • Loading branch information
maxime1907 committed Jan 18, 2023
1 parent 1f376df commit fa7bb39
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 2 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ mvn clean verify
```

## Deploy the example
Copy to the `standalone/deployments` directory in Keycloak.
### Wildfly
Copy to the `.jar` into the keycloak directory `standalone/deployments`
### Quarkus
Copy to the `.jar` into the keycloak directory `providers`

## Routes

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<artifactId>actions-token</artifactId>
<groupId>org.jboss.aerogear</groupId>
<packaging>jar</packaging>
<version>0.0.6</version>
<version>0.0.7</version>

<properties>
<java.version>11</java.version>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
package com.github.maxime1907.keycloak.actions.token;

import org.keycloak.provider.Provider;
import org.keycloak.provider.ProviderFactory;
import org.keycloak.services.resource.RealmResourceProvider;
import org.keycloak.services.resource.RealmResourceProviderFactory;
import org.keycloak.services.resource.RealmResourceSPI;

public class ActionsTokenResourceProviderSPI extends RealmResourceSPI {

@Override
public boolean isInternal() {
return false;
}

@Override
public String getName() {
return "Action Token Provider";
}

@Override
public Class<? extends Provider> getProviderClass() {
return RealmResourceProvider.class;
}

@Override
public Class<? extends ProviderFactory> getProviderFactoryClass() {
return RealmResourceProviderFactory.class;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com.github.maxime1907.keycloak.actions.token.ActionsTokenResourceProviderSPI

0 comments on commit fa7bb39

Please sign in to comment.