Re: [galaxy-dev] Can REMOTE_USER be changed to another header variable?
Hi Prakash, You are on the thread so you should get direct replies. And you can review any of our mailing list postings by following the links here under "Archives": https://wiki.galaxyproject.org/MailingLists#The_lists Subscribing is optional, for posting or viewing. Thanks! Jen Galaxy team On 1/2/14 8:12 AM, Velayutham, Prakash (Prakash) wrote:
Hi,
I guess I would have to subscribe to that list to get status updates?
Thanks, Prakash
On Jan 2, 2014, at 11:09 AM, Jennifer Jackson <jen@bx.psu.edu <mailto:jen@bx.psu.edu>> wrote:
Hello Prakash, I am going to move this over to the galaxy-dev@bx.psu.edu mailing list where it will have greater visibility within our development community. Best, Jen Galaxy team https://wiki.galaxyproject.org/MailingLists#The_lists
On 1/2/14 7:27 AM, Velayutham, Prakash (Prakash) wrote:
Hi,
We have a SSO environment provided by Oracle Fusion products and for some reason, they don't like to send over HTTP_REMOTE_USER as a header variable to downstream servers. I have seen it before with other web sites I have integrated with Oracle Access Manager. Is there a way Galaxy can accept another HEADER variable than REMOTE_USER for its external authentication?
As an extension:
* With just enabling HTTP_REMOTE_USER as a header variable from an external authenticator, Galaxy works without any issues. I tried this with a default Apache/mod_ldap/mod_authnz_ldap setup. * However, when I mix the Oracle gateways into the mix, things break down. o I made OAM send HTTP_AUTH_USER over to Galaxy. o I changed all instances of REMOTE_USER to AUTH_USER in the installed location of Galaxy in my server. o Authentication works fine, but I get issues with HISTORY part of Galaxy (below), when I access a workflow or basically any part of Galaxy that depends on HISTORY
Error Traceback:
View as: Interactive <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#> | Text <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#> | XML <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#> (full) <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#> ⇝ |AttributeError: 'NoneType' object has no attribute 'user'| URL: http://xxx.xxx.xxx/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False Module weberror.evalexception.middleware:*364* in |respond| <Mail Attachment.jpeg> <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#> view <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#> |>> <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#>app_iter *=* self*.*application*(*environ*,* detect_start_response*)*| Module paste.recursive:*84* in |__call__| <Mail Attachment.jpeg> <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#> view <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#> |>> <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#>*return* self*.*application*(*environ*,* start_response*)*| Module galaxy.web.framework.middleware.remoteuser:*91* in |__call__| <Mail Attachment.jpeg> <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#> view <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#> |>> <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#>*return* self*.*app*(* environ*,* start_response *)*| Module paste.httpexceptions:*633* in |__call__| <Mail Attachment.jpeg> <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#> view <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#> |>> <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#>*return* self*.*application*(*environ*,* start_response*)*| Module galaxy.web.framework.base:*132* in |__call__| <Mail Attachment.jpeg> <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#> view <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#> |>> <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#>*return* self*.*handle_request*(* environ*,* start_response *)*| Module galaxy.web.framework.base:*190* in |handle_request| <Mail Attachment.jpeg> <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#> view <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#> |>> <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#>body *=* method*(* trans*,* ****kwargs *)*| Module galaxy.web.framework:*98* in |decorator| <Mail Attachment.jpeg> <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#> view <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#> |>> <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#>*return* func*(* self*,* trans*,* ***args*,* ****kwargs *)*| Module galaxy.webapps.galaxy.controllers.dataset:*555* in |list| <Mail Attachment.jpeg> <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#> view <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#> |>> <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#>status*,* message *=* self*.*_copy_datasets*(* trans*,* hda_ids*,* target_histories *)*| Module galaxy.webapps.galaxy.controllers.dataset:*1127* in |_copy_datasets| <Mail Attachment.jpeg> <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#> view <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#> |>> <https://galaxy.research.cchmc.org/dataset/list?sort=-update_time&f-name=All&f-tags=All&f-deleted=False#>*if* user *!=* history*.*user*:*| *AttributeError: 'NoneType' object has no attribute 'user'*
Thanks, Prakash
___________________________________________________________ The Galaxy User list should be used for the discussion of Galaxy analysis and other features on the public server atusegalaxy.org <http://usegalaxy.org>. Please keep all replies on the list by using "reply all" in your mail client. For discussion of local Galaxy instances and the Galaxy source code, please use the Galaxy Development list:
http://lists.bx.psu.edu/listinfo/galaxy-dev
To manage your subscriptions to this and other Galaxy lists, please use the interface at:
To search Galaxy mailing lists use the unified search at:
-- Jennifer Hillman-Jackson http://galaxyproject.org
-- Jennifer Hillman-Jackson http://galaxyproject.org
participants (1)
-
Jennifer Jackson