Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

mod_authnz_crowd

Does this set REMOTE_USER ?

I have a application that runs a cgi (py) that needs to pick up the username that has signed in against crowd. Please advise

1 answer

Hi Marcel,

Yes it does.

This is an example of how it looks on the access_log:

172.16.28.1 - apache [25/Mar/2014:18:48:04 -0300] "GET /repositorio/ HTTP/1.1" 401 472 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:28.0) Gecko/20100101 Firefox/28.0"

172.16.28.1 - admin [25/Mar/2014:18:48:08 -0300] "GET /repositorio/ HTTP/1.1" 401 472 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:28.0) Gecko/20100101 Firefox/28.0"

As you can see, one access was made with apache user, and the other with admin user. With PHP you could retrieve the user with the variable $_SERVER ['REMOTE_USER']

Best regards,

Felipe Alencastro

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Asked in Jira Service Desk

Calling all Insight users, we need your help!

Hello Insight users,  As part of our (Mindville's) acquisition by Atlassian, our training team is looking to build some new Insight training materials. It would really helpful if you can ...

135 views 1 0
View question

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you