* @throws RemoteException
*/
public String getAuthToken(String endpointURL) throws TransportException, DispositionReportFaultMessage, RemoteException {
//if the token is older then 10 minutes discard it, and create a new one.
if ((authToken != null && !"".equals(authToken)) && (tokenBirthDate != null && System.currentTimeMillis() > tokenBirthDate.getTime() + 600000)) {
DiscardAuthToken discardAuthToken = new DiscardAuthToken();
discardAuthToken.setAuthInfo(authToken);
getUDDINode().getTransport().getUDDISecurityService(endpointURL).discardAuthToken(discardAuthToken);
authToken = null;
}
if (authToken == null || "".equals(authToken)) {
if (getPublisher()==null || getPassword()==null){