Java Code Examples for org.omg.CORBA.Principal

The following are top voted examples for showing how to use org.omg.CORBA.Principal. These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples.
Example 1
Project: OpenJSharp   File: RequestMessage_1_1.java   View source code 6 votes vote down vote up
RequestMessage_1_1(ORB orb, ServiceContexts _service_contexts,
        int _request_id, boolean _response_expected, byte[] _reserved,
        byte[] _object_key, String _operation,
        Principal _requesting_principal) {
    super(Message.GIOPBigMagic, GIOPVersion.V1_1, FLAG_NO_FRAG_BIG_ENDIAN,
        Message.GIOPRequest, 0);
    this.orb = orb;
    this.wrapper = ORBUtilSystemException.get( orb,
        CORBALogDomains.RPC_PROTOCOL ) ;
    service_contexts = _service_contexts;
    request_id = _request_id;
    response_expected = _response_expected;
    reserved = _reserved;
    object_key = _object_key;
    operation = _operation;
    requesting_principal = _requesting_principal;
}
 
Example 2
Project: openjdk-jdk10   File: RequestMessage_1_1.java   View source code 6 votes vote down vote up
RequestMessage_1_1(ORB orb, ServiceContexts _service_contexts,
        int _request_id, boolean _response_expected, byte[] _reserved,
        byte[] _object_key, String _operation,
        Principal _requesting_principal) {
    super(Message.GIOPBigMagic, GIOPVersion.V1_1, FLAG_NO_FRAG_BIG_ENDIAN,
        Message.GIOPRequest, 0);
    this.orb = orb;
    this.wrapper = ORBUtilSystemException.get( orb,
        CORBALogDomains.RPC_PROTOCOL ) ;
    service_contexts = _service_contexts;
    request_id = _request_id;
    response_expected = _response_expected;
    reserved = _reserved;
    object_key = _object_key;
    operation = _operation;
    requesting_principal = _requesting_principal;
}
 
Example 3
Project: openjdk9   File: RequestMessage_1_1.java   View source code 6 votes vote down vote up
RequestMessage_1_1(ORB orb, ServiceContexts _service_contexts,
        int _request_id, boolean _response_expected, byte[] _reserved,
        byte[] _object_key, String _operation,
        Principal _requesting_principal) {
    super(Message.GIOPBigMagic, GIOPVersion.V1_1, FLAG_NO_FRAG_BIG_ENDIAN,
        Message.GIOPRequest, 0);
    this.orb = orb;
    this.wrapper = ORBUtilSystemException.get( orb,
        CORBALogDomains.RPC_PROTOCOL ) ;
    service_contexts = _service_contexts;
    request_id = _request_id;
    response_expected = _response_expected;
    reserved = _reserved;
    object_key = _object_key;
    operation = _operation;
    requesting_principal = _requesting_principal;
}
 
Example 4
Project: lookaside_java-1.8.0-openjdk   File: RequestMessage_1_1.java   View source code 6 votes vote down vote up
RequestMessage_1_1(ORB orb, ServiceContexts _service_contexts,
        int _request_id, boolean _response_expected, byte[] _reserved,
        byte[] _object_key, String _operation,
        Principal _requesting_principal) {
    super(Message.GIOPBigMagic, GIOPVersion.V1_1, FLAG_NO_FRAG_BIG_ENDIAN,
        Message.GIOPRequest, 0);
    this.orb = orb;
    this.wrapper = ORBUtilSystemException.get( orb,
        CORBALogDomains.RPC_PROTOCOL ) ;
    service_contexts = _service_contexts;
    request_id = _request_id;
    response_expected = _response_expected;
    reserved = _reserved;
    object_key = _object_key;
    operation = _operation;
    requesting_principal = _requesting_principal;
}
 
Example 5
Project: jdk8u_corba   File: RequestMessage_1_1.java   View source code 6 votes vote down vote up
RequestMessage_1_1(ORB orb, ServiceContexts _service_contexts,
        int _request_id, boolean _response_expected, byte[] _reserved,
        byte[] _object_key, String _operation,
        Principal _requesting_principal) {
    super(Message.GIOPBigMagic, GIOPVersion.V1_1, FLAG_NO_FRAG_BIG_ENDIAN,
        Message.GIOPRequest, 0);
    this.orb = orb;
    this.wrapper = ORBUtilSystemException.get( orb,
        CORBALogDomains.RPC_PROTOCOL ) ;
    service_contexts = _service_contexts;
    request_id = _request_id;
    response_expected = _response_expected;
    reserved = _reserved;
    object_key = _object_key;
    operation = _operation;
    requesting_principal = _requesting_principal;
}
 
Example 6
Project: infobip-open-jdk-8   File: RequestMessage_1_1.java   View source code 6 votes vote down vote up
RequestMessage_1_1(ORB orb, ServiceContexts _service_contexts,
        int _request_id, boolean _response_expected, byte[] _reserved,
        byte[] _object_key, String _operation,
        Principal _requesting_principal) {
    super(Message.GIOPBigMagic, GIOPVersion.V1_1, FLAG_NO_FRAG_BIG_ENDIAN,
        Message.GIOPRequest, 0);
    this.orb = orb;
    this.wrapper = ORBUtilSystemException.get( orb,
        CORBALogDomains.RPC_PROTOCOL ) ;
    service_contexts = _service_contexts;
    request_id = _request_id;
    response_expected = _response_expected;
    reserved = _reserved;
    object_key = _object_key;
    operation = _operation;
    requesting_principal = _requesting_principal;
}
 
Example 7
Project: openjdk-source-code-learn   File: RequestMessage_1_1.java   View source code 6 votes vote down vote up
RequestMessage_1_1(ORB orb, ServiceContexts _service_contexts,
        int _request_id, boolean _response_expected, byte[] _reserved,
        byte[] _object_key, String _operation,
        Principal _requesting_principal) {
    super(Message.GIOPBigMagic, GIOPVersion.V1_1, FLAG_NO_FRAG_BIG_ENDIAN,
        Message.GIOPRequest, 0);
    this.orb = orb;
    this.wrapper = ORBUtilSystemException.get( orb,
        CORBALogDomains.RPC_PROTOCOL ) ;
    service_contexts = _service_contexts;
    request_id = _request_id;
    response_expected = _response_expected;
    reserved = _reserved;
    object_key = _object_key;
    operation = _operation;
    requesting_principal = _requesting_principal;
}
 
Example 8
Project: OLD-OpenJDK8   File: RequestMessage_1_1.java   View source code 6 votes vote down vote up
RequestMessage_1_1(ORB orb, ServiceContexts _service_contexts,
        int _request_id, boolean _response_expected, byte[] _reserved,
        byte[] _object_key, String _operation,
        Principal _requesting_principal) {
    super(Message.GIOPBigMagic, GIOPVersion.V1_1, FLAG_NO_FRAG_BIG_ENDIAN,
        Message.GIOPRequest, 0);
    this.orb = orb;
    this.wrapper = ORBUtilSystemException.get( orb,
        CORBALogDomains.RPC_PROTOCOL ) ;
    service_contexts = _service_contexts;
    request_id = _request_id;
    response_expected = _response_expected;
    reserved = _reserved;
    object_key = _object_key;
    operation = _operation;
    requesting_principal = _requesting_principal;
}
 
Example 9
Project: openjdk-orb   File: RequestMessage_1_1.java   View source code 6 votes vote down vote up
RequestMessage_1_1(ORB orb, ServiceContexts _service_contexts,
        int _request_id, boolean _response_expected, byte[] _reserved,
        byte[] _object_key, String _operation,
        Principal _requesting_principal) {
    super(Message.GIOPBigMagic, GIOPVersion.V1_1, FLAG_NO_FRAG_BIG_ENDIAN,
        Message.GIOPRequest, 0);
    this.orb = orb;
    this.wrapper = ORBUtilSystemException.get( orb,
        CORBALogDomains.RPC_PROTOCOL ) ;
    service_contexts = _service_contexts;
    request_id = _request_id;
    response_expected = _response_expected;
    reserved = _reserved;
    object_key = _object_key;
    operation = _operation;
    requesting_principal = _requesting_principal;
}
 
Example 10
Project: openjdk-icedtea7   File: RequestMessage_1_1.java   View source code 6 votes vote down vote up
RequestMessage_1_1(ORB orb, ServiceContexts _service_contexts,
        int _request_id, boolean _response_expected, byte[] _reserved,
        byte[] _object_key, String _operation,
        Principal _requesting_principal) {
    super(Message.GIOPBigMagic, GIOPVersion.V1_1, FLAG_NO_FRAG_BIG_ENDIAN,
        Message.GIOPRequest, 0);
    this.orb = orb;
    this.wrapper = ORBUtilSystemException.get( orb,
        CORBALogDomains.RPC_PROTOCOL ) ;
    service_contexts = _service_contexts;
    request_id = _request_id;
    response_expected = _response_expected;
    reserved = _reserved;
    object_key = _object_key;
    operation = _operation;
    requesting_principal = _requesting_principal;
}
 
Example 11
Project: OpenJSharp   File: AnyImpl.java   View source code 5 votes vote down vote up
/**
 * @deprecated
 */
@Deprecated
public void insert_Principal(Principal p)
{
    typeCode = orb.get_primitive_tc(TCKind._tk_Principal);
    object = p;
    isInitialized = true;
}
 
Example 12
Project: OpenJSharp   File: AnyImpl.java   View source code 5 votes vote down vote up
/**
 * @deprecated
 */
@Deprecated
public Principal extract_Principal()
{
    checkExtractBadOperation( TCKind._tk_Principal ) ;
    return (Principal)object;
}
 
Example 13
Project: OpenJSharp   File: RequestMessage_1_0.java   View source code 5 votes vote down vote up
RequestMessage_1_0(ORB orb, ServiceContexts _service_contexts,
        int _request_id, boolean _response_expected, byte[] _object_key,
        String _operation, Principal _requesting_principal) {
    super(Message.GIOPBigMagic, false, Message.GIOPRequest, 0);
    this.orb = orb;
    service_contexts = _service_contexts;
    request_id = _request_id;
    response_expected = _response_expected;
    object_key = _object_key;
    operation = _operation;
    requesting_principal = _requesting_principal;
}
 
Example 14
Project: OpenJSharp   File: IDLJavaSerializationInputStream.java   View source code 5 votes vote down vote up
public Principal read_Principal() {
    // We don't need an implementation for this method, since principal
    // is absent in GIOP version 1.2 or above.
    int len = read_long();
    byte[] pvalue = new byte[len];
    read_octet_array(pvalue,0,len);
    Principal p = new com.sun.corba.se.impl.corba.PrincipalImpl();
    p.name(pvalue);
    return p;
}
 
Example 15
Project: OpenJSharp   File: CDRInputStream_1_0.java   View source code 5 votes vote down vote up
public Principal read_Principal() {
    int len = read_long();
    byte[] pvalue = new byte[len];
    read_octet_array(pvalue,0,len);

    Principal p = new PrincipalImpl();
    p.name(pvalue);
    return p;
}
 
Example 16
Project: openjdk-jdk10   File: AnyImpl.java   View source code 5 votes vote down vote up
/**
 * @deprecated
 */
@Deprecated
public void insert_Principal(Principal p)
{
    typeCode = orb.get_primitive_tc(TCKind._tk_Principal);
    object = p;
    isInitialized = true;
}
 
Example 17
Project: openjdk-jdk10   File: AnyImpl.java   View source code 5 votes vote down vote up
/**
 * @deprecated
 */
@Deprecated
public Principal extract_Principal()
{
    checkExtractBadOperation( TCKind._tk_Principal ) ;
    return (Principal)object;
}
 
Example 18
Project: openjdk-jdk10   File: RequestMessage_1_0.java   View source code 5 votes vote down vote up
RequestMessage_1_0(ORB orb, ServiceContexts _service_contexts,
        int _request_id, boolean _response_expected, byte[] _object_key,
        String _operation, Principal _requesting_principal) {
    super(Message.GIOPBigMagic, false, Message.GIOPRequest, 0);
    this.orb = orb;
    service_contexts = _service_contexts;
    request_id = _request_id;
    response_expected = _response_expected;
    object_key = _object_key;
    operation = _operation;
    requesting_principal = _requesting_principal;
}
 
Example 19
Project: openjdk-jdk10   File: IDLJavaSerializationInputStream.java   View source code 5 votes vote down vote up
public Principal read_Principal() {
    // We don't need an implementation for this method, since principal
    // is absent in GIOP version 1.2 or above.
    int len = read_long();
    byte[] pvalue = new byte[len];
    read_octet_array(pvalue,0,len);
    Principal p = new com.sun.corba.se.impl.corba.PrincipalImpl();
    p.name(pvalue);
    return p;
}
 
Example 20
Project: openjdk-jdk10   File: CDRInputStream_1_0.java   View source code 5 votes vote down vote up
public Principal read_Principal() {
    int len = read_long();
    byte[] pvalue = new byte[len];
    read_octet_array(pvalue,0,len);

    Principal p = new PrincipalImpl();
    p.name(pvalue);
    return p;
}
 
Example 21
Project: openjdk9   File: AnyImpl.java   View source code 5 votes vote down vote up
/**
 * @deprecated
 */
@Deprecated
public void insert_Principal(Principal p)
{
    typeCode = orb.get_primitive_tc(TCKind._tk_Principal);
    object = p;
    isInitialized = true;
}
 
Example 22
Project: openjdk9   File: AnyImpl.java   View source code 5 votes vote down vote up
/**
 * @deprecated
 */
@Deprecated
public Principal extract_Principal()
{
    checkExtractBadOperation( TCKind._tk_Principal ) ;
    return (Principal)object;
}
 
Example 23
Project: openjdk9   File: RequestMessage_1_0.java   View source code 5 votes vote down vote up
RequestMessage_1_0(ORB orb, ServiceContexts _service_contexts,
        int _request_id, boolean _response_expected, byte[] _object_key,
        String _operation, Principal _requesting_principal) {
    super(Message.GIOPBigMagic, false, Message.GIOPRequest, 0);
    this.orb = orb;
    service_contexts = _service_contexts;
    request_id = _request_id;
    response_expected = _response_expected;
    object_key = _object_key;
    operation = _operation;
    requesting_principal = _requesting_principal;
}
 
Example 24
Project: openjdk9   File: IDLJavaSerializationInputStream.java   View source code 5 votes vote down vote up
public Principal read_Principal() {
    // We don't need an implementation for this method, since principal
    // is absent in GIOP version 1.2 or above.
    int len = read_long();
    byte[] pvalue = new byte[len];
    read_octet_array(pvalue,0,len);
    Principal p = new com.sun.corba.se.impl.corba.PrincipalImpl();
    p.name(pvalue);
    return p;
}
 
Example 25
Project: openjdk9   File: CDRInputStream_1_0.java   View source code 5 votes vote down vote up
public Principal read_Principal() {
    int len = read_long();
    byte[] pvalue = new byte[len];
    read_octet_array(pvalue,0,len);

    Principal p = new PrincipalImpl();
    p.name(pvalue);
    return p;
}
 
Example 26
Project: lookaside_java-1.8.0-openjdk   File: AnyImpl.java   View source code 5 votes vote down vote up
/**
 * @deprecated
 */
@Deprecated
public void insert_Principal(Principal p)
{
    typeCode = orb.get_primitive_tc(TCKind._tk_Principal);
    object = p;
    isInitialized = true;
}
 
Example 27
Project: lookaside_java-1.8.0-openjdk   File: AnyImpl.java   View source code 5 votes vote down vote up
/**
 * @deprecated
 */
@Deprecated
public Principal extract_Principal()
{
    checkExtractBadOperation( TCKind._tk_Principal ) ;
    return (Principal)object;
}
 
Example 28
Project: lookaside_java-1.8.0-openjdk   File: RequestMessage_1_0.java   View source code 5 votes vote down vote up
RequestMessage_1_0(ORB orb, ServiceContexts _service_contexts,
        int _request_id, boolean _response_expected, byte[] _object_key,
        String _operation, Principal _requesting_principal) {
    super(Message.GIOPBigMagic, false, Message.GIOPRequest, 0);
    this.orb = orb;
    service_contexts = _service_contexts;
    request_id = _request_id;
    response_expected = _response_expected;
    object_key = _object_key;
    operation = _operation;
    requesting_principal = _requesting_principal;
}
 
Example 29
Project: lookaside_java-1.8.0-openjdk   File: IDLJavaSerializationInputStream.java   View source code 5 votes vote down vote up
public Principal read_Principal() {
    // We don't need an implementation for this method, since principal
    // is absent in GIOP version 1.2 or above.
    int len = read_long();
    byte[] pvalue = new byte[len];
    read_octet_array(pvalue,0,len);
    Principal p = new com.sun.corba.se.impl.corba.PrincipalImpl();
    p.name(pvalue);
    return p;
}
 
Example 30
Project: lookaside_java-1.8.0-openjdk   File: CDRInputStream_1_0.java   View source code 5 votes vote down vote up
public Principal read_Principal() {
    int len = read_long();
    byte[] pvalue = new byte[len];
    read_octet_array(pvalue,0,len);

    Principal p = new PrincipalImpl();
    p.name(pvalue);
    return p;
}
 
Example 31
Project: jdk8u_corba   File: AnyImpl.java   View source code 5 votes vote down vote up
/**
 * @deprecated
 */
@Deprecated
public void insert_Principal(Principal p)
{
    typeCode = orb.get_primitive_tc(TCKind._tk_Principal);
    object = p;
    isInitialized = true;
}
 
Example 32
Project: jdk8u_corba   File: AnyImpl.java   View source code 5 votes vote down vote up
/**
 * @deprecated
 */
@Deprecated
public Principal extract_Principal()
{
    checkExtractBadOperation( TCKind._tk_Principal ) ;
    return (Principal)object;
}
 
Example 33
Project: jdk8u_corba   File: RequestMessage_1_0.java   View source code 5 votes vote down vote up
RequestMessage_1_0(ORB orb, ServiceContexts _service_contexts,
        int _request_id, boolean _response_expected, byte[] _object_key,
        String _operation, Principal _requesting_principal) {
    super(Message.GIOPBigMagic, false, Message.GIOPRequest, 0);
    this.orb = orb;
    service_contexts = _service_contexts;
    request_id = _request_id;
    response_expected = _response_expected;
    object_key = _object_key;
    operation = _operation;
    requesting_principal = _requesting_principal;
}
 
Example 34
Project: jdk8u_corba   File: IDLJavaSerializationInputStream.java   View source code 5 votes vote down vote up
public Principal read_Principal() {
    // We don't need an implementation for this method, since principal
    // is absent in GIOP version 1.2 or above.
    int len = read_long();
    byte[] pvalue = new byte[len];
    read_octet_array(pvalue,0,len);
    Principal p = new com.sun.corba.se.impl.corba.PrincipalImpl();
    p.name(pvalue);
    return p;
}
 
Example 35
Project: jdk8u_corba   File: CDRInputStream_1_0.java   View source code 5 votes vote down vote up
public Principal read_Principal() {
    int len = read_long();
    byte[] pvalue = new byte[len];
    read_octet_array(pvalue,0,len);

    Principal p = new PrincipalImpl();
    p.name(pvalue);
    return p;
}
 
Example 36
Project: giv-planner   File: Test75.java   View source code 5 votes vote down vote up
/**
 * @deprecated
 */
@Deprecated
public void insert_Principal(Principal p)
{
typeCode = orb.get_primitive_tc(TCKind._tk_Principal);
object = p;
isInitialized = true;
}
 
Example 37
Project: giv-planner   File: Test75.java   View source code 5 votes vote down vote up
/**
 * @deprecated
 */
@Deprecated
public Principal extract_Principal()
{
checkExtractBadOperation( TCKind._tk_Principal ) ;
return (Principal)object;
}
 
Example 38
Project: infobip-open-jdk-8   File: AnyImpl.java   View source code 5 votes vote down vote up
/**
 * @deprecated
 */
@Deprecated
public void insert_Principal(Principal p)
{
    typeCode = orb.get_primitive_tc(TCKind._tk_Principal);
    object = p;
    isInitialized = true;
}
 
Example 39
Project: infobip-open-jdk-8   File: AnyImpl.java   View source code 5 votes vote down vote up
/**
 * @deprecated
 */
@Deprecated
public Principal extract_Principal()
{
    checkExtractBadOperation( TCKind._tk_Principal ) ;
    return (Principal)object;
}
 
Example 40
Project: infobip-open-jdk-8   File: RequestMessage_1_0.java   View source code 5 votes vote down vote up
RequestMessage_1_0(ORB orb, ServiceContexts _service_contexts,
        int _request_id, boolean _response_expected, byte[] _object_key,
        String _operation, Principal _requesting_principal) {
    super(Message.GIOPBigMagic, false, Message.GIOPRequest, 0);
    this.orb = orb;
    service_contexts = _service_contexts;
    request_id = _request_id;
    response_expected = _response_expected;
    object_key = _object_key;
    operation = _operation;
    requesting_principal = _requesting_principal;
}