[Dev] Announcement: shib-http-client 1.0.0 released

Oliver Schonefeld schonefeld at ids-mannheim.de
Fri Jan 31 12:44:36 CET 2014


[Sorry for xposting]

Hello,

our colleague Richard from DARIAH asked me to publish the following 
release announcement for a Java library, that helps with accessing 
Shib-protected resources from non-browser agents.
If you use (or plan to use) this library, please drop Richard a quick 
note, because they like to estimate the number of (potential) users for 
a report.

Best,
   Oliver

---

We are pleased to announce the first release of shib-http-client.

shib-http-client is a minimalistic solution to transparently access 
https URLs that are protected by Shibboleth and ECP. It can serve you
as a library, or as a template to build your own Shibboleth-enabled
client. It builds on the Apache HttpComponents Client and OpenSAML
libraries.


== Download ==

shib-http-client is available from Maven Central

  http://search.maven.org/#search%7Cga%7C1%7Cshib-http-client

The source code is hosted at GitHub

  https://github.com/reckart/shib-http-client

shib-http-client is provided under the Apache Software License v2.0.


== Example ==

Accessing a Shibboleth-protected URL is as simple as

// Initialize OpenSAML
DefaultBootstrap.bootstrap();

// The last argument indicates to accept any certificate
HttpClient client = new ShibHttpClient(aIdpUrl, aUsername, aPassword, true);
HttpGet req = new HttpGet("https://my/protected/url");
HttpResponse res = client.execute(req);
... = res.getEntity().getContent(); // returns an InputStream


== Acknowledgements ==

Portions of this project were funded by the German Federal
Ministry of Education and Research (BMBF) under the promotional
reference 01UG1110D as part of DARIAH-DE (Digital Research
Infrastructure for the Arts and Humanities, http://de.dariah.eu).

Portions of this project have been funded by the European
Commission under the 7th Framework programme Grant Agreement
RI-283556 and 283745 as part of the Umbrella system, a joint
project of the European Photon and Neutron sources, the PaNdata
project, the CRISP project and EuroFEL.

shib-http-client is not affiliated or endorsed by the Shibboleth
project.

-- Richard Eckart de Castilho on behalf of the shib-http-client team

-- 
Oliver Schonefeld
Institut für Deutsche Sprache, Zentrale Forschung
R5, 6-13, D-68161 Mannheim
+49-(0)621-1581-451 | http://www.ids-mannheim.de


More information about the Dev mailing list