|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.lanl.SSLTools.ServiceFactory
Factory for creating the various client/server services, with/out SSL services. The classes instantiated have the responsibility of enforcing there own rules.

| Field Summary | |
static java.lang.String |
ALLOW_INSECURE_CONNECTIONS
Server/Client may allow insecure connections if true |
static java.lang.String |
IPADDRESS
The internalname for the IP address whose value is a string representing the IP address |
static java.lang.String |
IS_SERVER
The property keyword for indicating use by a server, otherwise client |
static java.lang.String |
KEY_ALIAS
The property keyword for the alias to use in the keystore |
static java.lang.String |
KEY_PASSWORD
The property keyword for the alias's password |
static java.lang.String |
KEYFIELD4RAD
The internal name for the key field in the subjectDN and the quotedID which is used for the RAD |
static java.lang.String |
KEYSTORE_PATH
The property keyword for the path to the keystore |
static java.lang.String |
QUOTEDID
The internal name for the quoted data whose value is a string form of something like the SubjectDN |
static java.lang.String |
RADSERVERNAME4AC
The name of the rad server to use in the access decision via interceptor |
static java.lang.String |
RESOURCENAMEPREFIX4AC
The default resource string for the access decision via interceptor |
static java.lang.String |
SECURITY_LEVEL
The security level to create with the factory. |
static java.lang.String[][] |
SECURITY_LEVELS
Supported values for SECURITY_LEVEL and associated classes |
static java.lang.String |
X509SUBJECTDN
The internal name for the X509 SubjectDN whose value is string form of the X509 SubjectDN |
| Constructor Summary | |
ServiceFactory()
Default constructor |
|
| Method Summary | |
gov.lanl.SSLTools.ServiceInterface |
createServiceInterface(java.lang.String[] inArgs)
Create the ServiceInterface specified by the command line arguments and the ORBServices.properties. |
gov.lanl.SSLTools.ServiceInterface |
createServiceInterface(java.lang.String[] inArgs,
java.util.Properties inProps)
Create the ServiceInterface specified by the properties along with the command line arguments. |
gov.lanl.SSLTools.ServiceInterface |
createServiceInterfaceClass(java.lang.String inSecurityLevel)
Instantiates a service interface class via the default constructor, does not set any options or call the service interfaces init method. |
static java.util.Properties |
getFactoryProperties()
Return the properties created by this factory |
static gov.lanl.SSLTools.ServiceInterface |
getSSLService()
Return the last ServiceInterface created |
void |
setApplet(java.applet.Applet inApplet)
Set up for an applet |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static java.lang.String SECURITY_LEVEL
public static java.lang.String[][] SECURITY_LEVELS
public static java.lang.String KEYSTORE_PATH
public static java.lang.String KEY_ALIAS
public static java.lang.String KEY_PASSWORD
public static java.lang.String IS_SERVER
public static java.lang.String ALLOW_INSECURE_CONNECTIONS
public static java.lang.String RADSERVERNAME4AC
public static java.lang.String RESOURCENAMEPREFIX4AC
public static java.lang.String X509SUBJECTDN
public static java.lang.String QUOTEDID
public static java.lang.String IPADDRESS
public static java.lang.String KEYFIELD4RAD
| Constructor Detail |
public ServiceFactory()
| Method Detail |
public void setApplet(java.applet.Applet inApplet)
inApplet - is the applet using the factorypublic static gov.lanl.SSLTools.ServiceInterface getSSLService()
public static java.util.Properties getFactoryProperties()
public gov.lanl.SSLTools.ServiceInterface createServiceInterfaceClass(java.lang.String inSecurityLevel)
throws ServiceException
ServiceExceptioninSecurityLevel - is the identifier which selects which
service interface to instantiate
public gov.lanl.SSLTools.ServiceInterface createServiceInterface(java.lang.String[] inArgs,
java.util.Properties inProps)
throws ServiceException
ServiceExceptioninArgs - are the command line argumentsinProps - are the properties
public gov.lanl.SSLTools.ServiceInterface createServiceInterface(java.lang.String[] inArgs)
throws ServiceException
ServiceExceptioninArgs - are the command line arguments
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||