hr.tis.mgw.client.security
Class ClasspathFileRouteCredentialsHandler
java.lang.Object
hr.tis.mgw.client.security.MultipleRouteCredentialsHandler
hr.tis.mgw.client.security.ClasspathFileRouteCredentialsHandler
- All Implemented Interfaces:
- RouteCredentialsHandler
Deprecated. Deprecated for mGw version 2.
- public class ClasspathFileRouteCredentialsHandler
- extends MultipleRouteCredentialsHandler
- implements RouteCredentialsHandler
Credentials and authentication are now used directly in xManager2.
Specify username and password parameters for various methods to achive authentication.
|
Method Summary |
void |
load()
Deprecated. Reads credentials list from the file found in classpath using filePath
and loads a map which contains RouteCredentials object. |
void |
setFilePath(java.lang.String filePath)
Deprecated. A filePath of the file in classpath which contains credentials. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClasspathFileRouteCredentialsHandler
public ClasspathFileRouteCredentialsHandler()
- Deprecated.
ClasspathFileRouteCredentialsHandler
public ClasspathFileRouteCredentialsHandler(java.lang.String filePath,
java.lang.String credentialsPattern)
throws RouteCredentialsLoadingFailureException
- Deprecated.
setFilePath
public void setFilePath(java.lang.String filePath)
- Deprecated.
- A filePath of the file in classpath which contains credentials.
- Parameters:
filePath - String
load
public void load()
throws RouteCredentialsLoadingFailureException
- Deprecated.
- Reads credentials list from the file found in classpath using filePath
and loads a map which contains
RouteCredentials object.
- Overrides:
load in class MultipleRouteCredentialsHandler
- Throws:
ParseException
RouteCredentialsLoadingFailureException
Copyright © 2000-2007, TIS.kis d.o.o. All Rights Reserved.