equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
22 * or visit www.oracle.com if you need additional information or have any |
22 * or visit www.oracle.com if you need additional information or have any |
23 * questions. |
23 * questions. |
24 */ |
24 */ |
25 |
25 |
26 package com.sun.security.auth.module; |
26 package com.sun.security.auth.module; |
27 |
|
28 import javax.security.auth.login.LoginException; |
|
29 |
27 |
30 /** |
28 /** |
31 * <p> This class implementation retrieves and makes available NT |
29 * <p> This class implementation retrieves and makes available NT |
32 * security information for the current user. |
30 * security information for the current user. |
33 * |
31 * |
122 * <p> |
120 * <p> |
123 * |
121 * |
124 * @return the group SIDs for the current NT user. |
122 * @return the group SIDs for the current NT user. |
125 */ |
123 */ |
126 public String[] getGroupIDs() { |
124 public String[] getGroupIDs() { |
127 return groupIDs; |
125 return groupIDs == null ? null : groupIDs.clone(); |
128 } |
126 } |
129 |
127 |
130 /** |
128 /** |
131 * Get an impersonation token for the current NT user. |
129 * Get an impersonation token for the current NT user. |
132 * |
130 * |