org.openejb.corba.security
Class SecurityInitializer

java.lang.Object
  extended byorg.omg.CORBA.LocalObject
      extended byorg.openejb.corba.security.SecurityInitializer
All Implemented Interfaces:
IDLEntity, Object, ORBInitializer, ORBInitializerOperations, Serializable

public class SecurityInitializer
extends LocalObject
implements ORBInitializer

Version:
$Revision: 445806 $ $Date: 2005-11-15 04:59:32 +0100 (Tue, 15 Nov 2005) $
See Also:
Serialized Form

Field Summary
static String DEFAULT_DOMAIN_PRINCIPAL
           
static String DEFAULT_PRINCIPAL
           
static String DEFAULT_REALM_PRINCIPAL
           
 
Constructor Summary
SecurityInitializer()
           
 
Method Summary
 void post_init(ORBInitInfo info)
          Called during ORB initialization.
 void pre_init(ORBInitInfo info)
          Called during ORB initialization.
 
Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Field Detail

DEFAULT_REALM_PRINCIPAL

public static final String DEFAULT_REALM_PRINCIPAL
See Also:
Constant Field Values

DEFAULT_DOMAIN_PRINCIPAL

public static final String DEFAULT_DOMAIN_PRINCIPAL
See Also:
Constant Field Values

DEFAULT_PRINCIPAL

public static final String DEFAULT_PRINCIPAL
See Also:
Constant Field Values
Constructor Detail

SecurityInitializer

public SecurityInitializer()
Method Detail

pre_init

public void pre_init(ORBInitInfo info)
Called during ORB initialization. If it is expected that initial services registered by an interceptor will be used by other interceptors, then those initial services shall be registered at this point via calls to ORBInitInfo.register_initial_reference.

Specified by:
pre_init in interface ORBInitializerOperations
Parameters:
info - provides initialization attributes and operations by which Interceptors can be registered.

post_init

public void post_init(ORBInitInfo info)
Called during ORB initialization. If a service must resolve initial references as part of its initialization, it can assume that all initial references will be available at this point.

Calling the post_init operations is not the final task of ORB initialization. The final task, following the post_init calls, is attaching the lists of registered interceptors to the ORB. Therefore, the ORB does not contain the interceptors during calls to post_init. If an ORB-mediated call is made from within post_init, no request interceptors will be invoked on that call. Likewise, if an operation is performed which causes an IOR to be created, no IOR interceptors will be invoked.

Specified by:
post_init in interface ORBInitializerOperations
Parameters:
info - provides initialization attributes and operations by which Interceptors can be registered.


Copyright © 1999-2006 OpenEJB. All Rights Reserved.