org.objectweb.carol.util.csiv2

Class SasHelper


public class SasHelper
extends java.lang.Object

Utility class for binding object with Csiv2 policy

Author:
Florent Benoit

Method Summary

static void
rebind(String jndiName, Remote remoteObj, SasComponent sasComponent)
Allow to bind object to registry with a given SAS component.

Method Details

rebind

public static void rebind(String jndiName,
                          Remote remoteObj,
                          SasComponent sasComponent)
            throws 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