Skip to content

Commit

Permalink
fix(jans-config-api): multiple custom lib not working (#907)
Browse files Browse the repository at this point in the history
* feat: config api fixes

* feat: jetty classpath issue

* feat: multiple custom lib issue
  • Loading branch information
pujavs authored Feb 28, 2022
1 parent 65f110d commit 9ef6fa4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
<includes>
<include>io.jans:jans-scim-model</include>
<include>io.jans:jans-scim-client</include>
<include>io.jans:jans-config-api-shared</include>
</includes>
<scope>runtime</scope>
</dependencySet>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ public class OpenIdAuthorizationService extends AuthorizationService implements
@Inject
JwtUtil jwtUtil;

@Inject
Jackson jackson;

@Inject
OpenIdService openIdService;

Expand Down
2 changes: 1 addition & 1 deletion jans-config-api/server/src/main/resources/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@

<Root level="INFO">
<AppenderRef ref="FILE" />
<AppenderRef ref="STDOUT" />
<AppenderRef ref="Console" />
</Root>

</Loggers>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@

import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
import javax.inject.Named;
import java.io.Serializable;

import org.slf4j.Logger;

@ApplicationScoped
@Named("cltSrv")
public class ClientService implements Serializable {

private static final long serialVersionUID = 7912416439116338984L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class AuthUtil {
ConfService confService;

@Inject
ClientService clientService;
ClientService cltSrv;

public String getOpenIdConfigurationEndpoint() {
return this.confService.find().getOpenIdConfigurationEndpoint();
Expand All @@ -33,7 +33,7 @@ public String getIssuer() {
}

public Client getClient(String clientId) {
return clientService.getClientByInum(clientId);
return cltSrv.getClientByInum(clientId);
}

public List<String> findMissingElements(List<String> list1, List<String> list2) {
Expand Down

0 comments on commit 9ef6fa4

Please sign in to comment.