Skip to content

Commit

Permalink
Use indy-security CustomClientRequestFilter (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruhan1 authored Apr 17, 2024
1 parent 9fe770a commit 9335717
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 64 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
package org.commonjava.indy.service.tracking.client.content;

import org.commonjava.indy.service.tracking.client.CustomClientRequestFilter;
import org.commonjava.indy.service.security.jaxrs.CustomClientRequestFilter;
import org.commonjava.indy.service.tracking.model.dto.ContentDTO;
import org.commonjava.indy.service.tracking.model.dto.ContentTransferDTO;
import org.eclipse.microprofile.rest.client.annotation.RegisterProvider;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
package org.commonjava.indy.service.tracking.client.content;

import org.commonjava.indy.service.tracking.client.CustomClientRequestFilter;
import org.commonjava.indy.service.security.jaxrs.CustomClientRequestFilter;
import org.eclipse.microprofile.rest.client.annotation.RegisterProvider;
import org.eclipse.microprofile.rest.client.inject.RegisterRestClient;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
package org.commonjava.indy.service.tracking.client.promote;

import org.commonjava.indy.service.tracking.client.CustomClientRequestFilter;
import org.commonjava.indy.service.security.jaxrs.CustomClientRequestFilter;
import org.eclipse.microprofile.rest.client.annotation.RegisterProvider;
import org.eclipse.microprofile.rest.client.inject.RegisterRestClient;

Expand Down
8 changes: 8 additions & 0 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ quarkus:
verification: none
token:
issuer: any
oidc-client:
auth-server-url: "keycloak_server_url/realms/your_realm"
client-id: your_client_id
credentials:
secret: your_secret
refresh-token-time-skew: 60
early-tokens-acquisition: false

"%dev":
quarkus:
kubernetes-config:
Expand Down

0 comments on commit 9335717

Please sign in to comment.