/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/ |
H A D | JEBackend.java | 41 public boolean isConfigurationAcceptable(JEBackendCfg cfg, List<LocalizableMessage> unacceptableReasons, argument 44 return JEStorage.isConfigurationAcceptable(cfg, unacceptableReasons, serverContext); 48 protected Storage configureStorage(JEBackendCfg cfg, ServerContext serverContext) throws ConfigException argument 50 return new JEStorage(cfg, serverContext);
|
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/backends/pdb/ |
H A D | PDBBackend.java | 41 public boolean isConfigurationAcceptable(PDBBackendCfg cfg, List<LocalizableMessage> unacceptableReasons, argument 44 return PDBStorage.isConfigurationAcceptable(cfg, unacceptableReasons, serverContext); 48 protected Storage configureStorage(PDBBackendCfg cfg, ServerContext serverContext) throws ConfigException argument 50 return new PDBStorage(cfg, serverContext);
|
/forgerock/openam-v13/openam-radius/openam-radius-server/src/main/java/org/forgerock/openam/radius/server/config/ |
H A D | ConfigLoader.java | 80 RadiusServiceConfig cfg = null; 148 cfg = new RadiusServiceConfig(isEnabled, listenerPort, poolCfg, 151 return cfg; 163 * @param cfg 167 private Class validateClass(ClientConfig cfg) { argument 170 clazz = Class.forName(cfg.getAccessRequestHandlerClassname()); 172 LOG.error("Unable to load Handler Class '" + cfg.getAccessRequestHandlerClassname() 173 + "' for RADIUS client '" + cfg.getName() + "'. Requests from this client will be ignored.", e); 181 LOG.error("Unable to instantiate Handler Class '" + cfg.getAccessRequestHandlerClassname() 182 + "' for RADIUS client '" + cfg [all...] |
H A D | RadiusServerManager.java | 166 final RadiusServiceConfig cfg = configLoader.loadConfig(); 167 if (cfg != null) { 168 logger.message("New RADIUS configuration loaded." + cfg); 182 if (cfg.isEnabled()) { 184 listener = requestListenerFactory.getRadiusRequestListener(cfg); 195 if (onlyClientSetChanged(cfg, currentCfg)) { 197 listener.updateConfig(cfg); 204 if (cfg.isEnabled()) { 206 listener = requestListenerFactory.getRadiusRequestListener(cfg); 218 currentCfg = cfg; 245 onlyClientSetChanged(RadiusServiceConfig cfg, RadiusServiceConfig currentCfg) argument [all...] |
/forgerock/openam/openam-radius/openam-radius-server/src/main/java/org/forgerock/openam/radius/server/config/ |
H A D | ConfigLoader.java | 80 RadiusServiceConfig cfg = null; 148 cfg = new RadiusServiceConfig(isEnabled, listenerPort, poolCfg, 151 return cfg; 163 * @param cfg 167 private Class validateClass(ClientConfig cfg) { argument 170 clazz = Class.forName(cfg.getAccessRequestHandlerClassname()); 172 LOG.error("Unable to load Handler Class '" + cfg.getAccessRequestHandlerClassname() 173 + "' for RADIUS client '" + cfg.getName() + "'. Requests from this client will be ignored.", e); 181 LOG.error("Unable to instantiate Handler Class '" + cfg.getAccessRequestHandlerClassname() 182 + "' for RADIUS client '" + cfg [all...] |
H A D | RadiusServerManager.java | 166 final RadiusServiceConfig cfg = configLoader.loadConfig(); 167 if (cfg != null) { 168 logger.message("New RADIUS configuration loaded." + cfg); 182 if (cfg.isEnabled()) { 184 listener = requestListenerFactory.getRadiusRequestListener(cfg); 195 if (onlyClientSetChanged(cfg, currentCfg)) { 197 listener.updateConfig(cfg); 204 if (cfg.isEnabled()) { 206 listener = requestListenerFactory.getRadiusRequestListener(cfg); 218 currentCfg = cfg; 245 onlyClientSetChanged(RadiusServiceConfig cfg, RadiusServiceConfig currentCfg) argument [all...] |
/forgerock/opendj-b2.6/src/server/org/opends/server/core/ |
H A D | BackendConfigManager.java | 495 public ConfigChangeResult applyConfigurationChange(BackendCfg cfg) argument 497 DN backendDN = cfg.dn(); 509 if (cfg.isEnabled()) 591 String backendID = cfg.getBackendId(); 597 cfg.getWritabilityMode(); 614 Set<DN> baseList = cfg.getBaseDN(); 624 String className = cfg.getJavaClass(); 751 initializeBackend(backend, cfg); 935 public ConfigChangeResult applyConfigurationAdd(BackendCfg cfg) argument 937 DN backendDN = cfg 1294 initializeBackend(Backend backend, BackendCfg cfg) argument [all...] |
/forgerock/opendj2/src/server/org/opends/server/core/ |
H A D | BackendConfigManager.java | 494 public ConfigChangeResult applyConfigurationChange(BackendCfg cfg) argument 496 DN backendDN = cfg.dn(); 508 if (cfg.isEnabled()) 590 String backendID = cfg.getBackendId(); 596 cfg.getWritabilityMode(); 613 Set<DN> baseList = cfg.getBaseDN(); 623 String className = cfg.getJavaClass(); 750 initializeBackend(backend, cfg); 934 public ConfigChangeResult applyConfigurationAdd(BackendCfg cfg) argument 936 DN backendDN = cfg 1293 initializeBackend(Backend backend, BackendCfg cfg) argument [all...] |
H A D | VirtualAttributeConfigManager.java | 118 VirtualAttributeCfg cfg = 120 cfg.addChangeListener(this); 122 if (cfg.isEnabled()) 124 String className = cfg.getJavaClass(); 128 loadProvider(className, cfg, true); 132 Set<SearchFilter> filters = buildFilters(cfg, reasons); 140 if (cfg.getAttributeType().isSingleValue()) 145 get(String.valueOf(cfg.dn()), 146 cfg.getAttributeType().getNameOrOID(), className); 149 else if (cfg 172 createRule(VirtualAttributeCfg cfg, VirtualAttributeProvider<? extends VirtualAttributeCfg> provider, Set<SearchFilter> filters) argument 211 buildFilters(VirtualAttributeCfg cfg, Map<Message, DirectoryException> unacceptableReasons) argument 348 areFiltersAcceptable(VirtualAttributeCfg cfg, List<Message> unacceptableReasons) argument 454 loadProvider(String className, VirtualAttributeCfg cfg, boolean initialize) argument [all...] |
/forgerock/opendj2/src/server/org/opends/server/replication/plugin/ |
H A D | ReplicationServerListener.java | 75 final ReplicationServerCfg cfg = configuration.getReplicationServer(); 76 replicationServer = new ReplicationServer(cfg, dsrsShutdownSync); 82 public ConfigChangeResult applyConfigurationAdd(ReplicationServerCfg cfg) argument 86 replicationServer = new ReplicationServer(cfg, dsrsShutdownSync); 100 ReplicationServerCfg cfg, List<Message> unacceptableReasons) 102 return ReplicationServer.isConfigurationAcceptable(cfg, unacceptableReasons); 118 public ConfigChangeResult applyConfigurationDelete(ReplicationServerCfg cfg) argument 132 ReplicationServerCfg cfg, List<Message> unacceptableReasons) 99 isConfigurationAddAcceptable( ReplicationServerCfg cfg, List<Message> unacceptableReasons) argument 131 isConfigurationDeleteAcceptable( ReplicationServerCfg cfg, List<Message> unacceptableReasons) argument
|
/forgerock/opendj2.6.2/src/server/org/opends/server/core/ |
H A D | BackendConfigManager.java | 495 public ConfigChangeResult applyConfigurationChange(BackendCfg cfg) argument 497 DN backendDN = cfg.dn(); 509 if (cfg.isEnabled()) 591 String backendID = cfg.getBackendId(); 597 cfg.getWritabilityMode(); 614 Set<DN> baseList = cfg.getBaseDN(); 624 String className = cfg.getJavaClass(); 751 initializeBackend(backend, cfg); 935 public ConfigChangeResult applyConfigurationAdd(BackendCfg cfg) argument 937 DN backendDN = cfg 1294 initializeBackend(Backend backend, BackendCfg cfg) argument [all...] |
/forgerock/opendj2-jel-hg/src/server/org/opends/server/core/ |
H A D | BackendConfigManager.java | 495 public ConfigChangeResult applyConfigurationChange(BackendCfg cfg) argument 497 DN backendDN = cfg.dn(); 509 if (cfg.isEnabled()) 591 String backendID = cfg.getBackendId(); 597 cfg.getWritabilityMode(); 614 Set<DN> baseList = cfg.getBaseDN(); 624 String className = cfg.getJavaClass(); 751 initializeBackend(backend, cfg); 935 public ConfigChangeResult applyConfigurationAdd(BackendCfg cfg) argument 937 DN backendDN = cfg 1294 initializeBackend(Backend backend, BackendCfg cfg) argument [all...] |
/forgerock/opendj2-hg/src/server/org/opends/server/core/ |
H A D | BackendConfigManager.java | 494 public ConfigChangeResult applyConfigurationChange(BackendCfg cfg) argument 496 DN backendDN = cfg.dn(); 508 if (cfg.isEnabled()) 590 String backendID = cfg.getBackendId(); 596 cfg.getWritabilityMode(); 613 Set<DN> baseList = cfg.getBaseDN(); 623 String className = cfg.getJavaClass(); 750 initializeBackend(backend, cfg); 934 public ConfigChangeResult applyConfigurationAdd(BackendCfg cfg) argument 936 DN backendDN = cfg 1293 initializeBackend(Backend backend, BackendCfg cfg) argument [all...] |
/forgerock/opendj2-hg/src/server/org/opends/server/replication/plugin/ |
H A D | ReplicationServerListener.java | 75 final ReplicationServerCfg cfg = configuration.getReplicationServer(); 76 replicationServer = new ReplicationServer(cfg, dsrsShutdownSync); 82 public ConfigChangeResult applyConfigurationAdd(ReplicationServerCfg cfg) argument 86 replicationServer = new ReplicationServer(cfg, dsrsShutdownSync); 100 ReplicationServerCfg cfg, List<Message> unacceptableReasons) 102 return ReplicationServer.isConfigurationAcceptable(cfg, unacceptableReasons); 118 public ConfigChangeResult applyConfigurationDelete(ReplicationServerCfg cfg) argument 132 ReplicationServerCfg cfg, List<Message> unacceptableReasons) 99 isConfigurationAddAcceptable( ReplicationServerCfg cfg, List<Message> unacceptableReasons) argument 131 isConfigurationDeleteAcceptable( ReplicationServerCfg cfg, List<Message> unacceptableReasons) argument
|
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/ |
H A D | ReplicationServerListener.java | 75 final ReplicationServerCfg cfg = configuration.getReplicationServer(); 76 replicationServer = new ReplicationServer(cfg, dsrsShutdownSync); 82 public ConfigChangeResult applyConfigurationAdd(ReplicationServerCfg cfg) argument 87 replicationServer = new ReplicationServer(cfg, dsrsShutdownSync); 101 ReplicationServerCfg cfg, List<LocalizableMessage> unacceptableReasons) 103 return ReplicationServer.isConfigurationAcceptable(cfg, unacceptableReasons); 119 public ConfigChangeResult applyConfigurationDelete(ReplicationServerCfg cfg) argument 133 ReplicationServerCfg cfg, List<LocalizableMessage> unacceptableReasons) 100 isConfigurationAddAcceptable( ReplicationServerCfg cfg, List<LocalizableMessage> unacceptableReasons) argument 132 isConfigurationDeleteAcceptable( ReplicationServerCfg cfg, List<LocalizableMessage> unacceptableReasons) argument
|
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/core/networkgroups/ |
H A D | ResourceLimitsPolicyTest.java | 121 final ResourceLimitsQOSPolicyCfg cfg = mock(ResourceLimitsQOSPolicyCfg.class); 122 when(cfg.getMaxConnections()).thenReturn(1); 123 final ResourceLimitsPolicy limits = createQOSPolicy(cfg); 146 final ResourceLimitsQOSPolicyCfg cfg = mock(ResourceLimitsQOSPolicyCfg.class); 147 when(cfg.getMaxConnectionsFromSameIP()).thenReturn(1); 148 final ResourceLimitsPolicy limits = createQOSPolicy(cfg); 178 final ResourceLimitsQOSPolicyCfg cfg = mock(ResourceLimitsQOSPolicyCfg.class); 179 when(cfg.getMinSubstringLength()).thenReturn(minLength); 180 final ResourceLimitsPolicy limits = createQOSPolicy(cfg); 202 final ResourceLimitsQOSPolicyCfg cfg 251 createQOSPolicy(ResourceLimitsQOSPolicyCfg cfg) argument [all...] |
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/core/networkgroups/ |
H A D | ResourceLimitsPolicyTest.java | 121 final ResourceLimitsQOSPolicyCfg cfg = mock(ResourceLimitsQOSPolicyCfg.class); 122 when(cfg.getMaxConnections()).thenReturn(1); 123 final ResourceLimitsPolicy limits = createQOSPolicy(cfg); 146 final ResourceLimitsQOSPolicyCfg cfg = mock(ResourceLimitsQOSPolicyCfg.class); 147 when(cfg.getMaxConnectionsFromSameIP()).thenReturn(1); 148 final ResourceLimitsPolicy limits = createQOSPolicy(cfg); 178 final ResourceLimitsQOSPolicyCfg cfg = mock(ResourceLimitsQOSPolicyCfg.class); 179 when(cfg.getMinSubstringLength()).thenReturn(minLength); 180 final ResourceLimitsPolicy limits = createQOSPolicy(cfg); 202 final ResourceLimitsQOSPolicyCfg cfg 251 createQOSPolicy(ResourceLimitsQOSPolicyCfg cfg) argument [all...] |
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/core/ |
H A D | BackendConfigManager.java | 397 public ConfigChangeResult applyConfigurationChange(BackendCfg cfg) argument 399 DN backendDN = cfg.dn(); 408 if (cfg.isEnabled()) 473 String backendID = cfg.getBackendId(); 474 WritabilityMode writabilityMode = toWritabilityMode(cfg.getWritabilityMode()); 481 String className = cfg.getJavaClass(); 577 if (!initializeBackend(backend, cfg, ccr)) 697 public ConfigChangeResult applyConfigurationAdd(BackendCfg cfg) argument 699 DN backendDN = cfg.dn(); 705 cfg 839 initializeBackend(Backend<? extends BackendCfg> backend, BackendCfg cfg, ConfigChangeResult ccr) argument 1004 initializeBackend(Backend backend, BackendCfg cfg) argument [all...] |
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/loggers/ |
H A D | CommonAuditHTTPAccessLogPublisher.java | 66 public void initializeLogPublisher(final T cfg, ServerContext serverContext) argument 68 config = cfg;
|
/forgerock/opendj-b2.6/src/server/org/opends/server/extensions/ |
H A D | EntityTagVirtualAttributeProvider.java | 133 final EntityTagVirtualAttributeCfg cfg = config; 137 switch (cfg.getChecksumAlgorithm()) 147 final ByteString etag = checksumEntry(cfg, checksummer, entry); 275 private void checksumAttribute(final EntityTagVirtualAttributeCfg cfg, argument 291 if (cfg.getExcludedAttribute().contains(attribute.getAttributeType())) 337 private ByteString checksumEntry(final EntityTagVirtualAttributeCfg cfg, argument 342 checksumAttribute(cfg, checksummer, entry.getObjectClassAttribute()); 350 checksumAttribute(cfg, checksummer, attribute);
|
/forgerock/opendj-b2.6/src/server/org/opends/server/loggers/ |
H A D | TextAuditLogPublisher.java | 65 private FileBasedAuditLogPublisherCfg cfg; field in class:TextAuditLogPublisher 149 if ((cfg.isAsynchronous() && config.isAsynchronous()) 150 && (cfg.getQueueSize() != config.getQueueSize())) 155 cfg = config; 179 cfg.removeFileBasedAuditChangeListener(this); 188 public void initializeLogPublisher(FileBasedAuditLogPublisherCfg cfg) argument 191 File logFile = getFileForPath(cfg.getLogFile()); 196 FilePermission perm = FilePermission.decodeUNIXMode(cfg 200 cfg.dn()); 202 boolean writerAutoFlush = cfg [all...] |
/forgerock/opendj2/src/server/org/opends/server/extensions/ |
H A D | EntityTagVirtualAttributeProvider.java | 132 final EntityTagVirtualAttributeCfg cfg = config; 136 switch (cfg.getChecksumAlgorithm()) 146 final ByteString etag = checksumEntry(cfg, checksummer, entry); 274 private void checksumAttribute(final EntityTagVirtualAttributeCfg cfg, argument 290 if (cfg.getExcludedAttribute().contains(attribute.getAttributeType())) 336 private ByteString checksumEntry(final EntityTagVirtualAttributeCfg cfg, argument 341 checksumAttribute(cfg, checksummer, entry.getObjectClassAttribute()); 349 checksumAttribute(cfg, checksummer, attribute);
|
/forgerock/opendj2/src/server/org/opends/server/loggers/ |
H A D | TextAuditLogPublisher.java | 64 private FileBasedAuditLogPublisherCfg cfg; field in class:TextAuditLogPublisher 148 if ((cfg.isAsynchronous() && config.isAsynchronous()) 149 && (cfg.getQueueSize() != config.getQueueSize())) 154 cfg = config; 178 cfg.removeFileBasedAuditChangeListener(this); 187 public void initializeLogPublisher(FileBasedAuditLogPublisherCfg cfg) argument 190 File logFile = getFileForPath(cfg.getLogFile()); 195 FilePermission perm = FilePermission.decodeUNIXMode(cfg 199 cfg.dn()); 201 boolean writerAutoFlush = cfg [all...] |
/forgerock/opendj2.6.2/src/server/org/opends/server/extensions/ |
H A D | EntityTagVirtualAttributeProvider.java | 133 final EntityTagVirtualAttributeCfg cfg = config; 137 switch (cfg.getChecksumAlgorithm()) 147 final ByteString etag = checksumEntry(cfg, checksummer, entry); 275 private void checksumAttribute(final EntityTagVirtualAttributeCfg cfg, argument 291 if (cfg.getExcludedAttribute().contains(attribute.getAttributeType())) 337 private ByteString checksumEntry(final EntityTagVirtualAttributeCfg cfg, argument 342 checksumAttribute(cfg, checksummer, entry.getObjectClassAttribute()); 350 checksumAttribute(cfg, checksummer, attribute);
|
/forgerock/opendj2.6.2/src/server/org/opends/server/loggers/ |
H A D | TextAuditLogPublisher.java | 65 private FileBasedAuditLogPublisherCfg cfg; field in class:TextAuditLogPublisher 149 if ((cfg.isAsynchronous() && config.isAsynchronous()) 150 && (cfg.getQueueSize() != config.getQueueSize())) 155 cfg = config; 179 cfg.removeFileBasedAuditChangeListener(this); 188 public void initializeLogPublisher(FileBasedAuditLogPublisherCfg cfg) argument 191 File logFile = getFileForPath(cfg.getLogFile()); 196 FilePermission perm = FilePermission.decodeUNIXMode(cfg 200 cfg.dn()); 202 boolean writerAutoFlush = cfg [all...] |