org.omg.CORBA
Class Principal

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by org.omg.CORBA.Principal

Deprecated. Deprecated by CORBA 2.2.

@Deprecated
public class Principal
extends Object sample code for java.lang.Object definition code for java.lang.Object

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.


Constructor Summary
Principal sample code for org.omg.CORBA.Principal.Principal() definition code for org.omg.CORBA.Principal.Principal() ()
          Deprecated.  
 
Method Summary
 byte[] name sample code for org.omg.CORBA.Principal.name() definition code for org.omg.CORBA.Principal.name() ()
          Deprecated. Deprecated by CORBA 2.2.
 void name sample code for org.omg.CORBA.Principal.name(byte[]) definition code for org.omg.CORBA.Principal.name(byte[]) (byte[] value)
          Deprecated. Deprecated by CORBA 2.2.
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

Principal sample code for org.omg.CORBA.Principal() definition code for org.omg.CORBA.Principal()

public Principal()
Deprecated. 
Method Detail

name sample code for org.omg.CORBA.Principal.name(byte[]) definition code for org.omg.CORBA.Principal.name(byte[])

@Deprecated
public void name(byte[] value)
Deprecated. Deprecated by CORBA 2.2.

Sets the name of this Principal object to the given value.

Parameters:
value - the value to be set in the Principal

name sample code for org.omg.CORBA.Principal.name() definition code for org.omg.CORBA.Principal.name()

@Deprecated
public byte[] name()
Deprecated. Deprecated by CORBA 2.2.

Gets the name of this Principal object.

Returns:
the name of this Principal object