Пример #1
0
 public synchronized void removeSession(JRadiusSession session) {
   if (session != null) {
     remove(session.getJRadiusKey());
     remove(session.getSessionKey());
   }
 }
Пример #2
0
 public synchronized void rehashSession(
     JRadiusSession session, Serializable okey, Serializable nkey) throws RadiusException {
   remove(okey);
   session.setJRadiusKey((String) nkey);
   put(session.getJRadiusKey(), session);
 }