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