public synchronized void removeSession(JRadiusSession session) { if (session != null) { remove(session.getJRadiusKey()); remove(session.getSessionKey()); } }
public synchronized void rehashSession( JRadiusSession session, Serializable okey, Serializable nkey) throws RadiusException { remove(okey); session.setJRadiusKey((String) nkey); put(session.getJRadiusKey(), session); }