src/share/classes/java/security/acl/Group.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1996, 2004, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 33,43 **** * represents an entity such as an individual user or a company). <p> * * Note that Group extends Principal. Thus, either a Principal or a Group can * be passed as an argument to methods containing a Principal parameter. For * example, you can add either a Principal or a Group to a Group object by ! * calling the object's <code>addMember</code> method, passing it the * Principal or Group. * * @author Satish Dharmaraj */ public interface Group extends Principal { --- 33,43 ---- * represents an entity such as an individual user or a company). <p> * * Note that Group extends Principal. Thus, either a Principal or a Group can * be passed as an argument to methods containing a Principal parameter. For * example, you can add either a Principal or a Group to a Group object by ! * calling the object's {@code addMember} method, passing it the * Principal or Group. * * @author Satish Dharmaraj */ public interface Group extends Principal {