FileDocCategorySizeDatePackage
Principal.javaAPI DocJava SE 5 API1101Fri Aug 26 14:58:32 BST 2005org.omg.CORBA

Principal.java

/*
 * @(#)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
 * <code>Principal</code>, encoded as a sequence of bytes.
 * <P>
 * @deprecated Deprecated by CORBA 2.2.
 */
@Deprecated
public class Principal {
    /**
     * Sets the name of this <code>Principal</code> object to the given value.
     * @param value the value to be set in the <code>Principal</code>
     * @deprecated Deprecated by CORBA 2.2.
     */
    @Deprecated
    public void name(byte[] value) {
	throw new org.omg.CORBA.NO_IMPLEMENT() ;
    }

    /**
     * Gets the name of this <code>Principal</code> object.
     * @return the name of this <code>Principal</code> object
     * @deprecated Deprecated by CORBA 2.2.
     */
    @Deprecated
    public byte[] name() {
	throw new org.omg.CORBA.NO_IMPLEMENT() ;
    }
}