1 /**
2 * Waffle (https://github.com/dblock/waffle)
3 *
4 * Copyright (c) 2010 - 2015 Application Security, Inc.
5 *
6 * All rights reserved. This program and the accompanying materials
7 * are made available under the terms of the Eclipse Public License v1.0
8 * which accompanies this distribution, and is available at
9 * http://www.eclipse.org/legal/epl-v10.html
10 *
11 * Contributors:
12 * Application Security, Inc.
13 */
14 package waffle.windows.auth;
15
16 import com.sun.jna.platform.win32.Sspi.CredHandle;
17
18 /**
19 * Windows credentials handle.
20 *
21 * @author dblock[at]dblock[dot]org
22 */
23 public interface IWindowsCredentialsHandle {
24 /**
25 * Initialize.
26 */
27 void initialize();
28
29 /**
30 * Dispose.
31 */
32 void dispose();
33
34 /**
35 * Return a security handle.
36 *
37 * @return CredHandle.
38 */
39 CredHandle getHandle();
40 }