Skip to content

Commit

Permalink
fix: removed code no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
lfdesousa committed Jul 16, 2024
1 parent f32f582 commit 96c7b84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>ch.bfh</groupId>
<artifactId>mobile-access-gateway</artifactId>
<version>0.0.56</version>
<version>0.0.57</version>
<description>FHIR Gateway supporting the PMIR and MHD server actors and uses XDS/PIXV3 to communicate with an XDS Affinity Domain</description>
<packaging>jar</packaging>

Expand Down
6 changes: 3 additions & 3 deletions src/main/java/ch/bfh/ti/i4mi/mag/xua/SamlIDPIntegration.java
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ public SAMLDiscovery samlIDPDiscovery() {
return idpDiscovery;
}

@Value("${iua.idp.metadata-url:/idp-metadata.xml}}")
@Value("${iua.idp.metadata-url:/idp-metadata.xml}")
private String metadataIdpLocation;

public ExtendedMetadataDelegate ssoCircleExtendedMetadataProvider(String entityId)
Expand All @@ -446,8 +446,8 @@ public ExtendedMetadataDelegate ssoCircleExtendedMetadataProvider(String entityI

// Use the environment variable if it's set, otherwise fall back to the config
String idpSSOCircleMetadataURL = metadataIdpLocation != null && !metadataIdpLocation.isEmpty()
? metadataIdpLocation.trim().replaceAll("[}]$", "")
: conf.getMetadataUrl().trim().replaceAll("[}]$", "");
? metadataIdpLocation.trim()
: conf.getMetadataUrl().trim();

log.info("metadataIdpLocation: {}", metadataIdpLocation.trim());
log.info("conf.getMetadataUrl(): {}", conf.getMetadataUrl().trim());
Expand Down

0 comments on commit 96c7b84

Please sign in to comment.