public class RoamingFileRetriever
extends java.lang.Object
While this class is public, it is intended for internal use by the Toolkit only.
| Constructor and Description |
|---|
RoamingFileRetriever(java.lang.String roamingUserId,
RoamingConfiguration configuration)
Constructs an instance of this object.
|
| Modifier and Type | Method and Description |
|---|---|
EntrustFiles |
retrieveFiles(SecureStringBuffer password)
Retrieve and decrypt roaming files.
|
public RoamingFileRetriever(java.lang.String roamingUserId,
RoamingConfiguration configuration)
roamingUserId - the roaming user id for which to retrieve files.configuration - configuration information containing the address of the Roaming Server.public EntrustFiles retrieveFiles(SecureStringBuffer password) throws RoamingException, UserBadPasswordException
password - the user's passwordRoamingException - if there is a problem retrieving the roaming files from the
Directory, or a problem communicating with the Roaming Server.UserBadPasswordException - if the given password was not correct. Note that it is
not always possible to tell for sure that the password is incorrect,
so this error is thrown when a bad password is the most likely
cause of an error.