Skip to content

Commit

Permalink
FAIRSPC-82: removed unused method and rolled back accidentally commit…
Browse files Browse the repository at this point in the history
…ted data set path location
  • Loading branch information
tgreenwood committed Oct 14, 2024
1 parent 41d5807 commit 90d1004
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package io.fairspace.saturn.auth;

import java.util.Map;
import java.util.Optional;

import io.fairspace.saturn.rdf.SparqlUtils;
import jakarta.servlet.http.HttpServletRequest;
import lombok.EqualsAndHashCode;
import org.apache.jena.graph.Node;
Expand All @@ -13,7 +11,8 @@
import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAttributes;

import io.fairspace.saturn.rdf.SparqlUtils;
import java.util.Map;
import java.util.Optional;

public class RequestContext {

Expand Down Expand Up @@ -55,10 +54,6 @@ public static SaturnClaims getClaims() {
return getJwt().map(Jwt::getClaims).map(SaturnClaims::from).orElseGet(SaturnClaims::emptyClaims);
}

public static String getIdTokenString() {
return getJwt().map(Jwt::getTokenValue).orElse(null);
}

private static Optional<Authentication> getAuthentication() {
return Optional.ofNullable(SecurityContextHolder.getContext().getAuthentication());
}
Expand Down
2 changes: 1 addition & 1 deletion projects/saturn/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ application:
# Base IRI for all metadata entities
metadataBaseIRI: ${METADATA_BASE_IRI:http://localhost/iri/}
# Jena's TDB2 database path
datasetPath: ${DATASET_PATH:/Users/anton/git/rdm/fairspace/projects/saturn/data/db}
datasetPath: ${DATASET_PATH:data/db}
# Path of the transaction log
transactionLogPath: ${TRANSACTION_LOG_PATH:data/log}
bulkTransactions: ${BULK_TRANSACTIONS:true}
Expand Down

0 comments on commit 90d1004

Please sign in to comment.