mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Prashant
12 hours ago 1eab04986497d8234d8916fe7574a50a2e0cbbc2
refs
author Prashant <prashant.thakre@gmail.com>
Saturday, November 21, 2026 09:55 +0100
committer GitHub <noreply@github.com>
Saturday, November 21, 2026 09:55 +0100
commit1eab04986497d8234d8916fe7574a50a2e0cbbc2
tree 58b58b9a049d22c1970c5ab54f772230dad19dc3 tree | zip | gz
parent a39ce1ab8a5920e27d12f53a1168d4a04fd190f7 view | diff
Close the OAuth2 token directory stream after checks (#1315)

Open the stream with try-with-resources so it is closed right after the
check.
1 files modified
7 ■■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/protocols/http/authz/HttpOAuth2FileAuthorizationMechanism.java 7 ●●●●● diff | view | raw | blame | history