> I have some JCE and java.security classes that uses a PIN that must be
> entered plus some physical keys that need to be inserted. There isn't any
> standard call-back for such devices. It would be really nice to have a
> callback that can ask for:
> 1) A PIN to be entered
> 2) A Key to be inserted
> 3) A Key to be removed
> 4) Notify that a key is inserted/removed
we're currently developing a standard extension API
for pluggable authentication which will include Callback classes
which should meet your needs.
the APIs should be available in the sometime in the near future on our
security website. http://java.sun.com/security
thanks!
charlie