*
* @param implementation Classe de implementacao de {@link Session}
*/
public SessionManager(Class<? extends Session> implementation) {
if (!Validator.isValid(implementation)) {
throw new ValidationException("Classe de implementacao invalida");
}
this.implementation = implementation;
this.time = (30 * 60); // 30 minutos em segundos
this.table = new HashMap<String, Session>();
this.keygen = Sequence.getInstance(SequenceType.HASH);