[ 
https://issues.apache.org/jira/browse/AMBARI-25159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16791061#comment-16791061
 ] 

Hudson commented on AMBARI-25159:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-branch-2.7 #445 (See 
[https://builds.apache.org/job/Ambari-branch-2.7/445/])
AMBARI-25159. http.strict-transport-security change does not take affect 
(github: 
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=e6b0838ba1853152a2849be8705be1aff669349e])
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/configuration/spring/ApiSecurityConfig.java


> http.strict-transport-security change does not take affect in 2.7.x
> -------------------------------------------------------------------
>
>                 Key: AMBARI-25159
>                 URL: https://issues.apache.org/jira/browse/AMBARI-25159
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.7.3
>            Reporter: amarnath reddy pappu
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Updating the below configurations does not take affect in Ambari 2.7.x version
> {noformat}
> http.strict-transport-security=max-age=0
> views.http.strict-transport-security=max-age=0
> {noformat}
> After setting the above configurations still API response gives below max-age 
> headers.
> {noformat}
> Strict-Transport-Security: max-age=31536000 ; includeSubDomains
> {noformat}
> I see AmbariServerSecurityHeaderFilter.java setting the correctly defined 
> params but later somehow it is going to default value.
> This works fine in 2.6.x versions.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to