Skip to Content.
Sympa Menu

cat-users - Re: [[cat-users]] Hide 'production ready' profiles but allow direct download

cat-users AT lists.geant.org

Subject: The mailing list for users of the eduroam Configuration Assistant Tool (CAT)

List archive

Re: [[cat-users]] Hide 'production ready' profiles but allow direct download


Chronological Thread  
  • From: Tomasz Wolniewicz <address@concealed>
  • To: Robert Franklin <address@concealed>
  • Cc: "address@concealed" <address@concealed>
  • Subject: Re: [[cat-users]] Hide 'production ready' profiles but allow direct download
  • Date: Fri, 25 Jan 2019 16:01:15 +0100

Hi,

 I missed one important element. This link does work but only if you are
authenticated as the IdP admin. If not, 404 is generated. We decided
that for closed profiles unauthenticated downloads should also be
closed, but I forgot about that detail. This restriction is reasonable
and I do not think that we would want to lift it, but perhaps we could
introduce a new category of semi-closed profiles.

Tomasz


W dniu 25.01.2019 o 15:51, Robert Franklin pisze:
> Hello,
>
> Thanks for your reply…
>
>
>> On 25 Jan 2019, at 11:55, Tomasz Wolniewicz <address@concealed> wrote:
>>
>> First of all, when you say that the information for the user is
>> limited to the name of the profile - this is not quite true. Indeed on
>> the selection lit this is all that you see, but once you select profile
>> you can see additional information if the admin as provided it. See
>> https://cat.eduroam.org/?idp=1
> I hadn’t tried that but that would be an option - I’ll see what I can make
> it say…
>
>
>> Secondly, got that link to work you do not need to make profile
>> visible, however to get the correct link out of CAT, currently you need
>> to do some hacking, which should not be needed and we must correct that
>> in the future.
>>
>> When you define a profile, you get the button "Installer Fine-Tuning and
>> Download.
>>
>> From the resulting page you can download the installers and you can also
>> link to them by something like:
>>
>> https://cat.eduroam.org/user/API.php?action=downloadInstaller&profile=XXXX&device=DDDC&lang=en
>>
>> …
>>
>> This way you should be able to create local links without making the
>> profile visible.
> That doesn’t work for me: when the profile is NOT marked as ‘production
> ready’, I get a ‘404 Not found’, trying to download the profile; when I
> switch it to ‘production ready’, I can download it. For example:
>
> doraemon:~ rcf$ wget
> 'https://cat.eduroam.org/user/API.php?action=downloadInstaller&api_version=2&lang=en&device=w10&profile=5968’
>
> --2019-01-25 14:44:56--
> https://cat.eduroam.org/user/API.php?action=downloadInstaller&api_version=2&lang=en&device=w10&profile=5968
>
> Resolving cat.eduroam.org (cat.eduroam.org)... 145.100.191.84
> Connecting to cat.eduroam.org (cat.eduroam.org)|145.100.191.84|:443...
> connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2019-01-25 14:44:56 ERROR 404: Not Found.
>
> … I’ve tried removing the ‘api_version=2’ bit and no difference.
>
>
>> Still you should remember that your users are likely tofind CAT by
>> themselves and should not be confused by that they see there. If you do
>> not want them to download directly form CAT then you could create
>> profile redirects (while still keeping direct links to CAT)
> I’ve done that, yes. However, I’d prefer to avoid them getting that far,
> if I can!
>
> - Bob
>
>
--
Tomasz Wolniewicz
address@concealed http://www.home.umk.pl/~twoln

Uczelniane Centrum Informatyczne Information&Communication Technology Centre
Uniwersytet Mikolaja Kopernika Nicolaus Copernicus University,
pl. Rapackiego 1, Torun pl. Rapackiego 1, Torun, Poland
tel: +48-56-611-2750 tel kom.: +48-693-032-576


Attachment: smime.p7s
Description: Kryptograficzna sygnatura S/MIME




Archive powered by MHonArc 2.6.19+.

Top of Page