Changeset 2501
- Timestamp:
- 10/07/08 07:18:25 (3 months ago)
- Location:
- trunk/otis/src/org/bandit/otis/server
- Files:
-
- 2 modified
-
EntityHandler.java (modified) (2 diffs)
-
OtisServlet.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/otis/src/org/bandit/otis/server/EntityHandler.java
r2500 r2501 553 553 try 554 554 { 555 m_log.debug( "Calling getEntitites");556 555 entityIter = localAuthSession.getEntities( null, (attrList != null) ? attrList.iterator() : null); 557 m_log.debug( "Start iterating through results");558 int iAttrCnt = 0;559 556 while (entityIter.hasNext()) 560 557 { … … 569 566 570 567 List entityAttrList; 571 iAttrCnt++;572 m_log.debug( "Getting attr #" + iAttrCnt);573 568 if ((entityAttrList = queryAttributes( strSessionID, "Entity='" + strEntityID + "'", entity, attrList, responseMap)) != null) 574 569 { 575 570 entityMap.put( Constants.TEMPLATE_ATTR_LIST, entityAttrList); 576 571 } 577 m_log.debug( "Got attr #" + iAttrCnt);578 572 entityList.add( entityMap); 579 573 } 580 m_log.debug( "Done iterating through results");581 574 } 582 575 catch (IdASException e) -
trunk/otis/src/org/bandit/otis/server/OtisServlet.java
r2500 r2501 1164 1164 Template template = m_templateCfg.getTemplate( strTemplateFile); 1165 1165 1166 m_log.debug( "Processing template " + strTemplateFile + " ....");1167 1166 template.process( responseMap, strOut); 1168 m_log.debug( "Done processing template " + strTemplateFile);1169 1167 1170 1168 // Now output over HTTP.