You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2021/10/08 13:05:00 UTC

[myfaces-tobago] 03/03: feat: Jakarta EE 9 support

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

lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit 9b8be5d04df6719416e40adcf69da9ee5684d24c
Author: Udo Schnurpfeil <ud...@irian.eu>
AuthorDate: Fri Oct 8 14:57:17 2021 +0200

    feat: Jakarta EE 9 support
    
    * basic migration
    * tested with Glassfish 6.2.2
    * Jetty/TomEE/Tomcat profiles are NOT running, yet!
    
    issue: TOBAGO-2094
---
 .../org/apache/myfaces/tobago/internal/config/SecurityAnnotation.java | 2 +-
 .../apache/myfaces/tobago/internal/taglib/declaration/HasAction.java  | 2 +-
 .../tobago/internal/taglib/declaration/IsDisabledBySecurity.java      | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/config/SecurityAnnotation.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/config/SecurityAnnotation.java
index 0726655..596d214 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/config/SecurityAnnotation.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/config/SecurityAnnotation.java
@@ -20,7 +20,7 @@
 package org.apache.myfaces.tobago.internal.config;
 
 /**
- * Defines how Tobago should check security annotations like e. g. {@link javax.annotation.security.RolesAllowed}.
+ * Defines how Tobago should check security annotations like e. g. {@link jakarta.annotation.security.RolesAllowed}.
  */
 public enum SecurityAnnotation {
 
diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/HasAction.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/HasAction.java
index 90e51d5..95a5418 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/HasAction.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/HasAction.java
@@ -30,7 +30,7 @@ public interface HasAction {
    * this component is activated by the user.
    * The {@link jakarta.el.MethodExpression} must evaluate to a public method that takes no parameters,
    * and returns a {@link String} (the logical outcome) which is passed to the
-   * {@link javax.faces.application.NavigationHandler} for this application.
+   * {@link jakarta.faces.application.NavigationHandler} for this application.
    * The string is directly passed to the navigation handler.
    */
   @TagAttribute
diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/IsDisabledBySecurity.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/IsDisabledBySecurity.java
index f20e378..773a693 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/IsDisabledBySecurity.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/IsDisabledBySecurity.java
@@ -25,8 +25,8 @@ import org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute;
 public interface IsDisabledBySecurity {
   /**
    * Flag indicating that this element is disabled. If configured so in the tobago-config.xml the action will be
-   * checked for the annotations {@link javax.annotation.security.RolesAllowed},
-   * {@link javax.annotation.security.PermitAll} or {@link javax.annotation.security.DenyAll}.
+   * checked for the annotations {@link jakarta.annotation.security.RolesAllowed},
+   * {@link jakarta.annotation.security.PermitAll} or {@link jakarta.annotation.security.DenyAll}.
    */
   @TagAttribute()
   @UIComponentTagAttribute(type = "boolean", generate = false)