src/main/java/org/efaps/ui/filter/AbstractFilter.java
@Override
    public void init(final FilterConfig _filterConfig)
        throws ServletException
    {
        final String appkey = _filterConfig.getInitParameter(AbstractFilter.INITPARAM_APP_KEY);
        final String loginName = _filterConfig.getInitParameter(AbstractFilter.SESSIONPARAM_LOGIN_NAME);
        final String loginRolesTmp = _filterConfig.getInitParameter(AbstractFilter.INITPARAM_LOGIN_ROLES);
        if (loginName != null) {
            this.sessionParameterLoginName = loginName;
        }
        final Set<UUID> temp = new HashSet<>();
        if (loginRolesTmp != null) {
            final String[] loginRolesAr = loginRolesTmp.split(",");
            for (final String loginRole : loginRolesAr) {
                temp.add(UUID.fromString(loginRole));
            }
        }
        AppAccessHandler.init(appkey, temp);
    }
@Override
    public void init(final FilterConfig _filterConfig)
        throws ServletException
    {
        final String appkey = _filterConfig.getInitParameter(AbstractFilter.INITPARAM_APP_KEY);
        final String loginName = _filterConfig.getInitParameter(AbstractFilter.SESSIONPARAM_LOGIN_NAME);
        final String loginRolesTmp = _filterConfig.getInitParameter(AbstractFilter.INITPARAM_LOGIN_ROLES);
        if (loginName != null) {
            this.sessionParameterLoginName = loginName;
        }
        final Set<UUID> temp = new HashSet<>();
        if (loginRolesTmp != null) {
            final String[] loginRolesAr = loginRolesTmp.split(",");
            for (final String loginRole : loginRolesAr) {
                temp.add(UUID.fromString(loginRole));
            }
        }
        AppAccessHandler.init(appkey, temp);
    }
Called by the web container to indicate to a filter that it is being
placed into service. The servlet container calls the init method exactly
once after instantiating the filter. The init method must complete
successfully before the filter is asked to do any filtering work. The web
container cannot place the filter into service if the init method either
1.Throws a ServletException 2.Does not return within a time period
defined by the web container // sets the login handler

@param _filterConfig filter configuration instance
@see #INIT_PARAM_TITLE
@see #title
@see #INIT_PARAM_APPLICATION
@see #loginhandler
@throws ServletException on error