maguro 2005/04/12 17:29:55
Modified: modules/core/src/java/org/openejb/corba/security/config
ConfigAdapter.java
Log:
The primary port of the IOR must be zero if the CSI component contains a
secure transport mechanism. Much of this is to work around the Sun ORB.
Revision Changes Path
1.3 +12 -5
openejb/modules/core/src/java/org/openejb/corba/security/config/ConfigAdapter.java
Index: ConfigAdapter.java
===================================================================
RCS file:
/home/projects/openejb/scm/openejb/modules/core/src/java/org/openejb/corba/security/config/ConfigAdapter.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ConfigAdapter.java 12 Mar 2005 17:04:54 -0000 1.2
+++ ConfigAdapter.java 12 Apr 2005 21:29:55 -0000 1.3
@@ -44,8 +44,10 @@
*/
package org.openejb.corba.security.config;
-import java.util.Properties;
import java.util.List;
+import java.util.Properties;
+
+import org.omg.CORBA.ORB;
import org.openejb.corba.security.config.css.CSSConfig;
import org.openejb.corba.security.config.tss.TSSConfig;
@@ -53,15 +55,20 @@
/**
* Translates TSS and CSS configurations into CORBA startup args and
properties.
+ *
* @version $Revision$ $Date$
*/
public interface ConfigAdapter {
public String[] translateToArgs(TSSConfig config, List args) throws
ConfigException;
- public Properties translateToProps(TSSConfig config) throws
ConfigException;
+ public Properties translateToProps(TSSConfig config, Properties props)
throws ConfigException;
+
+ public void postProcess(TSSConfig config, ORB orb) throws
ConfigException;
public String[] translateToArgs(CSSConfig config, List args) throws
ConfigException;
- public Properties translateToProps(CSSConfig config) throws
ConfigException;
+ public Properties translateToProps(CSSConfig config, Properties pros)
throws ConfigException;
+
+ public void postProcess(CSSConfig config, ORB orb) throws
ConfigException;
}