This is an automated email from the ASF dual-hosted git repository. michaelo pushed a commit to branch 8.5.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push: new 9d1aa10 BZ 63987: Deprecate Realm#getRoles(Principal) 9d1aa10 is described below commit 9d1aa103497349823048ed800b8c0ef7fd8771e1 Author: Michael Osipov <micha...@apache.org> AuthorDate: Thu Dec 5 11:29:23 2019 +0100 BZ 63987: Deprecate Realm#getRoles(Principal) --- java/org/apache/catalina/Realm.java | 2 ++ webapps/docs/changelog.xml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/java/org/apache/catalina/Realm.java b/java/org/apache/catalina/Realm.java index a6360cc..cfe69c4 100644 --- a/java/org/apache/catalina/Realm.java +++ b/java/org/apache/catalina/Realm.java @@ -229,7 +229,9 @@ public interface Realm { * Return roles associated with given principal * @param principal the {@link Principal} to get the roles for. * @return principal roles + * @deprecated This will be removed in Tomcat 10. */ + @Deprecated public String[] getRoles(Principal principal); diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index 40f01c1..5510914 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -91,6 +91,9 @@ opened that could reach the OS limit before being released by GC. (markt) </fix> + <update> + <bug>63987</bug>: Deprecate <code>Realm.getRoles(Principal)</code>. (michaelo) + </update> </changelog> </subsection> <subsection name="Coyote"> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org