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   * A Windows Computer.
18   * 
19   * @author dblock[at]dblock[dot]org
20   */
21  public interface IWindowsComputer {
22  
23      /**
24       * Computer name.
25       * 
26       * @return String.
27       */
28      String getComputerName();
29  
30      /**
31       * Member of (domain).
32       * 
33       * @return String.
34       */
35      String getMemberOf();
36  
37      /**
38       * Join status.
39       * 
40       * @return String.
41       */
42      String getJoinStatus();
43  
44      /**
45       * Groups.
46       * 
47       * @return Array of group names.
48       */
49      String[] getGroups();
50  }