Re: Can I authenticate against FAS without python?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Fri, Mar 18, 2011 at 2:53 AM, Sean Flanigan <sflaniga@xxxxxxxxxx> wrote:
Hi,

I'm part of a team which is working on a Java-based web translation
system called Zanata (formerly Flies) which needs to authenticate
against the Fedora Account System (ideally SSO).

What's the state of http://fedoraproject.org/wiki/OpenID ?  This seems
like it would be fairly easy to integrate into Java.  That page says
it's in beta.  Would it be a really bad idea to build a system which
depends on it, even as a stop-gap?

Apart from authentication, I would like to check if the user has signed
a CLA before letting them enter translations.  What options are
available to a Java system for checking CLAs?

I know there's python-fedora, but is there a documented web service
underneath, which I could access from Java?  I guess I'm looking for an
XML/JSON version of
https://admin.fedoraproject.org/accounts/user/view/{username},
preferably one which doesn't require my system to authenticate itself as
a Fedora user.

Also, I've been looking at the python-fedora API, and I have some questions:
1. is there an attribute which tells me the user has signed a CLA?
2. can I fetch this attribute without authenticating?
3. if I do need to authenticate, how can I get a non-human Fedora
account for my web server to use?


Thanks!

Sean.

--
Sean Flanigan

Senior Software Engineer
Engineering - Internationalisation
Red Hat


_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

Sean,

You can get FAS info through a json feed.

Here are a couple of almost identical working examples:

Used in fedoraproject.org/wiki
https://fedorahosted.org/fedora-infrastructure/browser/scripts/Auth_FAS_MediaWiki/Auth_FAS.php

Used in blogs.fedoraproject.org:
https://fedorahosted.org/fedora-infrastructure/browser/plugins/wordpress-plugin-fasauth/fasauth.php

Sijis
_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux