Fix for SEC-159. Added clearContext() method to SecurityContextHolder and refactored code to use it instead of putting an empty context into the holder.

This commit is contained in:
Luke Taylor
2006-02-08 23:27:46 +00:00
parent 8c0ce12332
commit dc959b1847
20 changed files with 46 additions and 25 deletions

View File

@@ -137,7 +137,7 @@ public class ClientApplication {
System.out.println(stopWatch.prettyPrint());
}
SecurityContextHolder.setContext(new SecurityContextImpl());
SecurityContextHolder.clearContext();
}
public static void main(String[] args) {