shib-http-client version 1.0.0 released

Richard Eckart de Castilho richard.eckart at gmail.com
Mon Jan 20 09:40:53 EST 2014


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


More information about the users mailing list