public CoreAttributesModelImpl(HttpServletRequest req,String serviceName,Map map) throws AMConsoleException {
  super(req,serviceName,map);
  currentRealm=(String)map.get(AMAdminConstants.CURRENT_REALM);
  if (currentRealm == null) {
    debug.warning("resetting realm in CoreAttributeModel");
    currentRealm="/";
  }
}

public CoreAttributesModelImpl ( HttpServletRequest req , String serviceName , Map map ) throws AMConsoleException { super ( req , serviceName , map ) ; currentRealm = ( String ) map . get ( AMAdminConstants . CURRENT_REALM ) ; if ( currentRealm == null ) { debug . warning ( "resetting realm in CoreAttributeModel" ) ; currentRealm = "/" ; } }
creates a simple model using default resource bundle .
