Search in sources :

Example 1 with SAML2SPPanel

use of org.apache.syncope.client.console.panels.SAML2SPPanel in project syncope by apache.

the class SAML2SP method buildTabList.

private List<ITab> buildTabList() {
    final List<ITab> tabs = new ArrayList<>(2);
    tabs.add(new AbstractTab(new ResourceModel("idps")) {

        private static final long serialVersionUID = -6815067322125799251L;

        @Override
        public Panel getPanel(final String panelId) {
            return new SAML2IdPsDirectoryPanel(panelId, getPageReference());
        }
    });
    tabs.add(new AbstractTab(new ResourceModel("sp")) {

        private static final long serialVersionUID = -6815067322125799251L;

        @Override
        public Panel getPanel(final String panelId) {
            return new SAML2SPPanel(panelId);
        }
    });
    return tabs;
}
Also used : AjaxBootstrapTabbedPanel(de.agilecoders.wicket.core.markup.html.bootstrap.tabs.AjaxBootstrapTabbedPanel) SAML2SPPanel(org.apache.syncope.client.console.panels.SAML2SPPanel) Panel(org.apache.wicket.markup.html.panel.Panel) SAML2IdPsDirectoryPanel(org.apache.syncope.client.console.panels.SAML2IdPsDirectoryPanel) ArrayList(java.util.ArrayList) SAML2SPPanel(org.apache.syncope.client.console.panels.SAML2SPPanel) AbstractTab(org.apache.wicket.extensions.markup.html.tabs.AbstractTab) ResourceModel(org.apache.wicket.model.ResourceModel) SAML2IdPsDirectoryPanel(org.apache.syncope.client.console.panels.SAML2IdPsDirectoryPanel) ITab(org.apache.wicket.extensions.markup.html.tabs.ITab)

Aggregations

AjaxBootstrapTabbedPanel (de.agilecoders.wicket.core.markup.html.bootstrap.tabs.AjaxBootstrapTabbedPanel)1 ArrayList (java.util.ArrayList)1 SAML2IdPsDirectoryPanel (org.apache.syncope.client.console.panels.SAML2IdPsDirectoryPanel)1 SAML2SPPanel (org.apache.syncope.client.console.panels.SAML2SPPanel)1 AbstractTab (org.apache.wicket.extensions.markup.html.tabs.AbstractTab)1 ITab (org.apache.wicket.extensions.markup.html.tabs.ITab)1 Panel (org.apache.wicket.markup.html.panel.Panel)1 ResourceModel (org.apache.wicket.model.ResourceModel)1