/** * Causes a dynamic anthentication context configuration object to * update the internal state that it uses to process calls to its * <code>getAuthContext</code> method. * * @exception AuthException if an error occured during the update. * * @exception SecurityException if the caller does not have permission * to refresh the configuration object. */ public void refresh() { loadParser(provider, factory, null); }
/** * Causes a dynamic anthentication context configuration object to * update the internal state that it uses to process calls to its * <code>getAuthContext</code> method. * * @exception AuthException if an error occured during the update. * * @exception SecurityException if the caller does not have permission * to refresh the configuration object. */ public void refresh() { loadParser(provider, factory, null); }
/** * Causes a dynamic configuration provider to update its internal * state such that any resulting change to its state is reflected in * the corresponding authentication context configuration objects * previously created by the provider within the current process context. * * @exception AuthException if an error occured during the refresh. * * @exception SecurityException if the caller does not have permission * to refresh the provider. */ public void refresh() { loadParser(this, factory, null); }
/** * Causes a dynamic configuration provider to update its internal * state such that any resulting change to its state is reflected in * the corresponding authentication context configuration objects * previously created by the provider within the current process context. * * @exception AuthException if an error occured during the refresh. * * @exception SecurityException if the caller does not have permission * to refresh the provider. */ public void refresh() { loadParser(this, factory, null); }
private void initializeParser() { try { rwLock.readLock().lock(); if (parserInitialized) { return; } } finally { rwLock.readLock().unlock(); } try { rwLock.writeLock().lock(); if (!parserInitialized) { parserClassName = System.getProperty("config.parser", DEFAULT_PARSER_CLASS); loadParser(this, factory, null); parserInitialized = true; } } finally { rwLock.writeLock().unlock(); } }
private void initializeParser() { try { rwLock.readLock().lock(); if (parserInitialized) { return; } } finally { rwLock.readLock().unlock(); } try { rwLock.writeLock().lock(); if (!parserInitialized) { parserClassName = System.getProperty("config.parser", DEFAULT_PARSER_CLASS); loadParser(this, factory, null); parserInitialized = true; } } finally { rwLock.writeLock().unlock(); } }
loadParser(slaveProvider, slaveFactory, config);
loadParser(slaveProvider, slaveFactory, config);