ConfigureOAuth2ViewBean.java revision bd91193fe2e6ce7e56cf0d1c3c8f1b1d3e0570bc
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemayimport com.iplanet.jato.view.event.ChildContentDisplayEvent;
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemayimport com.sun.identity.console.base.AMPrimaryMastHeadViewBean;
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemayimport com.sun.identity.console.base.AMPropertySheet;
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemayimport com.sun.identity.console.base.model.AMAdminUtils;
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemayimport com.sun.identity.console.base.model.AMConsoleException;
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemayimport com.sun.identity.console.base.model.AMModel;
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemayimport com.sun.identity.console.base.model.AMPropertySheetModel;
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemayimport com.sun.identity.console.task.model.TaskModel;
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemayimport com.sun.identity.console.task.model.TaskModelImpl;
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemayimport com.sun.web.ui.view.pagetitle.CCPageTitle;
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay public static final String DEFAULT_DISPLAY_URL =
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay private static final String PAGETITLE = "pgtitle";
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay private static final String PROPERTY_ATTRIBUTE = "propertyAttributes";
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay private AMPropertySheetModel propertySheetModel;
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay //public void forwardTo(RequestContext rc) {
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay super("ConfigureOAuth2");
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay protected void registerChildren() {
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay //ptModel.registerChildren(this);
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay view = new AMPropertySheet(this, propertySheetModel, name);
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay } else if (propertySheetModel.isChildSupported(name)) {
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay view = propertySheetModel.createChild(this, name, getModel());
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay private void createPageTitleModel() {
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay getClass().getClassLoader().getResourceAsStream(
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay "com/sun/identity/console/twoBtnsPageTitle.xml"));
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay private void createPropertyModel() {
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay getClass().getClassLoader().getResourceAsStream(
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay "com/sun/identity/console/propertyConfigureOAuth2.xml"));
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay HttpServletRequest req = getRequestContext().getRequest();
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay return new TaskModelImpl(req, getPageSessionAttributes());
f58c87ece2202b8f85310d8885c7e39a7f435c09Jason Lemay HttpServletRequest req = getRequestContext().getRequest();
bd91193fe2e6ce7e56cf0d1c3c8f1b1d3e0570bcTravis Papp CCDropDownMenu menuRealm = (CCDropDownMenu) getChild(REALM);