You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Stephan Klevenz (JIRA)" <ji...@apache.org> on 2013/10/01 18:03:28 UTC

[jira] [Commented] (OLINGO-26) Access the current principal of in the HttpRequest

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

Stephan Klevenz commented on OLINGO-26:
---------------------------------------

Makes sense. Would it sufficient to attach the HttpRequest object to the ODataContext? 

> Access the current principal of in the HttpRequest
> --------------------------------------------------
>
>                 Key: OLINGO-26
>                 URL: https://issues.apache.org/jira/browse/OLINGO-26
>             Project: Olingo
>          Issue Type: Improvement
>          Components: odata2-core
>    Affects Versions: 1.0.0
>         Environment: Mac OS X 10.8.5
>            Reporter: Mario Toffia
>            Assignee: Stephan Klevenz
>            Priority: Minor
>              Labels: SECURITY, SESSION
>
> We need to access the current principal (if such is attached) to current 
> HttpSession to handle filtering and dispatching in our custom odata producer. 
> A solution could be to populate this in the ODataContext.
> (We are currently using odata4j but want to abandon this project in favour of olingo)



--
This message was sent by Atlassian JIRA
(v6.1#6144)