Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

URL Handlers Service should provide an option to plug in Authenticators #16

Open
bjhargrave opened this issue Feb 29, 2012 · 1 comment
Labels
publiccomment Public comment

Comments

@bjhargrave
Copy link
Member

Original bug ID: BZ#140
From: Christoph Läubrich <mail@laeubi-soft.de>
Reported version: R4 V4.3

@bjhargrave
Copy link
Member Author

Comment author: Christoph Läubrich <mail@laeubi-soft.de>

The URL Handlers Service already abstracts URL schemes and content types.

It would be nice if the URL Handlers Service would also provide a Default Authenticator
http://docs.oracle.com/javase/1.4.2/docs/api/java/net/Authenticator.html#setDefault%28java.net.Authenticator%29
where bundles can plug in Authenticator services.

In the simple case the URL Handlers Service can ask all registered Authenticator services if an provide any useful authentication.

It might be wise to specify a service property where Authenticator services can specify which URLs they can provide authentication information for example

url.authenticator.url = http://secretsite.test/secretdata/*

would specify that the registered Authenticator services can provide authentication for urls like http://secretsite.test/secretdata/picture.png or http://secretsite.test/secretdata/sounds/voice.wav but not for http://secretsite.test/otherdata.html

This would make the URL Handlers Service even more useful than it currently is :)

@bjhargrave bjhargrave added the publiccomment Public comment label May 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
publiccomment Public comment
Projects
None yet
Development

No branches or pull requests

1 participant