View Javadoc
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  /**
17   * Windows account.
18   * 
19   * @author dblock[at]dblock[dot]org
20   */
21  public interface IWindowsAccount {
22  
23      /**
24       * Security identifier.
25       * 
26       * @return String in the S- format.
27       */
28      String getSidString();
29  
30      /**
31       * Fully qualified username.
32       * 
33       * @return String.
34       */
35      String getFqn();
36  
37      /**
38       * User name.
39       * 
40       * @return String.
41       */
42      String getName();
43  
44      /**
45       * Domain name.
46       * 
47       * @return String.
48       */
49      String getDomain();
50  }