From yoko-commits-return-86-apmail-incubator-yoko-commits-archive=incubator.apache.org@incubator.apache.org Tue May 30 13:21:04 2006 Return-Path: Delivered-To: apmail-incubator-yoko-commits-archive@locus.apache.org Received: (qmail 7502 invoked from network); 30 May 2006 13:21:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 May 2006 13:21:04 -0000 Received: (qmail 8194 invoked by uid 500); 30 May 2006 13:21:03 -0000 Delivered-To: apmail-incubator-yoko-commits-archive@incubator.apache.org Received: (qmail 8156 invoked by uid 500); 30 May 2006 13:21:03 -0000 Mailing-List: contact yoko-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yoko-dev@incubator.apache.org Delivered-To: mailing list yoko-commits@incubator.apache.org Received: (qmail 8146 invoked by uid 99); 30 May 2006 13:21:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 May 2006 06:21:03 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 May 2006 06:20:56 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 16CB41A984E; Tue, 30 May 2006 06:20:36 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r410273 [5/7] - in /incubator/yoko/trunk/core/src/main/java/org/omg: CSI/ CSIIOP/ GSSUP/ SSLIOP/ Security/ SecurityLevel1/ SecurityLevel2/ Date: Tue, 30 May 2006 13:19:33 -0000 To: yoko-commits@incubator.apache.org From: ahj@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060530132036.16CB41A984E@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/GSS_NT_ExportedNameHolder.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/GSS_NT_ExportedNameHolder.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/GSS_NT_ExportedNameHolder.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/GSS_NT_ExportedNameHolder.java Tue May 30 06:19:19 2006 @@ -0,0 +1,26 @@ +package org.omg.Security; +final public class GSS_NT_ExportedNameHolder + implements org.omg.CORBA.portable.Streamable +{ + public byte[] value; + + public GSS_NT_ExportedNameHolder () + { + } + public GSS_NT_ExportedNameHolder (byte[] initial) + { + value = initial; + } + public org.omg.CORBA.TypeCode _type() + { + return GSS_NT_ExportedNameHelper.type(); + } + public void _read(org.omg.CORBA.portable.InputStream in) + { + value = GSS_NT_ExportedNameHelper.read(in); + } + public void _write(org.omg.CORBA.portable.OutputStream out) + { + GSS_NT_ExportedNameHelper.write(out,value); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/GroupId.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/GroupId.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/GroupId.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/GroupId.java Tue May 30 06:19:19 2006 @@ -0,0 +1,10 @@ +package org.omg.Security; +/** + * Generated by the JacORB IDL compiler + * from an IDL const definition + */ + +public interface GroupId +{ + int value = 4; +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/IdentityAssertion.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/IdentityAssertion.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/IdentityAssertion.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/IdentityAssertion.java Tue May 30 06:19:19 2006 @@ -0,0 +1,9 @@ +package org.omg.Security; +/** + * Generated by the JacORB IDL compiler + * from an IDL const definition + */ + +public interface IdentityAssertion +{ + short value = (short)(1024);} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/Initiator.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/Initiator.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/Initiator.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/Initiator.java Tue May 30 06:19:19 2006 @@ -0,0 +1,10 @@ +package org.omg.Security; +/** + * Generated by the JacORB IDL compiler + * from an IDL const definition + */ + +public interface Initiator +{ + int value = 4; +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/Integrity.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/Integrity.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/Integrity.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/Integrity.java Tue May 30 06:19:19 2006 @@ -0,0 +1,9 @@ +package org.omg.Security; +/** + * Generated by the JacORB IDL compiler + * from an IDL const definition + */ + +public interface Integrity +{ + short value = (short)(2);} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/InterfaceName.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/InterfaceName.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/InterfaceName.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/InterfaceName.java Tue May 30 06:19:19 2006 @@ -0,0 +1,10 @@ +package org.omg.Security; +/** + * Generated by the JacORB IDL compiler + * from an IDL const definition + */ + +public interface InterfaceName +{ + int value = 1; +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/IntervalTHelper.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/IntervalTHelper.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/IntervalTHelper.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/IntervalTHelper.java Tue May 30 06:19:19 2006 @@ -0,0 +1,49 @@ +package org.omg.Security; +public class IntervalTHelper +{ + private static org.omg.CORBA.TypeCode _type = org.omg.CORBA.ORB.init().create_alias_tc( org.omg.Security.IntervalTHelper.id(),"IntervalT",org.omg.CORBA.ORB.init().create_struct_tc(org.omg.TimeBase.IntervalTHelper.id(),"IntervalT",new org.omg.CORBA.StructMember[]{new org.omg.CORBA.StructMember("lower_bound",org.omg.CORBA.ORB.init().create_alias_tc( org.omg.TimeBase.TimeTHelper.id(),"TimeT",org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(23))),null),new org.omg.CORBA.StructMember("upper_bound",org.omg.CORBA.ORB.init().create_alias_tc( org.omg.TimeBase.TimeTHelper.id(),"TimeT",org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(23))),null)})); + public IntervalTHelper () + { + } + public static void insert(org.omg.CORBA.Any any, org.omg.TimeBase.IntervalT s) + { + any.type(type()); + write( any.create_output_stream(),s); + } + public static org.omg.TimeBase.IntervalT extract(org.omg.CORBA.Any any) + { + return read(any.create_input_stream()); + } + public static org.omg.CORBA.TypeCode type() + { + return _type; + } + public String get_id() + { + return id(); + } + public org.omg.CORBA.TypeCode get_type() + { + return type(); + } + public void write_Object(org.omg.CORBA.portable.OutputStream out, java.lang.Object obj) + { + throw new RuntimeException(" not implemented"); + } + public java.lang.Object read_Object(org.omg.CORBA.portable.InputStream in) + { + throw new RuntimeException(" not implemented"); + } + public static String id() + { + return "IDL:omg.org/Security/IntervalT:1.0"; + } + public static org.omg.TimeBase.IntervalT read(org.omg.CORBA.portable.InputStream _in) + { + return org.omg.TimeBase.IntervalTHelper.read(_in); + } + public static void write(org.omg.CORBA.portable.OutputStream _out, org.omg.TimeBase.IntervalT _s) + { + org.omg.TimeBase.IntervalTHelper.write(_out,_s); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/IntervalTHolder.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/IntervalTHolder.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/IntervalTHolder.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/IntervalTHolder.java Tue May 30 06:19:19 2006 @@ -0,0 +1,26 @@ +package org.omg.Security; +final public class IntervalTHolder + implements org.omg.CORBA.portable.Streamable +{ + public org.omg.TimeBase.IntervalT value; + + public IntervalTHolder () + { + } + public IntervalTHolder (org.omg.TimeBase.IntervalT initial) + { + value = initial; + } + public org.omg.CORBA.TypeCode _type() + { + return IntervalTHelper.type(); + } + public void _read(org.omg.CORBA.portable.InputStream in) + { + value = IntervalTHelper.read(in); + } + public void _write(org.omg.CORBA.portable.OutputStream out) + { + IntervalTHelper.write(out,value); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/InvocationCredentialsType.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/InvocationCredentialsType.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/InvocationCredentialsType.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/InvocationCredentialsType.java Tue May 30 06:19:19 2006 @@ -0,0 +1,26 @@ +package org.omg.Security; +public final class InvocationCredentialsType + implements org.omg.CORBA.portable.IDLEntity +{ + private int value = -1; + public static final int _SecOwnCredentials = 0; + public static final InvocationCredentialsType SecOwnCredentials = new InvocationCredentialsType(_SecOwnCredentials); + public static final int _SecReceivedCredentials = 1; + public static final InvocationCredentialsType SecReceivedCredentials = new InvocationCredentialsType(_SecReceivedCredentials); + public int value() + { + return value; + } + public static InvocationCredentialsType from_int(int value) + { + switch (value) { + case _SecOwnCredentials: return SecOwnCredentials; + case _SecReceivedCredentials: return SecReceivedCredentials; + default: throw new org.omg.CORBA.BAD_PARAM(); + } + } + protected InvocationCredentialsType(int i) + { + value = i; + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/InvocationCredentialsTypeHelper.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/InvocationCredentialsTypeHelper.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/InvocationCredentialsTypeHelper.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/InvocationCredentialsTypeHelper.java Tue May 30 06:19:19 2006 @@ -0,0 +1,49 @@ +package org.omg.Security; +public class InvocationCredentialsTypeHelper +{ + private static org.omg.CORBA.TypeCode _type = org.omg.CORBA.ORB.init().create_enum_tc(org.omg.Security.InvocationCredentialsTypeHelper.id(),"InvocationCredentialsType",new String[]{"SecOwnCredentials","SecReceivedCredentials"}); + public InvocationCredentialsTypeHelper () + { + } + public static void insert(org.omg.CORBA.Any any, org.omg.Security.InvocationCredentialsType s) + { + any.type(type()); + write( any.create_output_stream(),s); + } + public static org.omg.Security.InvocationCredentialsType extract(org.omg.CORBA.Any any) + { + return read(any.create_input_stream()); + } + public static org.omg.CORBA.TypeCode type() + { + return _type; + } + public String get_id() + { + return id(); + } + public org.omg.CORBA.TypeCode get_type() + { + return type(); + } + public void write_Object(org.omg.CORBA.portable.OutputStream out, java.lang.Object obj) + { + throw new RuntimeException(" not implemented"); + } + public java.lang.Object read_Object(org.omg.CORBA.portable.InputStream in) + { + throw new RuntimeException(" not implemented"); + } + public static String id() + { + return "IDL:omg.org/Security/InvocationCredentialsType:1.0"; + } + public static InvocationCredentialsType read(org.omg.CORBA.portable.InputStream in) + { + return InvocationCredentialsType.from_int( in.read_long()); + } + public static void write(org.omg.CORBA.portable.OutputStream out, InvocationCredentialsType s) + { + out.write_long(s.value()); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/InvocationCredentialsTypeHolder.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/InvocationCredentialsTypeHolder.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/InvocationCredentialsTypeHolder.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/InvocationCredentialsTypeHolder.java Tue May 30 06:19:19 2006 @@ -0,0 +1,26 @@ +package org.omg.Security; +final public class InvocationCredentialsTypeHolder + implements org.omg.CORBA.portable.Streamable +{ + public InvocationCredentialsType value; + + public InvocationCredentialsTypeHolder () + { + } + public InvocationCredentialsTypeHolder (InvocationCredentialsType initial) + { + value = initial; + } + public org.omg.CORBA.TypeCode _type() + { + return InvocationCredentialsTypeHelper.type(); + } + public void _read(org.omg.CORBA.portable.InputStream in) + { + value = InvocationCredentialsTypeHelper.read(in); + } + public void _write(org.omg.CORBA.portable.OutputStream out) + { + InvocationCredentialsTypeHelper.write(out,value); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechandOptions.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechandOptions.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechandOptions.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechandOptions.java Tue May 30 06:19:19 2006 @@ -0,0 +1,13 @@ +package org.omg.Security; +public final class MechandOptions + implements org.omg.CORBA.portable.IDLEntity +{ + public MechandOptions(){} + public java.lang.String mechanism_type; + public short options_supported; + public MechandOptions(java.lang.String mechanism_type, short options_supported) + { + this.mechanism_type = mechanism_type; + this.options_supported = options_supported; + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechandOptionsHelper.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechandOptionsHelper.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechandOptionsHelper.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechandOptionsHelper.java Tue May 30 06:19:19 2006 @@ -0,0 +1,53 @@ +package org.omg.Security; +public class MechandOptionsHelper +{ + private static org.omg.CORBA.TypeCode _type = org.omg.CORBA.ORB.init().create_struct_tc(org.omg.Security.MechandOptionsHelper.id(),"MechandOptions",new org.omg.CORBA.StructMember[]{new org.omg.CORBA.StructMember("mechanism_type",org.omg.CORBA.ORB.init().create_alias_tc( org.omg.Security.MechanismTypeHelper.id(),"MechanismType",org.omg.CORBA.ORB.init().create_string_tc(0)),null),new org.omg.CORBA.StructMember("options_supported",org.omg.CORBA.ORB.init().create_alias_tc( org.omg.Security.AssociationOptionsHelper.id(),"AssociationOptions",org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(2))),null)}); + public MechandOptionsHelper () + { + } + public static void insert(org.omg.CORBA.Any any, org.omg.Security.MechandOptions s) + { + any.type(type()); + write( any.create_output_stream(),s); + } + public static org.omg.Security.MechandOptions extract(org.omg.CORBA.Any any) + { + return read(any.create_input_stream()); + } + public static org.omg.CORBA.TypeCode type() + { + return _type; + } + public String get_id() + { + return id(); + } + public org.omg.CORBA.TypeCode get_type() + { + return type(); + } + public void write_Object(org.omg.CORBA.portable.OutputStream out, java.lang.Object obj) + { + throw new RuntimeException(" not implemented"); + } + public java.lang.Object read_Object(org.omg.CORBA.portable.InputStream in) + { + throw new RuntimeException(" not implemented"); + } + public static String id() + { + return "IDL:omg.org/Security/MechandOptions:1.0"; + } + public static org.omg.Security.MechandOptions read(org.omg.CORBA.portable.InputStream in) + { + org.omg.Security.MechandOptions result = new org.omg.Security.MechandOptions(); + result.mechanism_type = org.omg.Security.MechanismTypeHelper.read(in); + result.options_supported=in.read_short(); + return result; + } + public static void write(org.omg.CORBA.portable.OutputStream out, org.omg.Security.MechandOptions s) + { +org.omg.Security.MechanismTypeHelper.write(out,s.mechanism_type); +out.write_short(s.options_supported); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechandOptionsHolder.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechandOptionsHolder.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechandOptionsHolder.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechandOptionsHolder.java Tue May 30 06:19:19 2006 @@ -0,0 +1,26 @@ +package org.omg.Security; +final public class MechandOptionsHolder + implements org.omg.CORBA.portable.Streamable +{ + public org.omg.Security.MechandOptions value; + + public MechandOptionsHolder () + { + } + public MechandOptionsHolder (org.omg.Security.MechandOptions initial) + { + value = initial; + } + public org.omg.CORBA.TypeCode _type() + { + return org.omg.Security.MechandOptionsHelper.type(); + } + public void _read(org.omg.CORBA.portable.InputStream _in) + { + value = org.omg.Security.MechandOptionsHelper.read(_in); + } + public void _write(org.omg.CORBA.portable.OutputStream _out) + { + org.omg.Security.MechandOptionsHelper.write(_out,value); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechandOptionsListHelper.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechandOptionsListHelper.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechandOptionsListHelper.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechandOptionsListHelper.java Tue May 30 06:19:19 2006 @@ -0,0 +1,63 @@ +package org.omg.Security; +public class MechandOptionsListHelper +{ + private static org.omg.CORBA.TypeCode _type = org.omg.CORBA.ORB.init().create_alias_tc( org.omg.Security.MechandOptionsListHelper.id(),"MechandOptionsList",org.omg.CORBA.ORB.init().create_sequence_tc(0, org.omg.CORBA.ORB.init().create_struct_tc(org.omg.Security.MechandOptionsHelper.id(),"MechandOptions",new org.omg.CORBA.StructMember[]{new org.omg.CORBA.StructMember("mechanism_type",org.omg.CORBA.ORB.init().create_alias_tc( org.omg.Security.MechanismTypeHelper.id(),"MechanismType",org.omg.CORBA.ORB.init().create_string_tc(0)),null),new org.omg.CORBA.StructMember("options_supported",org.omg.CORBA.ORB.init().create_alias_tc( org.omg.Security.AssociationOptionsHelper.id(),"AssociationOptions",org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(2))),null)}))); + public MechandOptionsListHelper () + { + } + public static void insert(org.omg.CORBA.Any any, org.omg.Security.MechandOptions[] s) + { + any.type(type()); + write( any.create_output_stream(),s); + } + public static org.omg.Security.MechandOptions[] extract(org.omg.CORBA.Any any) + { + return read(any.create_input_stream()); + } + public static org.omg.CORBA.TypeCode type() + { + return _type; + } + public String get_id() + { + return id(); + } + public org.omg.CORBA.TypeCode get_type() + { + return type(); + } + public void write_Object(org.omg.CORBA.portable.OutputStream out, java.lang.Object obj) + { + throw new RuntimeException(" not implemented"); + } + public java.lang.Object read_Object(org.omg.CORBA.portable.InputStream in) + { + throw new RuntimeException(" not implemented"); + } + public static String id() + { + return "IDL:omg.org/Security/MechandOptionsList:1.0"; + } + public static org.omg.Security.MechandOptions[] read(org.omg.CORBA.portable.InputStream _in) + { + org.omg.Security.MechandOptions[] _result; + int _l_result = _in.read_long(); + _result = new org.omg.Security.MechandOptions[_l_result]; + for(int i=0;i<_result.length;i++) + { + _result[i]=org.omg.Security.MechandOptionsHelper.read(_in); + } + + return _result; + } + public static void write(org.omg.CORBA.portable.OutputStream _out, org.omg.Security.MechandOptions[] _s) + { + + _out.write_long(_s.length); + for( int i=0; i<_s.length;i++) + { + org.omg.Security.MechandOptionsHelper.write(_out,_s[i]); + } + + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechandOptionsListHolder.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechandOptionsListHolder.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechandOptionsListHolder.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechandOptionsListHolder.java Tue May 30 06:19:19 2006 @@ -0,0 +1,26 @@ +package org.omg.Security; +final public class MechandOptionsListHolder + implements org.omg.CORBA.portable.Streamable +{ + public org.omg.Security.MechandOptions[] value; + + public MechandOptionsListHolder () + { + } + public MechandOptionsListHolder (org.omg.Security.MechandOptions[] initial) + { + value = initial; + } + public org.omg.CORBA.TypeCode _type() + { + return MechandOptionsListHelper.type(); + } + public void _read(org.omg.CORBA.portable.InputStream in) + { + value = MechandOptionsListHelper.read(in); + } + public void _write(org.omg.CORBA.portable.OutputStream out) + { + MechandOptionsListHelper.write(out,value); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechanismTypeHelper.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechanismTypeHelper.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechanismTypeHelper.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechanismTypeHelper.java Tue May 30 06:19:19 2006 @@ -0,0 +1,50 @@ +package org.omg.Security; +public class MechanismTypeHelper +{ + private static org.omg.CORBA.TypeCode _type = org.omg.CORBA.ORB.init().create_alias_tc( org.omg.Security.MechanismTypeHelper.id(),"MechanismType",org.omg.CORBA.ORB.init().create_string_tc(0)); + public MechanismTypeHelper () + { + } + public static void insert(org.omg.CORBA.Any any, java.lang.String s) + { + any.insert_string(s); + } + public static java.lang.String extract(org.omg.CORBA.Any any) + { + return any.extract_string(); + } + public static org.omg.CORBA.TypeCode type() + { + return _type; + } + public String get_id() + { + return id(); + } + public org.omg.CORBA.TypeCode get_type() + { + return type(); + } + public void write_Object(org.omg.CORBA.portable.OutputStream out, java.lang.Object obj) + { + throw new RuntimeException(" not implemented"); + } + public java.lang.Object read_Object(org.omg.CORBA.portable.InputStream in) + { + throw new RuntimeException(" not implemented"); + } + public static String id() + { + return "IDL:omg.org/Security/MechanismType:1.0"; + } + public static java.lang.String read(org.omg.CORBA.portable.InputStream _in) + { + java.lang.String _result; + _result=_in.read_string(); + return _result; + } + public static void write(org.omg.CORBA.portable.OutputStream _out, java.lang.String _s) + { + _out.write_string(_s); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechanismTypeListHelper.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechanismTypeListHelper.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechanismTypeListHelper.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechanismTypeListHelper.java Tue May 30 06:19:19 2006 @@ -0,0 +1,63 @@ +package org.omg.Security; +public class MechanismTypeListHelper +{ + private static org.omg.CORBA.TypeCode _type = org.omg.CORBA.ORB.init().create_alias_tc( org.omg.Security.MechanismTypeListHelper.id(),"MechanismTypeList",org.omg.CORBA.ORB.init().create_sequence_tc(0, org.omg.CORBA.ORB.init().create_alias_tc( org.omg.Security.MechanismTypeHelper.id(),"MechanismType",org.omg.CORBA.ORB.init().create_string_tc(0)))); + public MechanismTypeListHelper () + { + } + public static void insert(org.omg.CORBA.Any any, java.lang.String[] s) + { + any.type(type()); + write( any.create_output_stream(),s); + } + public static java.lang.String[] extract(org.omg.CORBA.Any any) + { + return read(any.create_input_stream()); + } + public static org.omg.CORBA.TypeCode type() + { + return _type; + } + public String get_id() + { + return id(); + } + public org.omg.CORBA.TypeCode get_type() + { + return type(); + } + public void write_Object(org.omg.CORBA.portable.OutputStream out, java.lang.Object obj) + { + throw new RuntimeException(" not implemented"); + } + public java.lang.Object read_Object(org.omg.CORBA.portable.InputStream in) + { + throw new RuntimeException(" not implemented"); + } + public static String id() + { + return "IDL:omg.org/Security/MechanismTypeList:1.0"; + } + public static java.lang.String[] read(org.omg.CORBA.portable.InputStream _in) + { + java.lang.String[] _result; + int _l_result = _in.read_long(); + _result = new java.lang.String[_l_result]; + for(int i=0;i<_result.length;i++) + { + _result[i] = org.omg.Security.MechanismTypeHelper.read(_in); + } + + return _result; + } + public static void write(org.omg.CORBA.portable.OutputStream _out, java.lang.String[] _s) + { + + _out.write_long(_s.length); + for( int i=0; i<_s.length;i++) + { + org.omg.Security.MechanismTypeHelper.write(_out,_s[i]); + } + + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechanismTypeListHolder.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechanismTypeListHolder.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechanismTypeListHolder.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/MechanismTypeListHolder.java Tue May 30 06:19:19 2006 @@ -0,0 +1,26 @@ +package org.omg.Security; +final public class MechanismTypeListHolder + implements org.omg.CORBA.portable.Streamable +{ + public java.lang.String[] value; + + public MechanismTypeListHolder () + { + } + public MechanismTypeListHolder (java.lang.String[] initial) + { + value = initial; + } + public org.omg.CORBA.TypeCode _type() + { + return MechanismTypeListHelper.type(); + } + public void _read(org.omg.CORBA.portable.InputStream in) + { + value = MechanismTypeListHelper.read(in); + } + public void _write(org.omg.CORBA.portable.OutputStream out) + { + MechanismTypeListHelper.write(out,value); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/NameValueHelper.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/NameValueHelper.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/NameValueHelper.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/NameValueHelper.java Tue May 30 06:19:19 2006 @@ -0,0 +1,48 @@ +package org.omg.Security; +public class NameValueHelper +{ + private static org.omg.CORBA.TypeCode _type = org.omg.CORBA.ORB.init().create_alias_tc( org.omg.Security.NameValueHelper.id(),"NameValue",org.omg.CORBA.ORB.init().create_alias_tc( org.omg.Security.UTF8StringHelper.id(),"UTF8String",org.omg.CORBA.ORB.init().create_sequence_tc(0, org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(10))))); + public NameValueHelper () + { + } + public static void insert(org.omg.CORBA.Any any, byte[] s) + { + org.omg.Security.UTF8StringHelper.insert(any,s); + } + public static byte[] extract(org.omg.CORBA.Any any) + { + return org.omg.Security.UTF8StringHelper.extract(any); + } + public static org.omg.CORBA.TypeCode type() + { + return _type; + } + public String get_id() + { + return id(); + } + public org.omg.CORBA.TypeCode get_type() + { + return type(); + } + public void write_Object(org.omg.CORBA.portable.OutputStream out, java.lang.Object obj) + { + throw new RuntimeException(" not implemented"); + } + public java.lang.Object read_Object(org.omg.CORBA.portable.InputStream in) + { + throw new RuntimeException(" not implemented"); + } + public static String id() + { + return "IDL:omg.org/Security/NameValue:1.0"; + } + public static byte[] read(org.omg.CORBA.portable.InputStream _in) + { + return org.omg.Security.UTF8StringHelper.read(_in); + } + public static void write(org.omg.CORBA.portable.OutputStream _out, byte[] _s) + { + org.omg.Security.UTF8StringHelper.write(_out,_s); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/NameValueHolder.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/NameValueHolder.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/NameValueHolder.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/NameValueHolder.java Tue May 30 06:19:19 2006 @@ -0,0 +1,26 @@ +package org.omg.Security; +final public class NameValueHolder + implements org.omg.CORBA.portable.Streamable +{ + public byte[] value; + + public NameValueHolder () + { + } + public NameValueHolder (byte[] initial) + { + value = initial; + } + public org.omg.CORBA.TypeCode _type() + { + return NameValueHelper.type(); + } + public void _read(org.omg.CORBA.portable.InputStream in) + { + value = NameValueHelper.read(in); + } + public void _write(org.omg.CORBA.portable.OutputStream out) + { + NameValueHelper.write(out,value); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/NoDelegation.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/NoDelegation.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/NoDelegation.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/NoDelegation.java Tue May 30 06:19:19 2006 @@ -0,0 +1,9 @@ +package org.omg.Security; +/** + * Generated by the JacORB IDL compiler + * from an IDL const definition + */ + +public interface NoDelegation +{ + short value = (short)(128);} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/NoProtection.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/NoProtection.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/NoProtection.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/NoProtection.java Tue May 30 06:19:19 2006 @@ -0,0 +1,9 @@ +package org.omg.Security; +/** + * Generated by the JacORB IDL compiler + * from an IDL const definition + */ + +public interface NoProtection +{ + short value = (short)(1);} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/NonRepudiation.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/NonRepudiation.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/NonRepudiation.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/NonRepudiation.java Tue May 30 06:19:19 2006 @@ -0,0 +1,9 @@ +package org.omg.Security; +/** + * Generated by the JacORB IDL compiler + * from an IDL const definition + */ + +public interface NonRepudiation +{ + short value = (short)(3);} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/NonRepudiationId.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/NonRepudiationId.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/NonRepudiationId.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/NonRepudiationId.java Tue May 30 06:19:19 2006 @@ -0,0 +1,10 @@ +package org.omg.Security; +/** + * Generated by the JacORB IDL compiler + * from an IDL const definition + */ + +public interface NonRepudiationId +{ + int value = 3; +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/OIDHelper.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/OIDHelper.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/OIDHelper.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/OIDHelper.java Tue May 30 06:19:19 2006 @@ -0,0 +1,55 @@ +package org.omg.Security; +public class OIDHelper +{ + private static org.omg.CORBA.TypeCode _type = org.omg.CORBA.ORB.init().create_alias_tc( org.omg.Security.OIDHelper.id(),"OID",org.omg.CORBA.ORB.init().create_sequence_tc(0, org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(10)))); + public OIDHelper () + { + } + public static void insert(org.omg.CORBA.Any any, byte[] s) + { + any.type(type()); + write( any.create_output_stream(),s); + } + public static byte[] extract(org.omg.CORBA.Any any) + { + return read(any.create_input_stream()); + } + public static org.omg.CORBA.TypeCode type() + { + return _type; + } + public String get_id() + { + return id(); + } + public org.omg.CORBA.TypeCode get_type() + { + return type(); + } + public void write_Object(org.omg.CORBA.portable.OutputStream out, java.lang.Object obj) + { + throw new RuntimeException(" not implemented"); + } + public java.lang.Object read_Object(org.omg.CORBA.portable.InputStream in) + { + throw new RuntimeException(" not implemented"); + } + public static String id() + { + return "IDL:omg.org/Security/OID:1.0"; + } + public static byte[] read(org.omg.CORBA.portable.InputStream _in) + { + byte[] _result; + int _l_result = _in.read_long(); + _result = new byte[_l_result]; + _in.read_octet_array(_result,0,_l_result); + return _result; + } + public static void write(org.omg.CORBA.portable.OutputStream _out, byte[] _s) + { + + _out.write_long(_s.length); +_out.write_octet_array(_s,0,_s.length); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/OIDHolder.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/OIDHolder.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/OIDHolder.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/OIDHolder.java Tue May 30 06:19:19 2006 @@ -0,0 +1,26 @@ +package org.omg.Security; +final public class OIDHolder + implements org.omg.CORBA.portable.Streamable +{ + public byte[] value; + + public OIDHolder () + { + } + public OIDHolder (byte[] initial) + { + value = initial; + } + public org.omg.CORBA.TypeCode _type() + { + return OIDHelper.type(); + } + public void _read(org.omg.CORBA.portable.InputStream in) + { + value = OIDHelper.read(in); + } + public void _write(org.omg.CORBA.portable.OutputStream out) + { + OIDHelper.write(out,value); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/ObjectRef.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/ObjectRef.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/ObjectRef.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/ObjectRef.java Tue May 30 06:19:19 2006 @@ -0,0 +1,10 @@ +package org.omg.Security; +/** + * Generated by the JacORB IDL compiler + * from an IDL const definition + */ + +public interface ObjectRef +{ + int value = 2; +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/OpaqueBuffer.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/OpaqueBuffer.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/OpaqueBuffer.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/OpaqueBuffer.java Tue May 30 06:19:19 2006 @@ -0,0 +1,15 @@ +package org.omg.Security; +public final class OpaqueBuffer + implements org.omg.CORBA.portable.IDLEntity +{ + public OpaqueBuffer(){} + public byte[] buffer; + public int startpos; + public int endpos; + public OpaqueBuffer(byte[] buffer, int startpos, int endpos) + { + this.buffer = buffer; + this.startpos = startpos; + this.endpos = endpos; + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/OpaqueBufferHelper.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/OpaqueBufferHelper.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/OpaqueBufferHelper.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/OpaqueBufferHelper.java Tue May 30 06:19:19 2006 @@ -0,0 +1,55 @@ +package org.omg.Security; +public class OpaqueBufferHelper +{ + private static org.omg.CORBA.TypeCode _type = org.omg.CORBA.ORB.init().create_struct_tc(org.omg.Security.OpaqueBufferHelper.id(),"OpaqueBuffer",new org.omg.CORBA.StructMember[]{new org.omg.CORBA.StructMember("buffer",org.omg.CORBA.ORB.init().create_alias_tc( org.omg.Security.OpaqueHelper.id(),"Opaque",org.omg.CORBA.ORB.init().create_sequence_tc(0, org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(10)))),null),new org.omg.CORBA.StructMember("startpos",org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(3)),null),new org.omg.CORBA.StructMember("endpos",org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(3)),null)}); + public OpaqueBufferHelper () + { + } + public static void insert(org.omg.CORBA.Any any, org.omg.Security.OpaqueBuffer s) + { + any.type(type()); + write( any.create_output_stream(),s); + } + public static org.omg.Security.OpaqueBuffer extract(org.omg.CORBA.Any any) + { + return read(any.create_input_stream()); + } + public static org.omg.CORBA.TypeCode type() + { + return _type; + } + public String get_id() + { + return id(); + } + public org.omg.CORBA.TypeCode get_type() + { + return type(); + } + public void write_Object(org.omg.CORBA.portable.OutputStream out, java.lang.Object obj) + { + throw new RuntimeException(" not implemented"); + } + public java.lang.Object read_Object(org.omg.CORBA.portable.InputStream in) + { + throw new RuntimeException(" not implemented"); + } + public static String id() + { + return "IDL:omg.org/Security/OpaqueBuffer:1.0"; + } + public static org.omg.Security.OpaqueBuffer read(org.omg.CORBA.portable.InputStream in) + { + org.omg.Security.OpaqueBuffer result = new org.omg.Security.OpaqueBuffer(); + result.buffer = org.omg.Security.OpaqueHelper.read(in); + result.startpos=in.read_long(); + result.endpos=in.read_long(); + return result; + } + public static void write(org.omg.CORBA.portable.OutputStream out, org.omg.Security.OpaqueBuffer s) + { +org.omg.Security.OpaqueHelper.write(out,s.buffer); +out.write_long(s.startpos); +out.write_long(s.endpos); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/OpaqueBufferHolder.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/OpaqueBufferHolder.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/OpaqueBufferHolder.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/OpaqueBufferHolder.java Tue May 30 06:19:19 2006 @@ -0,0 +1,26 @@ +package org.omg.Security; +final public class OpaqueBufferHolder + implements org.omg.CORBA.portable.Streamable +{ + public org.omg.Security.OpaqueBuffer value; + + public OpaqueBufferHolder () + { + } + public OpaqueBufferHolder (org.omg.Security.OpaqueBuffer initial) + { + value = initial; + } + public org.omg.CORBA.TypeCode _type() + { + return org.omg.Security.OpaqueBufferHelper.type(); + } + public void _read(org.omg.CORBA.portable.InputStream _in) + { + value = org.omg.Security.OpaqueBufferHelper.read(_in); + } + public void _write(org.omg.CORBA.portable.OutputStream _out) + { + org.omg.Security.OpaqueBufferHelper.write(_out,value); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/OpaqueHelper.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/OpaqueHelper.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/OpaqueHelper.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/OpaqueHelper.java Tue May 30 06:19:19 2006 @@ -0,0 +1,55 @@ +package org.omg.Security; +public class OpaqueHelper +{ + private static org.omg.CORBA.TypeCode _type = org.omg.CORBA.ORB.init().create_alias_tc( org.omg.Security.OpaqueHelper.id(),"Opaque",org.omg.CORBA.ORB.init().create_sequence_tc(0, org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(10)))); + public OpaqueHelper () + { + } + public static void insert(org.omg.CORBA.Any any, byte[] s) + { + any.type(type()); + write( any.create_output_stream(),s); + } + public static byte[] extract(org.omg.CORBA.Any any) + { + return read(any.create_input_stream()); + } + public static org.omg.CORBA.TypeCode type() + { + return _type; + } + public String get_id() + { + return id(); + } + public org.omg.CORBA.TypeCode get_type() + { + return type(); + } + public void write_Object(org.omg.CORBA.portable.OutputStream out, java.lang.Object obj) + { + throw new RuntimeException(" not implemented"); + } + public java.lang.Object read_Object(org.omg.CORBA.portable.InputStream in) + { + throw new RuntimeException(" not implemented"); + } + public static String id() + { + return "IDL:omg.org/Security/Opaque:1.0"; + } + public static byte[] read(org.omg.CORBA.portable.InputStream _in) + { + byte[] _result; + int _l_result = _in.read_long(); + _result = new byte[_l_result]; + _in.read_octet_array(_result,0,_l_result); + return _result; + } + public static void write(org.omg.CORBA.portable.OutputStream _out, byte[] _s) + { + + _out.write_long(_s.length); +_out.write_octet_array(_s,0,_s.length); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/OpaqueHolder.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/OpaqueHolder.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/OpaqueHolder.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/OpaqueHolder.java Tue May 30 06:19:19 2006 @@ -0,0 +1,26 @@ +package org.omg.Security; +final public class OpaqueHolder + implements org.omg.CORBA.portable.Streamable +{ + public byte[] value; + + public OpaqueHolder () + { + } + public OpaqueHolder (byte[] initial) + { + value = initial; + } + public org.omg.CORBA.TypeCode _type() + { + return OpaqueHelper.type(); + } + public void _read(org.omg.CORBA.portable.InputStream in) + { + value = OpaqueHelper.read(in); + } + public void _write(org.omg.CORBA.portable.OutputStream out) + { + OpaqueHelper.write(out,value); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/Operation.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/Operation.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/Operation.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/Operation.java Tue May 30 06:19:19 2006 @@ -0,0 +1,10 @@ +package org.omg.Security; +/** + * Generated by the JacORB IDL compiler + * from an IDL const definition + */ + +public interface Operation +{ + int value = 3; +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/OptionsDirectionPair.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/OptionsDirectionPair.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/OptionsDirectionPair.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/OptionsDirectionPair.java Tue May 30 06:19:19 2006 @@ -0,0 +1,13 @@ +package org.omg.Security; +public final class OptionsDirectionPair + implements org.omg.CORBA.portable.IDLEntity +{ + public OptionsDirectionPair(){} + public short options; + public org.omg.Security.CommunicationDirection direction; + public OptionsDirectionPair(short options, org.omg.Security.CommunicationDirection direction) + { + this.options = options; + this.direction = direction; + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/OptionsDirectionPairHelper.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/OptionsDirectionPairHelper.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/OptionsDirectionPairHelper.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/OptionsDirectionPairHelper.java Tue May 30 06:19:19 2006 @@ -0,0 +1,53 @@ +package org.omg.Security; +public class OptionsDirectionPairHelper +{ + private static org.omg.CORBA.TypeCode _type = org.omg.CORBA.ORB.init().create_struct_tc(org.omg.Security.OptionsDirectionPairHelper.id(),"OptionsDirectionPair",new org.omg.CORBA.StructMember[]{new org.omg.CORBA.StructMember("options",org.omg.CORBA.ORB.init().create_alias_tc( org.omg.Security.AssociationOptionsHelper.id(),"AssociationOptions",org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(2))),null),new org.omg.CORBA.StructMember("direction",org.omg.CORBA.ORB.init().create_enum_tc(org.omg.Security.CommunicationDirectionHelper.id(),"CommunicationDirection",new String[]{"SecDirectionBoth","SecDirectionRequest","SecDirectionReply"}),null)}); + public OptionsDirectionPairHelper () + { + } + public static void insert(org.omg.CORBA.Any any, org.omg.Security.OptionsDirectionPair s) + { + any.type(type()); + write( any.create_output_stream(),s); + } + public static org.omg.Security.OptionsDirectionPair extract(org.omg.CORBA.Any any) + { + return read(any.create_input_stream()); + } + public static org.omg.CORBA.TypeCode type() + { + return _type; + } + public String get_id() + { + return id(); + } + public org.omg.CORBA.TypeCode get_type() + { + return type(); + } + public void write_Object(org.omg.CORBA.portable.OutputStream out, java.lang.Object obj) + { + throw new RuntimeException(" not implemented"); + } + public java.lang.Object read_Object(org.omg.CORBA.portable.InputStream in) + { + throw new RuntimeException(" not implemented"); + } + public static String id() + { + return "IDL:omg.org/Security/OptionsDirectionPair:1.0"; + } + public static org.omg.Security.OptionsDirectionPair read(org.omg.CORBA.portable.InputStream in) + { + org.omg.Security.OptionsDirectionPair result = new org.omg.Security.OptionsDirectionPair(); + result.options=in.read_short(); + result.direction=org.omg.Security.CommunicationDirectionHelper.read(in); + return result; + } + public static void write(org.omg.CORBA.portable.OutputStream out, org.omg.Security.OptionsDirectionPair s) + { +out.write_short(s.options); +org.omg.Security.CommunicationDirectionHelper.write(out,s.direction); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/OptionsDirectionPairHolder.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/OptionsDirectionPairHolder.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/OptionsDirectionPairHolder.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/OptionsDirectionPairHolder.java Tue May 30 06:19:19 2006 @@ -0,0 +1,26 @@ +package org.omg.Security; +final public class OptionsDirectionPairHolder + implements org.omg.CORBA.portable.Streamable +{ + public org.omg.Security.OptionsDirectionPair value; + + public OptionsDirectionPairHolder () + { + } + public OptionsDirectionPairHolder (org.omg.Security.OptionsDirectionPair initial) + { + value = initial; + } + public org.omg.CORBA.TypeCode _type() + { + return org.omg.Security.OptionsDirectionPairHelper.type(); + } + public void _read(org.omg.CORBA.portable.InputStream _in) + { + value = org.omg.Security.OptionsDirectionPairHelper.read(_in); + } + public void _write(org.omg.CORBA.portable.OutputStream _out) + { + org.omg.Security.OptionsDirectionPairHelper.write(_out,value); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/OptionsDirectionPairListHelper.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/OptionsDirectionPairListHelper.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/OptionsDirectionPairListHelper.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/OptionsDirectionPairListHelper.java Tue May 30 06:19:19 2006 @@ -0,0 +1,63 @@ +package org.omg.Security; +public class OptionsDirectionPairListHelper +{ + private static org.omg.CORBA.TypeCode _type = org.omg.CORBA.ORB.init().create_alias_tc( org.omg.Security.OptionsDirectionPairListHelper.id(),"OptionsDirectionPairList",org.omg.CORBA.ORB.init().create_sequence_tc(0, org.omg.CORBA.ORB.init().create_struct_tc(org.omg.Security.OptionsDirectionPairHelper.id(),"OptionsDirectionPair",new org.omg.CORBA.StructMember[]{new org.omg.CORBA.StructMember("options",org.omg.CORBA.ORB.init().create_alias_tc( org.omg.Security.AssociationOptionsHelper.id(),"AssociationOptions",org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(2))),null),new org.omg.CORBA.StructMember("direction",org.omg.CORBA.ORB.init().create_enum_tc(org.omg.Security.CommunicationDirectionHelper.id(),"CommunicationDirection",new String[]{"SecDirectionBoth","SecDirectionRequest","SecDirectionReply"}),null)}))); + public OptionsDirectionPairListHelper () + { + } + public static void insert(org.omg.CORBA.Any any, org.omg.Security.OptionsDirectionPair[] s) + { + any.type(type()); + write( any.create_output_stream(),s); + } + public static org.omg.Security.OptionsDirectionPair[] extract(org.omg.CORBA.Any any) + { + return read(any.create_input_stream()); + } + public static org.omg.CORBA.TypeCode type() + { + return _type; + } + public String get_id() + { + return id(); + } + public org.omg.CORBA.TypeCode get_type() + { + return type(); + } + public void write_Object(org.omg.CORBA.portable.OutputStream out, java.lang.Object obj) + { + throw new RuntimeException(" not implemented"); + } + public java.lang.Object read_Object(org.omg.CORBA.portable.InputStream in) + { + throw new RuntimeException(" not implemented"); + } + public static String id() + { + return "IDL:omg.org/Security/OptionsDirectionPairList:1.0"; + } + public static org.omg.Security.OptionsDirectionPair[] read(org.omg.CORBA.portable.InputStream _in) + { + org.omg.Security.OptionsDirectionPair[] _result; + int _l_result = _in.read_long(); + _result = new org.omg.Security.OptionsDirectionPair[_l_result]; + for(int i=0;i<_result.length;i++) + { + _result[i]=org.omg.Security.OptionsDirectionPairHelper.read(_in); + } + + return _result; + } + public static void write(org.omg.CORBA.portable.OutputStream _out, org.omg.Security.OptionsDirectionPair[] _s) + { + + _out.write_long(_s.length); + for( int i=0; i<_s.length;i++) + { + org.omg.Security.OptionsDirectionPairHelper.write(_out,_s[i]); + } + + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/OptionsDirectionPairListHolder.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/OptionsDirectionPairListHolder.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/OptionsDirectionPairListHolder.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/OptionsDirectionPairListHolder.java Tue May 30 06:19:19 2006 @@ -0,0 +1,26 @@ +package org.omg.Security; +final public class OptionsDirectionPairListHolder + implements org.omg.CORBA.portable.Streamable +{ + public org.omg.Security.OptionsDirectionPair[] value; + + public OptionsDirectionPairListHolder () + { + } + public OptionsDirectionPairListHolder (org.omg.Security.OptionsDirectionPair[] initial) + { + value = initial; + } + public org.omg.CORBA.TypeCode _type() + { + return OptionsDirectionPairListHelper.type(); + } + public void _read(org.omg.CORBA.portable.InputStream in) + { + value = OptionsDirectionPairListHelper.read(in); + } + public void _write(org.omg.CORBA.portable.OutputStream out) + { + OptionsDirectionPairListHelper.write(out,value); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/PrimaryGroupId.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/PrimaryGroupId.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/PrimaryGroupId.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/PrimaryGroupId.java Tue May 30 06:19:19 2006 @@ -0,0 +1,10 @@ +package org.omg.Security; +/** + * Generated by the JacORB IDL compiler + * from an IDL const definition + */ + +public interface PrimaryGroupId +{ + int value = 3; +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/Public.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/Public.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/Public.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/Public.java Tue May 30 06:19:19 2006 @@ -0,0 +1,10 @@ +package org.omg.Security; +/** + * Generated by the JacORB IDL compiler + * from an IDL const definition + */ + +public interface Public +{ + int value = 1; +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/QOP.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/QOP.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/QOP.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/QOP.java Tue May 30 06:19:19 2006 @@ -0,0 +1,32 @@ +package org.omg.Security; +public final class QOP + implements org.omg.CORBA.portable.IDLEntity +{ + private int value = -1; + public static final int _SecQOPNoProtection = 0; + public static final QOP SecQOPNoProtection = new QOP(_SecQOPNoProtection); + public static final int _SecQOPIntegrity = 1; + public static final QOP SecQOPIntegrity = new QOP(_SecQOPIntegrity); + public static final int _SecQOPConfidentiality = 2; + public static final QOP SecQOPConfidentiality = new QOP(_SecQOPConfidentiality); + public static final int _SecQOPIntegrityAndConfidentiality = 3; + public static final QOP SecQOPIntegrityAndConfidentiality = new QOP(_SecQOPIntegrityAndConfidentiality); + public int value() + { + return value; + } + public static QOP from_int(int value) + { + switch (value) { + case _SecQOPNoProtection: return SecQOPNoProtection; + case _SecQOPIntegrity: return SecQOPIntegrity; + case _SecQOPConfidentiality: return SecQOPConfidentiality; + case _SecQOPIntegrityAndConfidentiality: return SecQOPIntegrityAndConfidentiality; + default: throw new org.omg.CORBA.BAD_PARAM(); + } + } + protected QOP(int i) + { + value = i; + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/QOPHelper.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/QOPHelper.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/QOPHelper.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/QOPHelper.java Tue May 30 06:19:19 2006 @@ -0,0 +1,49 @@ +package org.omg.Security; +public class QOPHelper +{ + private static org.omg.CORBA.TypeCode _type = org.omg.CORBA.ORB.init().create_enum_tc(org.omg.Security.QOPHelper.id(),"QOP",new String[]{"SecQOPNoProtection","SecQOPIntegrity","SecQOPConfidentiality","SecQOPIntegrityAndConfidentiality"}); + public QOPHelper () + { + } + public static void insert(org.omg.CORBA.Any any, org.omg.Security.QOP s) + { + any.type(type()); + write( any.create_output_stream(),s); + } + public static org.omg.Security.QOP extract(org.omg.CORBA.Any any) + { + return read(any.create_input_stream()); + } + public static org.omg.CORBA.TypeCode type() + { + return _type; + } + public String get_id() + { + return id(); + } + public org.omg.CORBA.TypeCode get_type() + { + return type(); + } + public void write_Object(org.omg.CORBA.portable.OutputStream out, java.lang.Object obj) + { + throw new RuntimeException(" not implemented"); + } + public java.lang.Object read_Object(org.omg.CORBA.portable.InputStream in) + { + throw new RuntimeException(" not implemented"); + } + public static String id() + { + return "IDL:omg.org/Security/QOP:1.0"; + } + public static QOP read(org.omg.CORBA.portable.InputStream in) + { + return QOP.from_int( in.read_long()); + } + public static void write(org.omg.CORBA.portable.OutputStream out, QOP s) + { + out.write_long(s.value()); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/QOPHolder.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/QOPHolder.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/QOPHolder.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/QOPHolder.java Tue May 30 06:19:19 2006 @@ -0,0 +1,26 @@ +package org.omg.Security; +final public class QOPHolder + implements org.omg.CORBA.portable.Streamable +{ + public QOP value; + + public QOPHolder () + { + } + public QOPHolder (QOP initial) + { + value = initial; + } + public org.omg.CORBA.TypeCode _type() + { + return QOPHelper.type(); + } + public void _read(org.omg.CORBA.portable.InputStream in) + { + value = QOPHelper.read(in); + } + public void _write(org.omg.CORBA.portable.OutputStream out) + { + QOPHelper.write(out,value); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/ReplaceORBServices.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/ReplaceORBServices.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/ReplaceORBServices.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/ReplaceORBServices.java Tue May 30 06:19:19 2006 @@ -0,0 +1,9 @@ +package org.omg.Security; +/** + * Generated by the JacORB IDL compiler + * from an IDL const definition + */ + +public interface ReplaceORBServices +{ + short value = (short)(6);} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/ReplaceSecurityServices.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/ReplaceSecurityServices.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/ReplaceSecurityServices.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/ReplaceSecurityServices.java Tue May 30 06:19:19 2006 @@ -0,0 +1,9 @@ +package org.omg.Security; +/** + * Generated by the JacORB IDL compiler + * from an IDL const definition + */ + +public interface ReplaceSecurityServices +{ + short value = (short)(7);} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/RequiresSupports.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/RequiresSupports.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/RequiresSupports.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/RequiresSupports.java Tue May 30 06:19:19 2006 @@ -0,0 +1,26 @@ +package org.omg.Security; +public final class RequiresSupports + implements org.omg.CORBA.portable.IDLEntity +{ + private int value = -1; + public static final int _SecRequires = 0; + public static final RequiresSupports SecRequires = new RequiresSupports(_SecRequires); + public static final int _SecSupports = 1; + public static final RequiresSupports SecSupports = new RequiresSupports(_SecSupports); + public int value() + { + return value; + } + public static RequiresSupports from_int(int value) + { + switch (value) { + case _SecRequires: return SecRequires; + case _SecSupports: return SecSupports; + default: throw new org.omg.CORBA.BAD_PARAM(); + } + } + protected RequiresSupports(int i) + { + value = i; + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/RequiresSupportsHelper.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/RequiresSupportsHelper.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/RequiresSupportsHelper.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/RequiresSupportsHelper.java Tue May 30 06:19:19 2006 @@ -0,0 +1,49 @@ +package org.omg.Security; +public class RequiresSupportsHelper +{ + private static org.omg.CORBA.TypeCode _type = org.omg.CORBA.ORB.init().create_enum_tc(org.omg.Security.RequiresSupportsHelper.id(),"RequiresSupports",new String[]{"SecRequires","SecSupports"}); + public RequiresSupportsHelper () + { + } + public static void insert(org.omg.CORBA.Any any, org.omg.Security.RequiresSupports s) + { + any.type(type()); + write( any.create_output_stream(),s); + } + public static org.omg.Security.RequiresSupports extract(org.omg.CORBA.Any any) + { + return read(any.create_input_stream()); + } + public static org.omg.CORBA.TypeCode type() + { + return _type; + } + public String get_id() + { + return id(); + } + public org.omg.CORBA.TypeCode get_type() + { + return type(); + } + public void write_Object(org.omg.CORBA.portable.OutputStream out, java.lang.Object obj) + { + throw new RuntimeException(" not implemented"); + } + public java.lang.Object read_Object(org.omg.CORBA.portable.InputStream in) + { + throw new RuntimeException(" not implemented"); + } + public static String id() + { + return "IDL:omg.org/Security/RequiresSupports:1.0"; + } + public static RequiresSupports read(org.omg.CORBA.portable.InputStream in) + { + return RequiresSupports.from_int( in.read_long()); + } + public static void write(org.omg.CORBA.portable.OutputStream out, RequiresSupports s) + { + out.write_long(s.value()); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/RequiresSupportsHolder.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/RequiresSupportsHolder.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/RequiresSupportsHolder.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/RequiresSupportsHolder.java Tue May 30 06:19:19 2006 @@ -0,0 +1,26 @@ +package org.omg.Security; +final public class RequiresSupportsHolder + implements org.omg.CORBA.portable.Streamable +{ + public RequiresSupports value; + + public RequiresSupportsHolder () + { + } + public RequiresSupportsHolder (RequiresSupports initial) + { + value = initial; + } + public org.omg.CORBA.TypeCode _type() + { + return RequiresSupportsHelper.type(); + } + public void _read(org.omg.CORBA.portable.InputStream in) + { + value = RequiresSupportsHelper.read(in); + } + public void _write(org.omg.CORBA.portable.OutputStream out) + { + RequiresSupportsHelper.write(out,value); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/Right.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/Right.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/Right.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/Right.java Tue May 30 06:19:19 2006 @@ -0,0 +1,13 @@ +package org.omg.Security; +public final class Right + implements org.omg.CORBA.portable.IDLEntity +{ + public Right(){} + public org.omg.Security.ExtensibleFamily rights_family; + public java.lang.String right; + public Right(org.omg.Security.ExtensibleFamily rights_family, java.lang.String right) + { + this.rights_family = rights_family; + this.right = right; + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightHelper.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightHelper.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightHelper.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightHelper.java Tue May 30 06:19:19 2006 @@ -0,0 +1,53 @@ +package org.omg.Security; +public class RightHelper +{ + private static org.omg.CORBA.TypeCode _type = org.omg.CORBA.ORB.init().create_struct_tc(org.omg.Security.RightHelper.id(),"Right",new org.omg.CORBA.StructMember[]{new org.omg.CORBA.StructMember("rights_family",org.omg.CORBA.ORB.init().create_struct_tc(org.omg.Security.ExtensibleFamilyHelper.id(),"ExtensibleFamily",new org.omg.CORBA.StructMember[]{new org.omg.CORBA.StructMember("family_definer",org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(2)),null),new org.omg.CORBA.StructMember("family",org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(2)),null)}),null),new org.omg.CORBA.StructMember("right",org.omg.CORBA.ORB.init().create_string_tc(0),null)}); + public RightHelper () + { + } + public static void insert(org.omg.CORBA.Any any, org.omg.Security.Right s) + { + any.type(type()); + write( any.create_output_stream(),s); + } + public static org.omg.Security.Right extract(org.omg.CORBA.Any any) + { + return read(any.create_input_stream()); + } + public static org.omg.CORBA.TypeCode type() + { + return _type; + } + public String get_id() + { + return id(); + } + public org.omg.CORBA.TypeCode get_type() + { + return type(); + } + public void write_Object(org.omg.CORBA.portable.OutputStream out, java.lang.Object obj) + { + throw new RuntimeException(" not implemented"); + } + public java.lang.Object read_Object(org.omg.CORBA.portable.InputStream in) + { + throw new RuntimeException(" not implemented"); + } + public static String id() + { + return "IDL:omg.org/Security/Right:1.0"; + } + public static org.omg.Security.Right read(org.omg.CORBA.portable.InputStream in) + { + org.omg.Security.Right result = new org.omg.Security.Right(); + result.rights_family=org.omg.Security.ExtensibleFamilyHelper.read(in); + result.right=in.read_string(); + return result; + } + public static void write(org.omg.CORBA.portable.OutputStream out, org.omg.Security.Right s) + { +org.omg.Security.ExtensibleFamilyHelper.write(out,s.rights_family); +out.write_string(s.right); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightHolder.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightHolder.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightHolder.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightHolder.java Tue May 30 06:19:19 2006 @@ -0,0 +1,26 @@ +package org.omg.Security; +final public class RightHolder + implements org.omg.CORBA.portable.Streamable +{ + public org.omg.Security.Right value; + + public RightHolder () + { + } + public RightHolder (org.omg.Security.Right initial) + { + value = initial; + } + public org.omg.CORBA.TypeCode _type() + { + return org.omg.Security.RightHelper.type(); + } + public void _read(org.omg.CORBA.portable.InputStream _in) + { + value = org.omg.Security.RightHelper.read(_in); + } + public void _write(org.omg.CORBA.portable.OutputStream _out) + { + org.omg.Security.RightHelper.write(_out,value); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightsCombinator.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightsCombinator.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightsCombinator.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightsCombinator.java Tue May 30 06:19:19 2006 @@ -0,0 +1,26 @@ +package org.omg.Security; +public final class RightsCombinator + implements org.omg.CORBA.portable.IDLEntity +{ + private int value = -1; + public static final int _SecAllRights = 0; + public static final RightsCombinator SecAllRights = new RightsCombinator(_SecAllRights); + public static final int _SecAnyRight = 1; + public static final RightsCombinator SecAnyRight = new RightsCombinator(_SecAnyRight); + public int value() + { + return value; + } + public static RightsCombinator from_int(int value) + { + switch (value) { + case _SecAllRights: return SecAllRights; + case _SecAnyRight: return SecAnyRight; + default: throw new org.omg.CORBA.BAD_PARAM(); + } + } + protected RightsCombinator(int i) + { + value = i; + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightsCombinatorHelper.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightsCombinatorHelper.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightsCombinatorHelper.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightsCombinatorHelper.java Tue May 30 06:19:19 2006 @@ -0,0 +1,49 @@ +package org.omg.Security; +public class RightsCombinatorHelper +{ + private static org.omg.CORBA.TypeCode _type = org.omg.CORBA.ORB.init().create_enum_tc(org.omg.Security.RightsCombinatorHelper.id(),"RightsCombinator",new String[]{"SecAllRights","SecAnyRight"}); + public RightsCombinatorHelper () + { + } + public static void insert(org.omg.CORBA.Any any, org.omg.Security.RightsCombinator s) + { + any.type(type()); + write( any.create_output_stream(),s); + } + public static org.omg.Security.RightsCombinator extract(org.omg.CORBA.Any any) + { + return read(any.create_input_stream()); + } + public static org.omg.CORBA.TypeCode type() + { + return _type; + } + public String get_id() + { + return id(); + } + public org.omg.CORBA.TypeCode get_type() + { + return type(); + } + public void write_Object(org.omg.CORBA.portable.OutputStream out, java.lang.Object obj) + { + throw new RuntimeException(" not implemented"); + } + public java.lang.Object read_Object(org.omg.CORBA.portable.InputStream in) + { + throw new RuntimeException(" not implemented"); + } + public static String id() + { + return "IDL:omg.org/Security/RightsCombinator:1.0"; + } + public static RightsCombinator read(org.omg.CORBA.portable.InputStream in) + { + return RightsCombinator.from_int( in.read_long()); + } + public static void write(org.omg.CORBA.portable.OutputStream out, RightsCombinator s) + { + out.write_long(s.value()); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightsCombinatorHolder.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightsCombinatorHolder.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightsCombinatorHolder.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightsCombinatorHolder.java Tue May 30 06:19:19 2006 @@ -0,0 +1,26 @@ +package org.omg.Security; +final public class RightsCombinatorHolder + implements org.omg.CORBA.portable.Streamable +{ + public RightsCombinator value; + + public RightsCombinatorHolder () + { + } + public RightsCombinatorHolder (RightsCombinator initial) + { + value = initial; + } + public org.omg.CORBA.TypeCode _type() + { + return RightsCombinatorHelper.type(); + } + public void _read(org.omg.CORBA.portable.InputStream in) + { + value = RightsCombinatorHelper.read(in); + } + public void _write(org.omg.CORBA.portable.OutputStream out) + { + RightsCombinatorHelper.write(out,value); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightsListHelper.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightsListHelper.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightsListHelper.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightsListHelper.java Tue May 30 06:19:19 2006 @@ -0,0 +1,63 @@ +package org.omg.Security; +public class RightsListHelper +{ + private static org.omg.CORBA.TypeCode _type = org.omg.CORBA.ORB.init().create_alias_tc( org.omg.Security.RightsListHelper.id(),"RightsList",org.omg.CORBA.ORB.init().create_sequence_tc(0, org.omg.CORBA.ORB.init().create_struct_tc(org.omg.Security.RightHelper.id(),"Right",new org.omg.CORBA.StructMember[]{new org.omg.CORBA.StructMember("rights_family",org.omg.CORBA.ORB.init().create_struct_tc(org.omg.Security.ExtensibleFamilyHelper.id(),"ExtensibleFamily",new org.omg.CORBA.StructMember[]{new org.omg.CORBA.StructMember("family_definer",org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(2)),null),new org.omg.CORBA.StructMember("family",org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(2)),null)}),null),new org.omg.CORBA.StructMember("right",org.omg.CORBA.ORB.init().create_string_tc(0),null)}))); + public RightsListHelper () + { + } + public static void insert(org.omg.CORBA.Any any, org.omg.Security.Right[] s) + { + any.type(type()); + write( any.create_output_stream(),s); + } + public static org.omg.Security.Right[] extract(org.omg.CORBA.Any any) + { + return read(any.create_input_stream()); + } + public static org.omg.CORBA.TypeCode type() + { + return _type; + } + public String get_id() + { + return id(); + } + public org.omg.CORBA.TypeCode get_type() + { + return type(); + } + public void write_Object(org.omg.CORBA.portable.OutputStream out, java.lang.Object obj) + { + throw new RuntimeException(" not implemented"); + } + public java.lang.Object read_Object(org.omg.CORBA.portable.InputStream in) + { + throw new RuntimeException(" not implemented"); + } + public static String id() + { + return "IDL:omg.org/Security/RightsList:1.0"; + } + public static org.omg.Security.Right[] read(org.omg.CORBA.portable.InputStream _in) + { + org.omg.Security.Right[] _result; + int _l_result = _in.read_long(); + _result = new org.omg.Security.Right[_l_result]; + for(int i=0;i<_result.length;i++) + { + _result[i]=org.omg.Security.RightHelper.read(_in); + } + + return _result; + } + public static void write(org.omg.CORBA.portable.OutputStream _out, org.omg.Security.Right[] _s) + { + + _out.write_long(_s.length); + for( int i=0; i<_s.length;i++) + { + org.omg.Security.RightHelper.write(_out,_s[i]); + } + + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightsListHolder.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightsListHolder.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightsListHolder.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/RightsListHolder.java Tue May 30 06:19:19 2006 @@ -0,0 +1,26 @@ +package org.omg.Security; +final public class RightsListHolder + implements org.omg.CORBA.portable.Streamable +{ + public org.omg.Security.Right[] value; + + public RightsListHolder () + { + } + public RightsListHolder (org.omg.Security.Right[] initial) + { + value = initial; + } + public org.omg.CORBA.TypeCode _type() + { + return RightsListHelper.type(); + } + public void _read(org.omg.CORBA.portable.InputStream in) + { + value = RightsListHelper.read(in); + } + public void _write(org.omg.CORBA.portable.OutputStream out) + { + RightsListHelper.write(out,value); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/Role.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/Role.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/Role.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/Role.java Tue May 30 06:19:19 2006 @@ -0,0 +1,10 @@ +package org.omg.Security; +/** + * Generated by the JacORB IDL compiler + * from an IDL const definition + */ + +public interface Role +{ + int value = 5; +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/ScopedName.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/ScopedName.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/ScopedName.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/ScopedName.java Tue May 30 06:19:19 2006 @@ -0,0 +1,13 @@ +package org.omg.Security; +public final class ScopedName + implements org.omg.CORBA.portable.IDLEntity +{ + public ScopedName(){} + public byte[] name_scope; + public byte[] name_value; + public ScopedName(byte[] name_scope, byte[] name_value) + { + this.name_scope = name_scope; + this.name_value = name_value; + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/ScopedNameHelper.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/ScopedNameHelper.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/ScopedNameHelper.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/ScopedNameHelper.java Tue May 30 06:19:19 2006 @@ -0,0 +1,53 @@ +package org.omg.Security; +public class ScopedNameHelper +{ + private static org.omg.CORBA.TypeCode _type = org.omg.CORBA.ORB.init().create_struct_tc(org.omg.Security.ScopedNameHelper.id(),"ScopedName",new org.omg.CORBA.StructMember[]{new org.omg.CORBA.StructMember("name_scope",org.omg.CORBA.ORB.init().create_alias_tc( org.omg.Security.NameValueHelper.id(),"NameValue",org.omg.CORBA.ORB.init().create_alias_tc( org.omg.Security.UTF8StringHelper.id(),"UTF8String",org.omg.CORBA.ORB.init().create_sequence_tc(0, org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(10))))),null),new org.omg.CORBA.StructMember("name_value",org.omg.CORBA.ORB.init().create_alias_tc( org.omg.Security.NameValueHelper.id(),"NameValue",org.omg.CORBA.ORB.init().create_alias_tc( org.omg.Security.UTF8StringHelper.id(),"UTF8String",org.omg.CORBA.ORB.init().create_sequence_tc(0, org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(10))))),null)}); + public ScopedNameHelper () + { + } + public static void insert(org.omg.CORBA.Any any, org.omg.Security.ScopedName s) + { + any.type(type()); + write( any.create_output_stream(),s); + } + public static org.omg.Security.ScopedName extract(org.omg.CORBA.Any any) + { + return read(any.create_input_stream()); + } + public static org.omg.CORBA.TypeCode type() + { + return _type; + } + public String get_id() + { + return id(); + } + public org.omg.CORBA.TypeCode get_type() + { + return type(); + } + public void write_Object(org.omg.CORBA.portable.OutputStream out, java.lang.Object obj) + { + throw new RuntimeException(" not implemented"); + } + public java.lang.Object read_Object(org.omg.CORBA.portable.InputStream in) + { + throw new RuntimeException(" not implemented"); + } + public static String id() + { + return "IDL:omg.org/Security/ScopedName:1.0"; + } + public static org.omg.Security.ScopedName read(org.omg.CORBA.portable.InputStream in) + { + org.omg.Security.ScopedName result = new org.omg.Security.ScopedName(); + result.name_scope = org.omg.Security.NameValueHelper.read(in); + result.name_value = org.omg.Security.NameValueHelper.read(in); + return result; + } + public static void write(org.omg.CORBA.portable.OutputStream out, org.omg.Security.ScopedName s) + { +org.omg.Security.NameValueHelper.write(out,s.name_scope); +org.omg.Security.NameValueHelper.write(out,s.name_value); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/ScopedNameHolder.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/ScopedNameHolder.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/ScopedNameHolder.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/ScopedNameHolder.java Tue May 30 06:19:19 2006 @@ -0,0 +1,26 @@ +package org.omg.Security; +final public class ScopedNameHolder + implements org.omg.CORBA.portable.Streamable +{ + public org.omg.Security.ScopedName value; + + public ScopedNameHolder () + { + } + public ScopedNameHolder (org.omg.Security.ScopedName initial) + { + value = initial; + } + public org.omg.CORBA.TypeCode _type() + { + return org.omg.Security.ScopedNameHelper.type(); + } + public void _read(org.omg.CORBA.portable.InputStream _in) + { + value = org.omg.Security.ScopedNameHelper.read(_in); + } + public void _write(org.omg.CORBA.portable.OutputStream _out) + { + org.omg.Security.ScopedNameHelper.write(_out,value); + } +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/SecApplicationAccess.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/SecApplicationAccess.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/SecApplicationAccess.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/SecApplicationAccess.java Tue May 30 06:19:19 2006 @@ -0,0 +1,10 @@ +package org.omg.Security; +/** + * Generated by the JacORB IDL compiler + * from an IDL const definition + */ + +public interface SecApplicationAccess +{ + int value = 3; +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/SecApplicationAudit.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/SecApplicationAudit.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/SecApplicationAudit.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/SecApplicationAudit.java Tue May 30 06:19:19 2006 @@ -0,0 +1,10 @@ +package org.omg.Security; +/** + * Generated by the JacORB IDL compiler + * from an IDL const definition + */ + +public interface SecApplicationAudit +{ + int value = 6; +} Added: incubator/yoko/trunk/core/src/main/java/org/omg/Security/SecAttribute.java URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/core/src/main/java/org/omg/Security/SecAttribute.java?rev=410273&view=auto ============================================================================== --- incubator/yoko/trunk/core/src/main/java/org/omg/Security/SecAttribute.java (added) +++ incubator/yoko/trunk/core/src/main/java/org/omg/Security/SecAttribute.java Tue May 30 06:19:19 2006 @@ -0,0 +1,15 @@ +package org.omg.Security; +public final class SecAttribute + implements org.omg.CORBA.portable.IDLEntity +{ + public SecAttribute(){} + public org.omg.Security.AttributeType attribute_type; + public byte[] defining_authority; + public byte[] value; + public SecAttribute(org.omg.Security.AttributeType attribute_type, byte[] defining_authority, byte[] value) + { + this.attribute_type = attribute_type; + this.defining_authority = defining_authority; + this.value = value; + } +}