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:51 UTC

[tomee] 02/12: use the constant

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 f53d63d0b55c7869833825dc168909a029ff96ea
Author: ivanjunckes <ij...@tomitribe.com>
AuthorDate: Wed Jan 2 16:51:09 2019 -0200

    use the constant
---
 .../org/apache/tomee/microprofile/jwt/config/JWTAuthContextInfo.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 4b38878..4cfa333 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
@@ -63,7 +63,7 @@ public class JWTAuthContextInfo {
     }
 
     public Key getSignerKey() {
-        return signerKeys.get("DEFAULT");
+        return signerKeys.get(DEFAULT_KEY);
     }
 
     public List<JsonWebKey> getSignerKeys() {