View Javadoc
1   /*
2    * SPDX-License-Identifier: MIT
3    * See LICENSE file for details.
4    *
5    * Copyright 2010-2026 The Waffle Project Contributors: https://github.com/Waffle/waffle/graphs/contributors
6    */
7   package waffle.windows.auth;
8   
9   import com.sun.jna.platform.win32.Sspi.CredHandle;
10  
11  /**
12   * Windows credentials handle.
13   */
14  public interface IWindowsCredentialsHandle {
15      /**
16       * Initialize.
17       */
18      void initialize();
19  
20      /**
21       * Dispose.
22       */
23      void dispose();
24  
25      /**
26       * Return a security handle.
27       *
28       * @return CredHandle.
29       */
30      CredHandle getHandle();
31  }