Authenticator authenticator = AuthenticatorFactory.getAuthenticator();
try
{
// begin this transaction
dataStore.beginTrans();
// authenticate the requestor's credentials
String publisherID = authenticator.authenticate(userID,cred);
if (publisherID == null)
throw new UnknownUserException("get_authToken: "+