use of com.sun.identity.console.base.model.AccessControlModel in project OpenAM by OpenRock.
the class AMViewConfig method getDefaultTabId.
public int getDefaultTabId(String type, String realmName, HttpServletRequest req) {
AccessControlModel model = new AccessControlModelImpl(req);
List list = getTabList(type);
int id = -1;
for (Iterator i = tabs.iterator(); i.hasNext() && (id == -1); ) {
AMTabEntry entry = (AMTabEntry) i.next();
id = entry.getID(model, realmName);
}
return id;
}
Aggregations