private AuthConfigProvider getAuthConfigProvider ( String appContext ) { AuthConfigProvider provider = null ; AuthConfigFactory providerFactory = getAuthConfigFactory ( ) ; if ( providerFactory != null ) { if ( providerConfigModified && providerFactory instanceof ProviderRegistry ) { ( ( ProviderRegistry ) providerFactory ) . setProvider ( jaspiProviderServiceRef . getService ( ) ) ; providerConfigModified = false ; } provider = providerFactory . getConfigProvider ( "HttpServlet" , appContext , ( RegistrationListener ) null ) ; } return provider ; }
Some comment why we re doing this