I have a simple question about DFS tokens generated using the DFS client libraries.
It's documented that while using the DFS client libraries there is no need to register your servicveContext.
My question is how do you access the string token generated?
Using the basic code from every example:
----
public IServiceContext getSimpleServiceContext(String repositoryName, String userName, String password) {
ContextFactory contextFactory = ContextFactory.getInstance();
IServiceContext context = contextFactory.newContext();
RepositoryIdentity repoId = new RepositoryIdentity();
repoId.setRepositoryName(repositoryName);
repoId.setUserName(userName);
repoId.setPassword(password);
context.addIdentity(repoId);
return context;
}
----
Now that I have a client side context how do I get to a client side token that I can store and reuse?
What format is that token? (ideally it would be a string or similar)