Package edu.uiuc.ncsa.myproxy
Class MPSingleConnectionProvider<T extends MyProxyConnectable>
- java.lang.Object
-
- edu.uiuc.ncsa.myproxy.MPSingleConnectionProvider<T>
-
- All Implemented Interfaces:
javax.inject.Provider<T>
public class MPSingleConnectionProvider<T extends MyProxyConnectable> extends Object implements javax.inject.Provider<T>
Creates a singleMyProxyConnectable
object for a given configuration. Generally this is used internally by theMPConnectionProvider
class.Created by Jeff Gaynor
on 1/23/14 at 9:38 AM
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MPSingleConnectionProvider.MyProxyLogonConnection
-
Constructor Summary
Constructors Constructor Description MPSingleConnectionProvider(edu.uiuc.ncsa.security.core.util.MyLoggingFacade logger, String username, String password, long lifetime, MyProxyServiceFacade facade)
MPSingleConnectionProvider(edu.uiuc.ncsa.security.core.util.MyLoggingFacade logger, String username, String password, String hostname, int port, long lifetime, long socketTimeout, KeyManagerFactory keyManagerFactory, String serverDN)
MPSingleConnectionProvider(edu.uiuc.ncsa.security.core.util.MyLoggingFacade logger, String username, String password, String loa, long lifetime, MyProxyServiceFacade facade)
-
-
-
Constructor Detail
-
MPSingleConnectionProvider
public MPSingleConnectionProvider(edu.uiuc.ncsa.security.core.util.MyLoggingFacade logger, String username, String password, long lifetime, MyProxyServiceFacade facade) throws IOException, GeneralSecurityException
- Throws:
IOException
GeneralSecurityException
-
MPSingleConnectionProvider
public MPSingleConnectionProvider(edu.uiuc.ncsa.security.core.util.MyLoggingFacade logger, String username, String password, String loa, long lifetime, MyProxyServiceFacade facade) throws IOException, GeneralSecurityException
- Throws:
IOException
GeneralSecurityException
-
MPSingleConnectionProvider
public MPSingleConnectionProvider(edu.uiuc.ncsa.security.core.util.MyLoggingFacade logger, String username, String password, String hostname, int port, long lifetime, long socketTimeout, KeyManagerFactory keyManagerFactory, String serverDN)
-
-
Method Detail
-
get
public T get()
- Specified by:
get
in interfacejavax.inject.Provider<T extends MyProxyConnectable>
-
-