Skip to content

Commit

Permalink
OY-4717 ataru clientin sessionimi
Browse files Browse the repository at this point in the history
  • Loading branch information
marjakari committed Dec 31, 2024
1 parent 11f2a1c commit 0f17c87
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ trait AtaruServiceComponent {
AppConfig.callerId,
AppConfig.callerId,
"auth/cas")
.setJsessionName("ring-session").build
.setJsessionName("JSESSIONID").build

private val casClient: CasClient = CasClientBuilder.build(casConfig)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ trait OppijanumerorekisteriComponent {
}
val result = future.map {
case r if r.getStatusCode == 200 =>
logger.info(s"oppijanumerorekisteri response ${r.getResponseBody}")
// parsitaan relevantit kentät
val parsedJson = parse(r.getResponseBodyAsStream())
val oid = (parsedJson \ "oidHenkilo").extract[String]
Expand Down

0 comments on commit 0f17c87

Please sign in to comment.