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

Kevan Jahanshahi commented on UNOMI-541:
----------------------------------------

The *Secure* flag is automatically set if the current request is HTTPS scheme.

The *HttpOnly* flag is configurable using a new configuration:
 * _org.apache.unomi.profile.cookie.httpOnly_
 * or the ENV variable: _UNOMI_PROFILE_COOKIE_HTTPONLY_

> Handle profile cookie configuration: HttpOnly, Secure
> -----------------------------------------------------
>
>                 Key: UNOMI-541
>                 URL: https://issues.apache.org/jira/browse/UNOMI-541
>             Project: Apache Unomi
>          Issue Type: Improvement
>    Affects Versions: 2.0.0, 1.6.0
>            Reporter: Kevan Jahanshahi
>            Assignee: Kevan Jahanshahi
>            Priority: Major
>             Fix For: 2.0.0, 1.6.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The profile cookie should be Secure when the request is https.
> The profile cookie configuration should allow the HttpOnly flag in case it's 
> require: new configuration option will be provided for that.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to