jdk/src/java.base/share/classes/java/security/acl/Owner.java
changeset 39334 e5e90a7fe509
parent 29377 d3f457ce9c48
child 43541 9aeb1de77a63
equal deleted inserted replaced
39333:78532748e54a 39334:e5e90a7fe509
     1 /*
     1 /*
     2  * Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1996, 2016, 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.
    41  */
    42  */
    42 @Deprecated
    43 @Deprecated(since="9", forRemoval=true)
    43 public interface Owner {
    44 public interface Owner {
    44 
    45 
    45     /**
    46     /**
    46      * Adds an owner. Only owners can modify ACL contents. The caller
    47      * Adds an owner. Only owners can modify ACL contents. The caller
    47      * principal must be an owner of the ACL in order to invoke this method.
    48      * principal must be an owner of the ACL in order to invoke this method.