You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by ra...@apache.org on 2019/01/04 13:30:59 UTC

[tomee] 10/12: fixing logging class

This is an automated email from the ASF dual-hosted git repository.

radcortez pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee.git

commit 11e0a37935490f4c09c0eb217ad3348d1e75a1c3
Author: ivanjunckes <ij...@tomitribe.com>
AuthorDate: Fri Jan 4 10:02:49 2019 -0200

    fixing logging class
---
 .../org/apache/tomee/microprofile/jwt/config/JWTAuthContextInfo.java   | 3 +--
 .../tomee/microprofile/jwt/principal/JWTCallerPrincipalFactory.java    | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/config/JWTAuthContextInfo.java b/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/config/JWTAuthContextInfo.java
index 447cb2f..6fe507f 100644
--- a/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/config/JWTAuthContextInfo.java
+++ b/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/config/JWTAuthContextInfo.java
@@ -16,7 +16,6 @@
  */
 package org.apache.tomee.microprofile.jwt.config;
 
-import org.apache.tomee.microprofile.jwt.cdi.MPJWTCDIExtension;
 import org.jose4j.jwk.JsonWebKey;
 import org.jose4j.lang.JoseException;
 
@@ -31,7 +30,7 @@ import java.util.stream.Collectors;
  * The public key and expected issuer needed to validate a token.
  */
 public class JWTAuthContextInfo {
-    private static final Logger logger = Logger.getLogger(MPJWTCDIExtension.class.getName());
+    private static final Logger logger = Logger.getLogger(JWTAuthContextInfo.class.getName());
     public static final String DEFAULT_KEY = "DEFAULT";
 
     private Map<String, Key> signerKeys;
diff --git a/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/principal/JWTCallerPrincipalFactory.java b/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/principal/JWTCallerPrincipalFactory.java
index 80c75b4..2d36161 100644
--- a/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/principal/JWTCallerPrincipalFactory.java
+++ b/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/principal/JWTCallerPrincipalFactory.java
@@ -17,7 +17,6 @@
 package org.apache.tomee.microprofile.jwt.principal;
 
 import org.apache.tomee.microprofile.jwt.ParseException;
-import org.apache.tomee.microprofile.jwt.cdi.MPJWTCDIExtension;
 import org.apache.tomee.microprofile.jwt.config.JWTAuthContextInfo;
 
 import java.net.URL;
@@ -32,7 +31,7 @@ import java.util.logging.Logger;
 public abstract class JWTCallerPrincipalFactory {
 
     private static JWTCallerPrincipalFactory instance;
-    private static final Logger logger = Logger.getLogger(MPJWTCDIExtension.class.getName());
+    private static final Logger logger = Logger.getLogger(JWTCallerPrincipalFactory.class.getName());
     /**
      * Obtain the JWTCallerPrincipalFactory that has been set or by using the ServiceLoader pattern.
      *