[java-identity-provider] branch main updated: IDP-1765 Deprecate use of taglibs
Rod Widdowson
rdw at steadingsoftware.com
Wed Jun 21 10:10:57 UTC 2023
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch main
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=d47f54adcc6d2f55a7900f2e5ef68a5d3ae22d92
The following commit(s) were added to refs/heads/main by this push:
new d47f54adc IDP-1765 Deprecate use of taglibs
d47f54adc is described below
commit d47f54adcc6d2f55a7900f2e5ef68a5d3ae22d92
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Wed Jun 21 11:09:30 2023 +0100
IDP-1765 Deprecate use of taglibs
https://shibboleth.atlassian.net/browse/IDP-1765
Added an "atRiskOnce" to the shared parent constructor (but supplying
the class name to the deduplication logic).
---
.../java/net/shibboleth/idp/ui/taglib/ServiceTagSupport.java | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/idp-ui/src/main/java/net/shibboleth/idp/ui/taglib/ServiceTagSupport.java b/idp-ui/src/main/java/net/shibboleth/idp/ui/taglib/ServiceTagSupport.java
index 76296d743..01998cfb2 100644
--- a/idp-ui/src/main/java/net/shibboleth/idp/ui/taglib/ServiceTagSupport.java
+++ b/idp-ui/src/main/java/net/shibboleth/idp/ui/taglib/ServiceTagSupport.java
@@ -28,6 +28,9 @@ import jakarta.servlet.jsp.tagext.BodyTagSupport;
import org.opensaml.messaging.context.navigate.ChildContextLookup;
import org.opensaml.profile.context.ProfileRequestContext;
import org.slf4j.Logger;
+
+import net.shibboleth.shared.primitive.DeprecationSupport;
+import net.shibboleth.shared.primitive.DeprecationSupport.ObjectType;
import net.shibboleth.shared.primitive.LoggerFactory;
import jakarta.servlet.http.HttpServletRequest;
@@ -65,6 +68,14 @@ public class ServiceTagSupport extends BodyTagSupport {
/** Cached RelyingPartyUIContext. */
@Nullable private RelyingPartyUIContext relyingPartyUIContext;
+
+ /** Constructor. */
+ public ServiceTagSupport() {
+ super();
+ final String classname = getClass().getName();
+ assert classname!=null;
+ DeprecationSupport.atRiskOnce(ObjectType.CLASS, classname, "a jsp file");
+ }
/**
* Sets the {@link RelyingPartyUIContext}.
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list