Merge "Add IfNewHostNotify to DeviceManager"
[controller.git] / opendaylight / usermanager / api / src / main / java / org / opendaylight / controller / usermanager / ISessionManager.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.controller.usermanager;
10
11 import javax.servlet.http.HttpSessionListener;
12
13 /**
14  *
15  * This interface defines method(s) to invalidate a session.
16  */
17 public interface ISessionManager extends HttpSessionListener {
18
19     /**
20      * Invalidates the session for a given user and a session Id
21      *
22      * @param username
23      *            the username
24      * @param sessionId
25      *            the session Id
26      */
27     public void invalidateSessions(String username, String sessionId);
28
29 }