Package edu.uiuc.ncsa.myproxy
Class ServiceFacadeConfiguration
- java.lang.Object
-
- edu.uiuc.ncsa.myproxy.ServiceFacadeConfiguration
-
public class ServiceFacadeConfiguration extends Object
Properties for the MyProxyService facade. This supports a configurable hostname and various levels of assurance.Created by Jeff Gaynor
on May 14, 2010 at 10:16:44 AM
-
-
Constructor Summary
Constructors Constructor Description ServiceFacadeConfiguration(String hostname, int port, long socketTimeout, Map<String,Integer> loas)
Constructor for the case that no serverDN is specified.ServiceFacadeConfiguration(String hostname, int port, long socketTimeout, Map<String,Integer> loas, String serverDN)
Sets the name of the server and default port.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHostname()
Get the fully qualified hostname for the MyProxy serverint
getPort()
Get the port for the MyProxy Server.String
getServerDN()
long
getSocketTimeout()
-
-
-
Constructor Detail
-
ServiceFacadeConfiguration
public ServiceFacadeConfiguration(String hostname, int port, long socketTimeout, Map<String,Integer> loas, String serverDN)
Sets the name of the server and default port. The levels of assurance as passed as a map of strings and port numbers. A call for a specific level of assurance will simply look up the port number and use that. This allows for changing the LOA port numbers in the configuration rather than having to worry about coding them.- Parameters:
hostname
- Fully qualified name of the MyProxy serverport
- The port for the serverloas
- A map consisting of the level of assurance names and port numbers.
-
ServiceFacadeConfiguration
public ServiceFacadeConfiguration(String hostname, int port, long socketTimeout, Map<String,Integer> loas)
Constructor for the case that no serverDN is specified. in that case, the trust manager will simply verify the server DN found from the server cert.- Parameters:
hostname
-port
-socketTimeout
-loas
-
-
-