jdk/src/java.base/share/classes/java/security/acl/Owner.java
changeset 43541 9aeb1de77a63
parent 39334 e5e90a7fe509
child 45434 4582657c7260
equal deleted inserted replaced
43540:3b6ae4a56de2 43541:9aeb1de77a63
     1 /*
     1 /*
     2  * Copyright (c) 1996, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1996, 2017, 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
    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}
    39  * @deprecated This package has been replaced by {@code java.security.Policy}
    40  *      and related classes since 1.2.
    40  *      and related classes since 1.2.
    41  *      This class is subject to removal in a future version of Java SE.
       
    42  */
    41  */
    43 @Deprecated(since="9", forRemoval=true)
    42 @Deprecated(since="9")
    44 public interface Owner {
    43 public interface Owner {
    45 
    44 
    46     /**
    45     /**
    47      * Adds an owner. Only owners can modify ACL contents. The caller
    46      * Adds an owner. Only owners can modify ACL contents. The caller
    48      * 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.