use of org.apache.syncope.client.console.policies.AccountPolicyDirectoryPanel in project syncope by apache.
the class Policies method buildTabList.
private List<ITab> buildTabList() {
final List<ITab> tabs = new ArrayList<>();
tabs.add(new AbstractTab(new ResourceModel("policy.account")) {
private static final long serialVersionUID = -6815067322125799251L;
@Override
public Panel getPanel(final String panelId) {
return new AccountPolicyDirectoryPanel(panelId, getPageReference());
}
});
tabs.add(new AbstractTab(new ResourceModel("policy.password")) {
private static final long serialVersionUID = -6815067322125799251L;
@Override
public Panel getPanel(final String panelId) {
return new PasswordPolicyDirectoryPanel(panelId, getPageReference());
}
});
tabs.add(new AbstractTab(new ResourceModel("policy.pull")) {
private static final long serialVersionUID = -6815067322125799251L;
@Override
public Panel getPanel(final String panelId) {
return new PullPolicyDirectoryPanel(panelId, getPageReference());
}
});
return tabs;
}
Aggregations