Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/server/auth/saml/TicketValidator.java @ 9726:0a5239a1e46e 3.2.x
Upgrade to Log4j 2
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 02 Mar 2022 10:26:50 +0100 |
parents | 2c8259176c46 |
children |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
21 import javax.xml.crypto.dsig.Reference; | 21 import javax.xml.crypto.dsig.Reference; |
22 import javax.xml.crypto.dsig.XMLSignature; | 22 import javax.xml.crypto.dsig.XMLSignature; |
23 import javax.xml.crypto.dsig.XMLSignatureFactory; | 23 import javax.xml.crypto.dsig.XMLSignatureFactory; |
24 import javax.xml.crypto.dsig.dom.DOMValidateContext; | 24 import javax.xml.crypto.dsig.dom.DOMValidateContext; |
25 | 25 |
26 import org.apache.log4j.Logger; | 26 import org.apache.logging.log4j.Logger; |
27 import org.apache.logging.log4j.LogManager; | |
27 | 28 |
28 import org.w3c.dom.Element; | 29 import org.w3c.dom.Element; |
29 import org.w3c.dom.Node; | 30 import org.w3c.dom.Node; |
30 import org.w3c.dom.NodeList; | 31 import org.w3c.dom.NodeList; |
31 | 32 |
38 public class TicketValidator { | 39 public class TicketValidator { |
39 | 40 |
40 /** | 41 /** |
41 * The log used by the TicketValidator instances. | 42 * The log used by the TicketValidator instances. |
42 */ | 43 */ |
43 private static Logger log = Logger.getLogger(TicketValidator.class); | 44 private static Logger log = LogManager.getLogger(TicketValidator.class); |
44 | 45 |
45 /** | 46 /** |
46 * The trusted Key for signature checks. | 47 * The trusted Key for signature checks. |
47 */ | 48 */ |
48 private Key trustedKey; | 49 private Key trustedKey; |