/*
* @(#)Principal.java 1.19 04/05/18
*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package org.omg.CORBA;
/**
* A class that contains information about the identity of
* the client, for access control
* and other purposes. It contains a single attribute, the name of the
* Principal
, encoded as a sequence of bytes.
*
* @deprecated Deprecated by CORBA 2.2.
*/
@Deprecated
public class Principal {
/**
* Sets the name of this Principal
object to the given value.
* @param value the value to be set in the Principal
* @deprecated Deprecated by CORBA 2.2.
*/
@Deprecated
public void name(byte[] value) {
throw new org.omg.CORBA.NO_IMPLEMENT() ;
}
/**
* Gets the name of this Principal
object.
* @return the name of this Principal
object
* @deprecated Deprecated by CORBA 2.2.
*/
@Deprecated
public byte[] name() {
throw new org.omg.CORBA.NO_IMPLEMENT() ;
}
}