Skip to content

Commit

Permalink
TEIID-3079: making the security domain service dependencies optional
Browse files Browse the repository at this point in the history
  • Loading branch information
rareddy committed Aug 13, 2014
1 parent a3eae43 commit 10244be
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -41,6 +41,7 @@
import org.jboss.msc.service.ServiceController;
import org.jboss.msc.service.ServiceName;
import org.jboss.msc.service.ServiceTarget;
import org.jboss.msc.service.ServiceBuilder.DependencyType;
import org.teiid.common.buffer.BufferManager;
import org.teiid.deployers.VDBRepository;
import org.teiid.dqp.internal.process.DQPCore;
Expand Down Expand Up @@ -159,7 +160,7 @@ protected void performRuntime(final OperationContext context, final ModelNode op
for (ServiceName name:names) {
if (scParent.isParentOf(name)) {
LogManager.logDetail(LogConstants.CTX_SECURITY, IntegrationPlugin.Util.gs(IntegrationPlugin.Event.TEIID50011, name.getSimpleName(), transportName));
transportBuilder.addDependency(name, SecurityDomainContext.class, new ConcurrentMapInjector<String,SecurityDomainContext>(transport.securityDomains, name.getSimpleName()));
transportBuilder.addDependency(DependencyType.OPTIONAL, name, SecurityDomainContext.class, new ConcurrentMapInjector<String,SecurityDomainContext>(transport.securityDomains, name.getSimpleName()));
}
}

Expand Down

0 comments on commit 10244be

Please sign in to comment.