Close BufferedReader.
This commit is contained in:
parent
9f8ccd461b
commit
da867ae48b
@ -38,6 +38,7 @@ public class CASTicketValidator implements TicketValidator {
|
|||||||
while (nextLine != null) {
|
while (nextLine != null) {
|
||||||
if (nextLine.contains("<cas:user>")) {
|
if (nextLine.contains("<cas:user>")) {
|
||||||
String user = extractUser(nextLine);
|
String user = extractUser(nextLine);
|
||||||
|
reader.close();
|
||||||
inputStream.close();
|
inputStream.close();
|
||||||
return user;
|
return user;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user