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