This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/7.0.x by this push:
new d651c3e Add Javadoc. Align with 8.5.x. Trivial commit to trigger CI.
d651c3e is described below
commit d651c3eab8a05fc1fd4a661fed8e63971ffcc1a7
Author: Mark Thomas <[email protected]>
AuthorDate: Thu May 27 14:56:43 2021 +0100
Add Javadoc. Align with 8.5.x. Trivial commit to trigger CI.
---
java/javax/annotation/security/DeclareRoles.java | 4 ++++
java/javax/annotation/security/RolesAllowed.java | 4 ++++
java/javax/annotation/security/RunAs.java | 4 ++++
3 files changed, 12 insertions(+)
diff --git a/java/javax/annotation/security/DeclareRoles.java
b/java/javax/annotation/security/DeclareRoles.java
index d50e30d..7bf21e5 100644
--- a/java/javax/annotation/security/DeclareRoles.java
+++ b/java/javax/annotation/security/DeclareRoles.java
@@ -29,5 +29,9 @@ import java.lang.annotation.Target;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface DeclareRoles {
+
+ /**
+ * @return a String[] with the roles
+ */
public String[] value();
}
diff --git a/java/javax/annotation/security/RolesAllowed.java
b/java/javax/annotation/security/RolesAllowed.java
index f916b6d..202b184 100644
--- a/java/javax/annotation/security/RolesAllowed.java
+++ b/java/javax/annotation/security/RolesAllowed.java
@@ -29,5 +29,9 @@ import java.lang.annotation.Target;
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface RolesAllowed {
+
+ /**
+ * @return a String[] of the allowed roles
+ */
public String[] value();
}
diff --git a/java/javax/annotation/security/RunAs.java
b/java/javax/annotation/security/RunAs.java
index 8a366e2..1484fee 100644
--- a/java/javax/annotation/security/RunAs.java
+++ b/java/javax/annotation/security/RunAs.java
@@ -29,5 +29,9 @@ import java.lang.annotation.Target;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface RunAs {
+
+ /**
+ * @return a String with the value for RunAs
+ */
public String value();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]