Searched refs:serviceConfig (Results 1 - 25 of 101) sorted by relevance

12345

/forgerock/openam/openam-push-notification/src/main/java/org/forgerock/openam/services/push/
H A DPushNotificationServiceConfigHelper.java33 private ServiceConfig serviceConfig; field in class:PushNotificationServiceConfigHelper
40 * @param serviceConfig The realm-specific service config to read.
43 public PushNotificationServiceConfigHelper(ServiceConfig serviceConfig, Debug debug) { argument
44 this.serviceConfig = serviceConfig;
53 return CollectionHelper.getMapAttr(serviceConfig.getAttributes(), DELEGATE_FACTORY_CLASS,
64 String accessKey = CollectionHelper.getMapAttr(serviceConfig.getAttributes(), DELEGATE_ACCESS_KEY);
65 String secret = CollectionHelper.getMapAttr(serviceConfig.getAttributes(), DELEGATE_SECRET);
66 String appleEndpoint = CollectionHelper.getMapAttr(serviceConfig.getAttributes(), DELEGATE_APPLE_ENDPOINT);
67 String googleEndpoint = CollectionHelper.getMapAttr(serviceConfig
[all...]
H A DPushNotificationServiceConfigHelperFactory.java73 ServiceConfig serviceConfig = serviceConfigManager.getOrganizationConfig(realm, null);
75 if (serviceConfig == null) {
80 return new PushNotificationServiceConfigHelper(serviceConfig, debug);
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/sm/
H A DServiceConfigQueryFilterVisitor.java38 private Map<String, Set<String>> getConfigData(ServiceConfig serviceConfig) { argument
39 return serviceConfig.getAttributesForRead();
43 public Boolean visitAndFilter(ServiceConfig serviceConfig, List<QueryFilter<String>> subFilters) { argument
45 if (!filter.accept(this, serviceConfig)) {
53 public Boolean visitOrFilter(ServiceConfig serviceConfig, List<QueryFilter<String>> subFilters) { argument
55 if (filter.accept(this, serviceConfig)) {
63 public Boolean visitEqualsFilter(ServiceConfig serviceConfig, String field, Object valueAssertion) { argument
67 return StringUtils.match(getMapAttr(getConfigData(serviceConfig), field), (String)valueAssertion);
71 public Boolean visitContainsFilter(ServiceConfig serviceConfig, String field, Object valueAssertion) { argument
75 return StringUtils.containsCaseInsensitive(getMapAttr(getConfigData(serviceConfig), fiel
80 visitStartsWithFilter(ServiceConfig serviceConfig, String field, Object valueAssertion) argument
88 visitBooleanLiteralFilter(ServiceConfig serviceConfig, boolean value) argument
[all...]
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/sm/
H A DServiceConfigQueryFilterVisitor.java43 * @param serviceConfig The {@link ServiceConfig} instance.
47 protected Map<String, Set<String>> getConfigData(ServiceConfig serviceConfig) { argument
48 return serviceConfig.getAttributesForRead();
52 public Boolean visitAndFilter(ServiceConfig serviceConfig, List<QueryFilter<String>> subFilters) { argument
54 if (!filter.accept(this, serviceConfig)) {
62 public Boolean visitOrFilter(ServiceConfig serviceConfig, List<QueryFilter<String>> subFilters) { argument
64 if (filter.accept(this, serviceConfig)) {
72 public Boolean visitEqualsFilter(ServiceConfig serviceConfig, String field, Object valueAssertion) { argument
76 return match(getMapAttr(getConfigData(serviceConfig), field), (String) valueAssertion);
80 public Boolean visitContainsFilter(ServiceConfig serviceConfig, Strin argument
88 visitStartsWithFilter(ServiceConfig serviceConfig, String field, Object valueAssertion) argument
96 visitBooleanLiteralFilter(ServiceConfig serviceConfig, boolean value) argument
104 visitGreaterThanFilter(ServiceConfig serviceConfig, String field, Object valueAssertion) argument
124 visitGreaterThanOrEqualToFilter(ServiceConfig serviceConfig, String field, Object valueAssertion) argument
144 visitLessThanFilter(ServiceConfig serviceConfig, String field, Object valueAssertion) argument
164 visitLessThanOrEqualToFilter(ServiceConfig serviceConfig, String field, Object valueAssertion) argument
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/config/
H A DAMAuthenticationInstance.java50 private ServiceConfig serviceConfig = null; field in class:AMAuthenticationInstance
68 serviceConfig = config;
96 return serviceConfig;
106 if (serviceConfig != null) {
107 org = serviceConfig.getAttributes();
154 if (serviceConfig != null) {
155 serviceConfig.setAttributes(values);
171 if (serviceConfig != null) {
172 serviceConfig.addAttribute(name, values);
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/config/
H A DAMAuthenticationInstance.java50 private ServiceConfig serviceConfig = null; field in class:AMAuthenticationInstance
68 serviceConfig = config;
96 return serviceConfig;
106 if (serviceConfig != null) {
107 org = serviceConfig.getAttributes();
154 if (serviceConfig != null) {
155 serviceConfig.setAttributes(values);
171 if (serviceConfig != null) {
172 serviceConfig.addAttribute(name, values);
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/sm/
H A DServiceConfigQueryFilterVisitorTest.java35 private ServiceConfig serviceConfig; field in class:ServiceConfigQueryFilterVisitorTest
40 serviceConfig = mock(ServiceConfig.class);
47 when(serviceConfig.getAttributesForRead()).thenReturn(attributeMap);
58 boolean result = queryFilter.accept(filterVisitor, serviceConfig);
70 boolean result = queryFilter.accept(filterVisitor, serviceConfig);
82 boolean result = queryFilter.accept(filterVisitor, serviceConfig);
97 boolean result = queryFilter.accept(filterVisitor, serviceConfig);
112 boolean result = queryFilter.accept(filterVisitor, serviceConfig);
124 boolean result = queryFilter.accept(filterVisitor, serviceConfig);
138 boolean result = queryFilter.accept(filterVisitor, serviceConfig);
[all...]
/forgerock/openam-v13/openam-rest/src/main/java/org/forgerock/openam/rest/
H A DServiceConfigUtils.java35 public static Long getLongAttribute(ServiceConfig serviceConfig, String attributeName) { argument
36 Map<String, Set<String>> attributes = serviceConfig.getAttributes();
51 public static Boolean getBooleanAttribute(ServiceConfig serviceConfig, String attributeName) { argument
52 Map<String, Set<String>> attributes = serviceConfig.getAttributes();
61 public static String getStringAttribute(ServiceConfig serviceConfig, String attributeName) { argument
62 Map<String, Set<String>> attributes = serviceConfig.getAttributes();
68 public static Set<String> getSetAttribute(ServiceConfig serviceConfig, String attributeName) { argument
69 Map<String, Set<String>> attributes = serviceConfig.getAttributes();
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/utils/
H A DServiceConfigUtils.java35 public static Long getLongAttribute(ServiceConfig serviceConfig, String attributeName) { argument
36 Map<String, Set<String>> attributes = serviceConfig.getAttributes();
51 public static Boolean getBooleanAttribute(ServiceConfig serviceConfig, String attributeName) { argument
52 Map<String, Set<String>> attributes = serviceConfig.getAttributes();
61 public static String getStringAttribute(ServiceConfig serviceConfig, String attributeName) { argument
62 Map<String, Set<String>> attributes = serviceConfig.getAttributes();
68 public static Set<String> getSetAttribute(ServiceConfig serviceConfig, String attributeName) { argument
69 Map<String, Set<String>> attributes = serviceConfig.getAttributes();
/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/sm/
H A DServiceConfigQueryFilterVisitorTest.java35 private ServiceConfig serviceConfig; field in class:ServiceConfigQueryFilterVisitorTest
40 serviceConfig = mock(ServiceConfig.class);
45 when(serviceConfig.getAttributesForRead()).thenReturn(attributeMap);
56 boolean result = queryFilter.accept(filterVisitor, serviceConfig);
68 boolean result = queryFilter.accept(filterVisitor, serviceConfig);
80 boolean result = queryFilter.accept(filterVisitor, serviceConfig);
95 boolean result = queryFilter.accept(filterVisitor, serviceConfig);
110 boolean result = queryFilter.accept(filterVisitor, serviceConfig);
124 boolean result = queryFilter.accept(filterVisitor, serviceConfig);
136 boolean result = queryFilter.accept(filterVisitor, serviceConfig);
[all...]
/forgerock/openam-v13/openam-selfservice/src/main/java/org/forgerock/openam/selfservice/
H A DSelfServiceFactory.java34 * @param serviceConfig
39 RequestHandler getService(String realm, ProcessInstanceConfig serviceConfig); argument
/forgerock/openam/openam-selfservice/src/main/java/org/forgerock/openam/selfservice/
H A DSelfServiceFactory.java34 * @param serviceConfig
39 RequestHandler getService(String realm, ProcessInstanceConfig serviceConfig); argument
H A DSelfServiceFactoryImpl.java57 public RequestHandler getService(String realm, ProcessInstanceConfig serviceConfig) { argument
59 return new AnonymousProcessService(serviceConfig, stageProvider,
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/dpro/session/service/
H A DHttpConnectionFactory.java63 private final SessionServiceConfig serviceConfig; field in class:HttpConnectionFactory
70 SessionServiceConfig serviceConfig,
74 this.serviceConfig = serviceConfig;
89 if (!serviceConfig.isSessionFailoverEnabled()) {
106 cookie.append(serviceConfig.getSecurityCookieName());
108 cookie.append(serviceConfig.isCookieEncodingEnabled() ? URLEncDec.encode(securityCookie) : securityCookie);
118 cookie.append(serviceConfig.isCookieEncodingEnabled() ? URLEncDec.encode(sid.toString()) : sid.toString());
124 cookie.append(serviceConfig.getHttpSessionTrackingCookieName());
126 cookie.append(serviceConfig
68 HttpConnectionFactory( @amedSessionConstants.SESSION_DEBUG) Debug sessionDebug, SessionServiceConfig serviceConfig, SessionServerConfig serverConfig, SessionCookies sessionCookies) argument
[all...]
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/entitlement/service/
H A DApplicationQueryFilterVisitorTest.java47 private ServiceConfig serviceConfig; field in class:ApplicationQueryFilterVisitorTest
61 serviceConfig = mock(ServiceConfig.class);
62 when(serviceConfig.getAttributes()).thenReturn(appData);
70 Map<String, Set<String>> configData = applicationQueryFilterVisitor.getConfigData(serviceConfig);
86 boolean result = queryFilter.accept(applicationQueryFilterVisitor, serviceConfig);
98 boolean result = queryFilter.accept(applicationQueryFilterVisitor, serviceConfig);
110 boolean result = queryFilter.accept(applicationQueryFilterVisitor, serviceConfig);
122 boolean result = queryFilter.accept(applicationQueryFilterVisitor, serviceConfig);
134 boolean result = queryFilter.accept(applicationQueryFilterVisitor, serviceConfig);
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/session/blacklist/
H A DBloomFilterSessionBlacklist.java54 private final SessionServiceConfig serviceConfig; field in class:BloomFilterSessionBlacklist
58 final SessionServiceConfig serviceConfig,
60 Reject.ifNull(delegate, serviceConfig, bloomFilter);
64 this.serviceConfig = serviceConfig;
86 * @param serviceConfig the session service configuration to get blacklist settings from.
89 final SessionServiceConfig serviceConfig) {
90 this(delegate, serviceConfig, BloomFilters.<SessionBlacklistEntry>create(SessionFunnel.INSTANCE)
111 serviceConfig.getSessionBlacklistPurgeDelay(TimeUnit.MILLISECONDS)))) {
57 BloomFilterSessionBlacklist(final SessionBlacklist delegate, final SessionServiceConfig serviceConfig, final BloomFilter<SessionBlacklistEntry> bloomFilter) argument
88 BloomFilterSessionBlacklist(final SessionBlacklist delegate, final SessionServiceConfig serviceConfig) argument
/forgerock/openam-v13/openam-console/src/main/java/com/sun/identity/console/audit/model/
H A DAbstractAuditModel.java185 ServiceConfig serviceConfig = getServiceConfig();
186 if (serviceConfig == null) {
190 Set<String> auditHandlerNames = serviceConfig.getSubConfigNames();
192 ServiceConfig conf = serviceConfig.getSubConfig(name);
225 ServiceConfig serviceConfig = getServiceConfig();
226 if (serviceConfig != null) {
228 serviceConfig.removeSubConfig(name);
239 ServiceConfig serviceConfig = getServiceConfig();
240 if (serviceConfig == null) {
243 serviceConfig
[all...]
/forgerock/openam/openam-console/src/main/java/com/sun/identity/console/audit/model/
H A DAbstractAuditModel.java185 ServiceConfig serviceConfig = getServiceConfig();
186 if (serviceConfig == null) {
190 Set<String> auditHandlerNames = serviceConfig.getSubConfigNames();
192 ServiceConfig conf = serviceConfig.getSubConfig(name);
225 ServiceConfig serviceConfig = getServiceConfig();
226 if (serviceConfig != null) {
228 serviceConfig.removeSubConfig(name);
239 ServiceConfig serviceConfig = getServiceConfig();
240 if (serviceConfig == null) {
243 serviceConfig
[all...]
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/service/
H A DSessionTimeoutHandlerExecutor.java63 private final SessionServiceConfig serviceConfig; field in class:SessionTimeoutHandlerExecutor
71 final SessionServiceConfig serviceConfig) {
75 this.serviceConfig = serviceConfig;
96 final Set<String> handlers = serviceConfig.getTimeoutHandlers();
67 SessionTimeoutHandlerExecutor( final @Named(SESSION_DEBUG) Debug sessionDebug, final @Named(EXECUTOR_BINDING_NAME) ExecutorService executorService, final SSOTokenManager ssoTokenManager, final SessionServiceConfig serviceConfig) argument
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/session/service/
H A DServicesClusterMonitorHandler.java54 private final SessionServiceConfig serviceConfig; field in class:ServicesClusterMonitorHandler
59 final SessionServiceConfig serviceConfig,
62 this.serviceConfig = serviceConfig;
172 return new MultiServerClusterMonitor(sessionDebug, serviceConfig, serverConfig);
58 ServicesClusterMonitorHandler(final @Named(SessionConstants.SESSION_DEBUG) Debug sessionDebug, final SessionServiceConfig serviceConfig, final SessionServerConfig serverConfig) argument
/forgerock/openam-v13/openam-radius/openam-radius-server/src/main/java/org/forgerock/openam/radius/server/
H A DRequestListenerFactory.java78 * @param serviceConfig - the configuration of the RADIUS service.
82 public RadiusRequestListener getRadiusRequestListener(RadiusServiceConfig serviceConfig) argument
84 final ThreadPoolConfig poolConfig = serviceConfig.getThreadPoolConfig();
92 return new RadiusRequestListener(serviceConfig, executorService, eventBus, accessRequestHandlerFactory);
/forgerock/openam/openam-radius/openam-radius-server/src/main/java/org/forgerock/openam/radius/server/
H A DRequestListenerFactory.java75 * @param serviceConfig - the configuration of the RADIUS service.
79 public RadiusRequestListener getRadiusRequestListener(RadiusServiceConfig serviceConfig) argument
81 final ThreadPoolConfig poolConfig = serviceConfig.getThreadPoolConfig();
89 return new RadiusRequestListener(serviceConfig, executorService, eventBus, accessRequestHandlerFactory);
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/dpro/session/service/cluster/
H A DMultiServerClusterMonitor.java62 private final SessionServiceConfig serviceConfig; field in class:MultiServerClusterMonitor
72 * @param serviceConfig
79 SessionServiceConfig serviceConfig,
82 this(sessionService, sessionDebug, serviceConfig, serverConfig, new ClusterStateServiceFactory());
92 SessionServiceConfig serviceConfig,
96 if (!serviceConfig.isSessionFailoverEnabled()) {
102 this.serviceConfig = serviceConfig;
136 if (serviceConfig.isUseInternalRequestRoutingEnabled()) {
167 serviceConfig, CollectionUtil
76 MultiServerClusterMonitor( SessionService sessionService, Debug sessionDebug, SessionServiceConfig serviceConfig, SessionServerConfig serverConfig) argument
89 MultiServerClusterMonitor( SessionService sessionService, Debug sessionDebug, SessionServiceConfig serviceConfig, SessionServerConfig serverConfig, ClusterStateServiceFactory clusterStateServiceFactory) argument
[all...]
/forgerock/openam-v13/openam-audit/openam-audit-core/src/test/java/org/forgerock/openam/audit/
H A DAuditEventPublisherImplTest.java113 AMAuditServiceConfiguration serviceConfig = new AMAuditServiceConfiguration(true);
115 .withConfiguration(serviceConfig)
118 serviceConfig);
146 AMAuditServiceConfiguration serviceConfig = new AMAuditServiceConfiguration(true);
148 .withConfiguration(serviceConfig)
151 serviceConfig);
157 AMAuditServiceConfiguration serviceConfig = new AMAuditServiceConfiguration(true);
159 .withConfiguration(serviceConfig)
161 AMAuditService auditService = new DefaultAuditServiceProxy(builder.build(), serviceConfig);
/forgerock/openam/openam-audit/openam-audit-core/src/test/java/org/forgerock/openam/audit/
H A DAuditEventPublisherImplTest.java113 AMAuditServiceConfiguration serviceConfig = new AMAuditServiceConfiguration(true);
115 .withConfiguration(serviceConfig)
118 serviceConfig);
146 AMAuditServiceConfiguration serviceConfig = new AMAuditServiceConfiguration(true);
148 .withConfiguration(serviceConfig)
151 serviceConfig);
157 AMAuditServiceConfiguration serviceConfig = new AMAuditServiceConfiguration(true);
159 .withConfiguration(serviceConfig)
161 AMAuditService auditService = new DefaultAuditServiceProxy(builder.build(), serviceConfig);

Completed in 3067 milliseconds

12345