KNOX-1079 - Regression: proxy for Atlas fails with j_spring_security_check during login (Madhan Neethiraj via lmccay)
Project: http://git-wip-us.apache.org/repos/asf/knox/repo Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/0719da37 Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/0719da37 Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/0719da37 Branch: refs/heads/KNOX-1049 Commit: 0719da376065950d8786576cf92f71367d9aba8d Parents: 2d236e7 Author: Larry McCay <[email protected]> Authored: Thu Oct 12 15:03:16 2017 -0400 Committer: Larry McCay <[email protected]> Committed: Thu Oct 12 15:03:16 2017 -0400 ---------------------------------------------------------------------- .../src/main/resources/services/atlas/0.8.0/rewrite.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/knox/blob/0719da37/gateway-service-definitions/src/main/resources/services/atlas/0.8.0/rewrite.xml ---------------------------------------------------------------------- diff --git a/gateway-service-definitions/src/main/resources/services/atlas/0.8.0/rewrite.xml b/gateway-service-definitions/src/main/resources/services/atlas/0.8.0/rewrite.xml index 9db2348..84b4edf 100644 --- a/gateway-service-definitions/src/main/resources/services/atlas/0.8.0/rewrite.xml +++ b/gateway-service-definitions/src/main/resources/services/atlas/0.8.0/rewrite.xml @@ -66,6 +66,10 @@ <filter name="ATLAS/atlas/outbound/links"> + <content type="*/x-javascript"> + <apply path="j_spring_security_check" rule="ATLAS/atlas/outbound/extrapath"/> + <apply path="index.html" rule="ATLAS/atlas/outbound/index"/> + </content> <content type="application/javascript"> <apply path="j_spring_security_check" rule="ATLAS/atlas/outbound/extrapath"/> <apply path="index.html" rule="ATLAS/atlas/outbound/index"/> @@ -80,4 +84,4 @@ </content> </filter> -</rules> \ No newline at end of file +</rules>
