public void initialize(Map configParams) throws PolicyException {
  if (DEBUG.messageEnabled()) {
    DEBUG.message("IDRepoResponseProvider.initialize():" + "entering");
  }
  if (configParams == null) {
    throw (new PolicyException(ResBundleUtils.rbName,"idrepo_initialization_failed",null,null));
  }
  Set orgNameSet=(Set)configParams.get(PolicyManager.ORGANIZATION_NAME);
  if ((orgNameSet != null) && (!orgNameSet.isEmpty())) {
    Iterator items=orgNameSet.iterator();
    orgName=(String)items.next();
  }
  validDynamicAttrNames=(Set)configParams.get(PolicyConfig.SELECTED_DYNAMIC_ATTRIBUTES);
  if (validDynamicAttrNames == null) {
    validDynamicAttrNames=Collections.EMPTY_SET;
  }
  initialized=true;
  if (DEBUG.messageEnabled()) {
    DEBUG.message("IDRepoResponseProvider.initialize():" + "initialized with:" + "orgName=" + orgName + ",validDynamicAttrNames="+ validDynamicAttrNames);
  }
}

public void initialize ( Map configParams ) throws PolicyException { if ( DEBUG . messageEnabled ( ) ) { DEBUG . message ( "IDRepoResponseProvider.initialize():" + "entering" ) ; } if ( configParams == null ) { throw ( new PolicyException ( ResBundleUtils . rbName , "idrepo_initialization_failed" , null , null ) ) ; } Set orgNameSet = ( Set ) configParams . get ( PolicyManager . ORGANIZATION_NAME ) ; if ( ( orgNameSet != null ) && ( ! orgNameSet . isEmpty ( ) ) ) { Iterator items = orgNameSet . iterator ( ) ; orgName = ( String ) items . next ( ) ; } validDynamicAttrNames = ( Set ) configParams . get ( PolicyConfig . SELECTED_DYNAMIC_ATTRIBUTES ) ; if ( validDynamicAttrNames == null ) { validDynamicAttrNames = Collections . EMPTY_SET ; } initialized = true ; if ( DEBUG . messageEnabled ( ) ) { DEBUG . message ( "IDRepoResponseProvider.initialize():" + "initialized with:" + "orgName=" + orgName + ",validDynamicAttrNames=" + validDynamicAttrNames ) ; } }
initialize the idreporesponseprovider object by using the configuration information passed by the policy framework .
