public final class ConnectorFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static IComponent |
getComponent(ComponentBase base,
String preferredConnectorType) |
static IComponent |
getComponent(ComponentBase base,
String preferredConnectorType,
Map<String,Authentication> protocolToAuthentication) |
static IPolicyDecisionPoint |
getPdp(Component component,
String preferredConnectorType,
Map<String,Authentication> protocolToAuthentication)
Tries to establish a connection to a PDP by using the passed url variable.
|
static IPolicyDecisionPoint |
getPdp(URI url)
Tries to establish a connection to a PDP by using the passed url variable.
|
static IPolicyDecisionPoint |
getPdp(URI url,
Authentication credentials)
Tries to establish a connection to a PDP by using the passed url variable.
|
static IPolicyEnforcementPoint |
getPep(PepComponent component,
String preferredConnectorType)
Tries to establish a connection to a PEP by using the passed url variable.
|
static IPolicyEnforcementPoint |
getPep(URI url)
Tries to establish a connection to a PEP by using the passed url variable.
|
static IPolicyInformationPoint |
getPip(Component component,
String preferredConnectorType)
Tries to establish a connection to a PIP by using the passed url variable.
|
static IPolicyInformationPoint |
getPip(URI url)
Tries to establish a connection to a PIP by using the passed url variable.
|
static IPolicyManagementPoint |
getPmpClient(Component component,
String preferredConnectorType)
Tries to establish a connection to a PMP client by using the passed url
variable.
|
static IPolicyManagementPoint |
getPmpClient(URI url)
Tries to establish a connection to a PMP client by using the passed url
variable.
|
static IPolicyManagementPoint |
getPmpClient(URI url,
OAuthCredentials oAuthCredentials)
Tries to establish a connection to a PMP client by using the passed url
variable.
|
static IRootPolicyManagementPoint |
getPmpServer(Component component,
String preferredConnectorType)
Tries to establish a connection to a PMP server by using the passed url
variable.
|
static IRootPolicyManagementPoint |
getPmpServer(URI url)
Tries to establish a connection to a PMP server by using the passed url
variable.
|
static IPolicyRetrievalPoint |
getPrp(Component component,
String preferredConnectorType)
Tries to establish a connection to a PRP by using the passed url variable.
|
static IPolicyRetrievalPoint |
getPrp(URI url)
Tries to establish a connection to a PRP by using the passed url variable.
|
static IPolicyExecutionPoint |
getPxp(Component component,
String preferredConnectorType)
Tries to establish a connection to a PXP by using the passed url variable.
|
static IPolicyExecutionPoint |
getPxp(URI url)
Tries to establish a connection to a PXP by using the passed url variable.
|
protected static void |
loadClasses() |
public static IComponent getComponent(ComponentBase base, String preferredConnectorType)
public static IComponent getComponent(ComponentBase base, String preferredConnectorType, Map<String,Authentication> protocolToAuthentication)
public static IPolicyDecisionPoint getPdp(Component component, String preferredConnectorType, Map<String,Authentication> protocolToAuthentication)
component - The Component containing the URL used to connect to the
component, like rmi://localhost:1111/pdpRmipreferredConnectorType - The preferred connector type (optional). If
null, if the preferredConnectorType string is not found or if
there is only one url, the connector will be selected according to
the priorities list. This parameter is not case sensitive.public static IPolicyDecisionPoint getPdp(URI url)
url - The URL used to connect to the component, like
rmi://localhost:1111/pdpRmipublic static IPolicyDecisionPoint getPdp(URI url, Authentication credentials)
url - The URL used to connect to the component, like
rmi://localhost:1111/pdpRmicredentials - API Key (Oauth)public static IPolicyEnforcementPoint getPep(PepComponent component, String preferredConnectorType)
component - The Component containing the URL used to connect to the
component, like rmi://localhost:1111/pepRmipreferredConnectorType - The preferred connector type (optional). If
null, if the preferredConnectorType string is not found or if
there is only one url, the connector will be selected according to
the priorities list. This parameter is not case sensitive.public static IPolicyEnforcementPoint getPep(URI url)
url - The URL used to connect to the component, like
rmi://localhost:1111/pepRmipublic static IPolicyInformationPoint getPip(Component component, String preferredConnectorType)
component - The Component containing the URL used to connect to the
component, like rmi://localhost:1111/pipRmipreferredConnectorType - The preferred connector type (optional). If
null, if the preferredConnectorType string is not found or if
there is only one url, the connector will be selected according to
the priorities list. This parameter is not case sensitive.public static IPolicyInformationPoint getPip(URI url)
url - The URL used to connect to the component, like
rmi://localhost:1111/pipRmipublic static IPolicyManagementPoint getPmpClient(Component component, String preferredConnectorType)
component - The Component containing the URL used to connect to the
component, like rmi://localhost:1111/pmpRmipreferredConnectorType - The preferred connector type (optional). If
null, if the preferredConnectorType string is not found or if
there is only one url, the connector will be selected according to
the priorities list. This parameter is not case sensitive.public static IPolicyManagementPoint getPmpClient(URI url, OAuthCredentials oAuthCredentials)
url - The URL used to connect to the component, like
rmi://localhost:1111/pmpRmioAuthCredentials - Credentials to login.public static IPolicyManagementPoint getPmpClient(URI url)
url - The URL used to connect to the component, like
rmi://localhost:1111/pmpRmipublic static IRootPolicyManagementPoint getPmpServer(Component component, String preferredConnectorType)
component - The Component containing the URL used to connect to the
component, like rmi://localhost:1111/pmpRmipreferredConnectorType - The preferred connector type (optional). If
null, if the preferredConnectorType string is not found or if
there is only one url, the connector will be selected according to
the priorities list. This parameter is not case sensitive.public static IRootPolicyManagementPoint getPmpServer(URI url)
url - The URL used to connect to the component, like
rmi://localhost:1111/pmpRmipublic static IPolicyRetrievalPoint getPrp(Component component, String preferredConnectorType)
component - The Component containing the URL used to connect to the
component, like rmi://localhost:1111/prpRmipreferredConnectorType - The preferred connector type (optional). If
null, if the preferredConnectorType string is not found or if
there is only one url, the connector will be selected according to
the priorities list. This parameter is not case sensitive.public static IPolicyRetrievalPoint getPrp(URI url)
url - The URL used to connect to the component, like
rmi://localhost:1111/prpRmipublic static IPolicyExecutionPoint getPxp(Component component, String preferredConnectorType)
component - The Component containing the URL used to connect to the
component, like rmi://localhost:1111/pxpRmipreferredConnectorType - The preferred connector type (optional). If
null, if the preferredConnectorType string is not found or if
there is only one url, the connector will be selected according to
the priorities list. This parameter is not case sensitive.public static IPolicyExecutionPoint getPxp(URI url)
url - The URL used to connect to the component, like
rmi://localhost:1111/pxpRmiprotected static void loadClasses()
Copyright © 2018. All rights reserved.