com.tuneology.sane
Interface SaneAuthorization


public interface SaneAuthorization

A callback for obtaining authentication info for a particular scanner. May be called during the invocation of Sane.open, SaneScanner.start, OptionDescriptor.getValues, or OptionDescriptor.setValues.

Version:
$Id$
Author:
Fran Taylor

Method Summary
 SaneCredentials getCredentials(java.lang.String resource)
          Supply the credentials required to access the device.
 

Method Detail

getCredentials

public SaneCredentials getCredentials(java.lang.String resource)
Supply the credentials required to access the device.

Parameters:
resource -
Returns:
the credentials required for access to the device.