Schönefeld, MarcFlegel, UlrichMeier, Michael2019-10-162019-10-1620043-88579-375-Xhttps://dl.gi.de/handle/20.500.12116/29200This paper underlines the importance of security awareness whilst programming Java applications. Several problems in current JDK implementations are demonstrated that allow to undermine the security of Java applications. Coding errors and quality problems in current Java distributions create possibilities to create covert channels, cause resource blocking and denial-of-service attacks. To make things worse Java components are often deployed according to the AllPermissions antipattern with non-restrictive security settings, which allows bugs on the system layer to be exploited by attackers. Coping with this antipattern from the user side is connected with the definition of adequate permission sets. A tool that automates this time consuming task is presented as a refactoring for the AllPermission antipattern.enAnti-patterns in JDK security and refactoringsText/Conference Paper1617-5468