154155156157158159160161
{ try { this.transaction.rollback(); } catch(SQLException sqlex) { throw new RegistryException(sqlex); } }
179180181182183184185186187188
try { publisher = PublisherTable.select(publisherID,connection); } catch(java.sql.SQLException sqlex) { throw new RegistryException(sqlex); } return publisher; }
213214215216217218219220
return publisher.isAdmin(); } catch(java.sql.SQLException sqlex) { log.error(sqlex.getMessage()); throw new RegistryException(sqlex); } }
245246247248249250251252
return publisher.isEnabled(); } catch(java.sql.SQLException sqlex) { log.error(sqlex.getMessage()); throw new RegistryException(sqlex); } }
280281282283284285286287288
{ try { AuthTokenTable.insert(token,publisher,connection); } catch(java.sql.SQLException sqlex) { throw new RegistryException(sqlex); } } }
298299300301302303304305306
try { AuthTokenTable.invalidate(token,connection); AuthTokenTable.touch(token,connection); } catch(java.sql.SQLException sqlex) { throw new RegistryException(sqlex); } } }
317318319320321322323324325326327
{ try { publisher = AuthTokenTable.selectPublisher(token,connection); } catch(java.sql.SQLException sqlex) { throw new RegistryException(sqlex); } } return publisher; }
351352353354355356357358359360361
if ((currTime-lastUsed) >= timeOut) expired = true; } } catch(java.sql.SQLException sqlex) { throw new RegistryException(sqlex); } } return expired; }
370371372373374375376377378
{ try { AuthTokenTable.touch(token,connection); } catch(java.sql.SQLException sqlex) { throw new RegistryException(sqlex); } } }
472473474475476477478479
} } } catch(java.sql.SQLException sqlex) { throw new RegistryException(sqlex); } }