Configuring a file-backed HTTP resource for attribute filters

Brent Putman putmanb at georgetown.edu
Tue Jul 21 17:16:45 EDT 2015



On 7/21/15 5:06 PM, Wessel, Keith wrote:
> Yes, there's a 200 and a 304. Sorry for that confusion, it was all a red herring.

Ok, that clarifies a lot then.

>
> By the IDP conf dir, yes, I mean the backing file. If I wget the file before IDP start-up, it gets updated properly (both contents and timestamp) every 15 minutes. And yes, obviously, that would also mean that the files in the cache dir are valid and correct in terms of content.
>
> So, it seems that the backing file can get updated, but if it doesn't exist on IDP start-up, it can't get created.

And that jibes exactly with what I just posted about the
saveAndClone(...) call possibly being the culprit here.

The code in saveAndClone(...) starts off with this:

FileOutputStream out = new FileOutputStream(backingResource.getFile());

Have to see whether that's correct.  Possibly the file needs to be
explicitly created first. 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20150721/a3ede979/attachment-0001.html>


More information about the users mailing list