Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 package org.jacorb.security.ssl.sun_jsse; 2 3 22 23 import java.io.*; 24 import org.omg.PortableInterceptor.*; 25 import org.omg.PortableInterceptor.ORBInitInfoPackage.*; 26 import org.omg.SecurityReplaceable.*; 27 import org.omg.Security.*; 28 29 public class SecurityServiceInitializer 30 extends org.omg.CORBA.LocalObject 31 implements ORBInitializer 32 { 33 36 public void post_init( ORBInitInfo info ) 37 { 38 try 39 { 40 org.omg.SecurityLevel2.Current current = null; 41 try 42 { 43 org.omg.CORBA.Object sc = 44 info.resolve_initial_references("SecurityCurrent"); 45 46 current = org.omg.SecurityLevel2.CurrentHelper.narrow(sc); 47 } 48 catch (InvalidName in) 49 { 50 } 51 52 info.add_server_request_interceptor( 53 new ServerInvocationInterceptor( 54 current, 55 ((org.jacorb.orb.portableInterceptor.ORBInitInfoImpl)info).getORB() 56 ) 57 ); 58 } 59 catch (DuplicateName duplicateName) 60 { 61 duplicateName.printStackTrace(); 62 } 63 catch (Exception ce) 64 { 65 throw new org.omg.CORBA.INITIALIZE (ce.getMessage()); 66 } 67 } 68 69 public void pre_init(ORBInitInfo info) 70 { 71 74 76 } 77 } 79 80 81 82 83 84
| Popular Tags
|