equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1996, 2015, 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 |
34 * interface.) The initial owner Principal should be specified as an |
34 * interface.) The initial owner Principal should be specified as an |
35 * argument to the constructor of the class implementing this interface. |
35 * argument to the constructor of the class implementing this interface. |
36 * |
36 * |
37 * @see java.security.acl.Acl |
37 * @see java.security.acl.Acl |
38 * |
38 * |
|
39 * @deprecated This package has been replaced by {@code java.security.Policy} |
|
40 * and related classes since 1.2. |
39 */ |
41 */ |
|
42 @Deprecated |
40 public interface Owner { |
43 public interface Owner { |
41 |
44 |
42 /** |
45 /** |
43 * Adds an owner. Only owners can modify ACL contents. The caller |
46 * Adds an owner. Only owners can modify ACL contents. The caller |
44 * principal must be an owner of the ACL in order to invoke this method. |
47 * principal must be an owner of the ACL in order to invoke this method. |