Skip to content

Commit

Permalink
Merge pull request #73 from maximthomas/master
Browse files Browse the repository at this point in the history
fix ssoadm.jsp error
  • Loading branch information
vharseko committed Aug 13, 2018
2 parents 1712b66 + 035c755 commit 995bc48
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package com.sun.identity.cli;

import org.forgerock.guice.core.GuiceModule;
import org.forgerock.http.Client;
import org.forgerock.openam.shared.guice.CloseableHttpClientProvider;

import com.google.inject.Binder;
import com.google.inject.Module;
import com.google.inject.Scopes;

@GuiceModule
public class WebCliGuiceModule implements Module {

@Override
public void configure(Binder binder) {
binder.bind(Client.class).toProvider(CloseableHttpClientProvider.class).in(Scopes.SINGLETON);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ org.forgerock.openam.core.guice.CoreGuiceModule
org.forgerock.openam.core.guice.DataLayerGuiceModule
org.forgerock.openam.audit.AuditCoreGuiceModule
org.forgerock.openam.audit.configuration.AuditConfigurationGuiceModule
com.sun.identity.cli.WebCliGuiceModule

0 comments on commit 995bc48

Please sign in to comment.