|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fhhannover.inform.trust.ifmapj.IfmapJ
public class IfmapJ
Entry class to do IF-MAP 2.0 communication using IfmapJ.
Constructor Summary | |
---|---|
IfmapJ()
|
Method Summary | |
---|---|
static IdentifierFactory |
createIdentifierFactory()
Deprecated. Use Identifiers directly. |
static RequestFactory |
createRequestFactory()
Deprecated. Use Requests directly. |
static SSRC |
createSSRC(String url,
KeyManager[] kms,
TrustManager[] tms)
Create a new SSRC object to operate on the given URL
using certificate-based authentication. |
static SSRC |
createSSRC(String url,
String user,
String pass,
TrustManager[] tms)
Create a new SSRC object to operate on the given url
using basic authentication. |
static StandardIfmapMetadataFactory |
createStandardMetadataFactory()
Crate a new StandardIfmapMetadataFactory object to create
standard metadata defined by IF-MAP 2.0. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IfmapJ()
Method Detail |
---|
public static SSRC createSSRC(String url, String user, String pass, TrustManager[] tms) throws InitializationException
SSRC
object to operate on the given url
using basic authentication.
url
- the URL to connect touser
- basic authentication userpass
- basic authentication passwordtms
- TrustManager instances to initialize the SSLContext
with.
SSRC
that uses basic authentication
IOException
InitializationException
public static SSRC createSSRC(String url, KeyManager[] kms, TrustManager[] tms) throws InitializationException
SSRC
object to operate on the given URL
using certificate-based authentication.
The keystore and truststore to be used have to be set using
the System.setProperty(String, String)
method using
the keys javax.net.ssl.keyStore, and javax.net.ssl.trustStore
respectively.
url
- the URL to connect tokms
- TrustManager instances to initialize the SSLContext
with.tms
- KeyManager instances to initialize the SSLContext
with.
SSRC
that uses certificate-based authentication
IOException
InitializationException
public static RequestFactory createRequestFactory()
Requests
directly.
RequestFactory
object to create IF-MAP requests
to be used with the methods provided by the SSRC
class.
RequestFactory
that is used to create IF-MAP requestspublic static IdentifierFactory createIdentifierFactory()
Identifiers
directly.
IdentifierFactory
object to create different types
of Identifier
implementations.
IdentifierFactory
that is used to create IF-MAP identifierspublic static StandardIfmapMetadataFactory createStandardMetadataFactory()
StandardIfmapMetadataFactory
object to create
standard metadata defined by IF-MAP 2.0.
StandardIfmapMetadataFactory
to create metadata
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |