@ Override public void init ( final FilterConfig _filterConfig ) throws ServletException { super . init ( _filterConfig ) ; try { this . loginHandler = new LoginHandler ( AppAccessHandler . getApplicationKey ( ) ) ; } catch ( final EFapsException e ) { AbstractAuthenticationFilter . LOG . error ( "AppAccessHandler" , e ) ; } }
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 .