1. /*
  2. * @(#)Principal.java 1.17 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package org.omg.CORBA;
  8. /**
  9. * A class that contains information about the identity of
  10. * the client, for access control
  11. * and other purposes. It contains a single attribute, the name of the
  12. * <code>Principal</code>, encoded as a sequence of bytes.
  13. * <P>
  14. * @deprecated Deprecated by CORBA 2.2.
  15. */
  16. public class Principal {
  17. /**
  18. * Sets the name of this <code>Principal</code> object to the given value.
  19. * @param value the value to be set in the <code>Principal</code>
  20. * @deprecated Deprecated by CORBA 2.2.
  21. */
  22. public void name(byte[] value) {
  23. throw new org.omg.CORBA.NO_IMPLEMENT() ;
  24. }
  25. /**
  26. * Gets the name of this <code>Principal</code> object.
  27. * @return the name of this <code>Principal</code> object
  28. * @deprecated Deprecated by CORBA 2.2.
  29. */
  30. public byte[] name() {
  31. throw new org.omg.CORBA.NO_IMPLEMENT() ;
  32. }
  33. }