Skip to content

Commit 0f1b7ee

Browse files
authored
CAS IdP page now informs about redirect hosts requirement (#7498)
1 parent e33de8f commit 0f1b7ee

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

api/src/org/labkey/api/admin/AdminUrls.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ public interface AdminUrls extends UrlProvider
6767
ActionURL getSystemMaintenanceURL();
6868
ActionURL getCspReportToURL();
6969

70+
ActionURL getAllowedExternalRedirectHostsURL();
71+
7072
/**
7173
* Simply adds an "Admin Console" link to nav trail if invoked in the root container. Otherwise, root is unchanged.
7274
*/

core/src/org/labkey/core/admin/AdminController.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -891,6 +891,13 @@ public ActionURL getCspReportToURL()
891891
return new ActionURL(ContentSecurityPolicyReportToAction.class, ContainerManager.getRoot());
892892
}
893893

894+
@Override
895+
public ActionURL getAllowedExternalRedirectHostsURL()
896+
{
897+
return new ActionURL(AllowListAction.class, ContainerManager.getRoot())
898+
.addParameter("type", AllowListType.Redirect.name());
899+
}
900+
894901
public static ActionURL getDeprecatedFeaturesURL()
895902
{
896903
return new ActionURL(OptionalFeaturesAction.class, ContainerManager.getRoot()).addParameter("type", FeatureType.Deprecated.name());

0 commit comments

Comments
 (0)