1. /*
  2. * @(#)Principal.java 1.19 04/05/18
  3. *
  4. * Copyright 2004 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. @Deprecated
  17. public class Principal {
  18. /**
  19. * Sets the name of this <code>Principal</code> object to the given value.
  20. * @param value the value to be set in the <code>Principal</code>
  21. * @deprecated Deprecated by CORBA 2.2.
  22. */
  23. @Deprecated
  24. public void name(byte[] value) {
  25. throw new org.omg.CORBA.NO_IMPLEMENT() ;
  26. }
  27. /**
  28. * Gets the name of this <code>Principal</code> object.
  29. * @return the name of this <code>Principal</code> object
  30. * @deprecated Deprecated by CORBA 2.2.
  31. */
  32. @Deprecated
  33. public byte[] name() {
  34. throw new org.omg.CORBA.NO_IMPLEMENT() ;
  35. }
  36. }