< prev index next >

## src/java.security.jgss/share/classes/javax/security/auth/kerberos/DelegationPermission.java

Print this page

    @@ -1,7 +1,7 @@
      /*
    -  * Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
    +  * Copyright (c) 2000, 2021, 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

    @@ -216,20 +216,27 @@

          /**
           * WriteObject is called to save the state of the DelegationPermission
           * to a stream. The actions are serialized, and the superclass
           * takes care of the name.
    +      *
    +      * @param  s the {@code ObjectOutputStream} to which data is written
    +      * @throws IOException if an I/O error occurs
           */
          private synchronized void writeObject(java.io.ObjectOutputStream s)
              throws IOException
          {
              s.defaultWriteObject();
          }

          /**
           * readObject is called to restore the state of the
           * DelegationPermission from a stream.
    +      *
    +      * @param  s the {@code ObjectInputStream} from which data is read
    +      * @throws IOException if an I/O error occurs
    +      * @throws ClassNotFoundException if a serialized class cannot be loaded
           */
          private synchronized void readObject(java.io.ObjectInputStream s)
               throws IOException, ClassNotFoundException
          {
              // Read in the action, then initialize the rest

< prev index next >