org.objectweb.carol.util.csiv2
Class SasHelper

java.lang.Object
  extended byorg.objectweb.carol.util.csiv2.SasHelper

public class SasHelper
extends java.lang.Object

Utility class for binding object with Csiv2 policy

Author:
Florent Benoit

Method Summary
static void rebind(java.lang.String jndiName, java.rmi.Remote remoteObj, SasComponent sasComponent)
          Allow to bind object to registry with a given SAS component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

rebind

public static void rebind(java.lang.String jndiName,
                          java.rmi.Remote remoteObj,
                          SasComponent sasComponent)
                   throws javax.naming.NamingException
Allow to bind object to registry with a given SAS component.

Use for CsiV2 policy binding

Parameters:
jndiName - the name to bind for registry
remoteObj - the object to bind
sasComponent - the object containing CsiV2 compound sec mech configuration
Throws:
javax.naming.NamingException - if the bound cannot be done