Search in sources :

Example 6 with UserAdminContextEntryControllerCreator

use of org.olat.admin.user.UserAdminContextEntryControllerCreator in project openolat by klemens.

the class AdminModule method init.

@Override
public void init() {
    initializeSystemTokenProperty(PROPERTY_MAINTENANCE_MESSAGE);
    initializeSystemTokenProperty(PROPERTY_SESSION_ADMINISTRATION);
    boolean loginBlocked = getBooleanPropertyValue(CONFIG_LOGIN_BLOCKED);
    if (loginBlocked) {
        AuthHelper.setLoginBlocked(loginBlocked);
    }
    // Add controller factory extension point to launch groups
    NewControllerFactory.getInstance().addContextEntryControllerCreator(User.class.getSimpleName(), new UserAdminContextEntryControllerCreator());
    NewControllerFactory.getInstance().addContextEntryControllerCreator("NewIdentityCreated", new UserAdminContextEntryControllerCreator());
    NewControllerFactory.getInstance().addContextEntryControllerCreator(AdminSite.class.getSimpleName(), new SiteContextEntryControllerCreator(AdminSite.class));
}
Also used : User(org.olat.core.id.User) UserAdminContextEntryControllerCreator(org.olat.admin.user.UserAdminContextEntryControllerCreator) AdminSite(org.olat.admin.site.AdminSite) SiteContextEntryControllerCreator(org.olat.core.id.context.SiteContextEntryControllerCreator)

Aggregations

UserAdminContextEntryControllerCreator (org.olat.admin.user.UserAdminContextEntryControllerCreator)6 User (org.olat.core.id.User)6 PatternSyntaxException (java.util.regex.PatternSyntaxException)2 AdminSite (org.olat.admin.site.AdminSite)2 UserAdminSite (org.olat.admin.site.UserAdminSite)2 Identity (org.olat.core.id.Identity)2 SiteContextEntryControllerCreator (org.olat.core.id.context.SiteContextEntryControllerCreator)2