Class TrustsDescription
- java.lang.Object
-
- org.apache.manifoldcf.crawler.connectors.webcrawler.TrustsDescription
-
public class TrustsDescription extends java.lang.ObjectThis class describes trust information pulled from a configuration. The data contained is organized by regular expression performed on a url. What we store for each regular expression is a Pattern, for efficiency. This structure deals with trusts as applied to a matching set of urls. Generally it is a good thing to limit the number of regexps that need to be evaluated against any given url value as much as possible. For that reason I've organized this structure accordingly.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classTrustsDescription.TrustsItemClass representing an individual credential item.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_rcsidprotected java.util.HashMappatternHashThis is the hash that contains everything.
-
Constructor Summary
Constructors Constructor Description TrustsDescription(org.apache.manifoldcf.core.interfaces.ConfigParams configData)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.manifoldcf.connectorcommon.interfaces.IKeystoreManagergetTrustStore(java.lang.String url)Given a URL, build the right trust certificate store, or return null if all certs should be accepted.
-
-
-
Field Detail
-
_rcsid
public static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
patternHash
protected java.util.HashMap patternHash
This is the hash that contains everything. It's keyed by the regexp string itself. Values are TrustsItem objects.
-
-
Constructor Detail
-
TrustsDescription
public TrustsDescription(org.apache.manifoldcf.core.interfaces.ConfigParams configData) throws org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionConstructor. Build the description from the ConfigParams.- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
-
-
Method Detail
-
getTrustStore
public org.apache.manifoldcf.connectorcommon.interfaces.IKeystoreManager getTrustStore(java.lang.String url) throws org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionGiven a URL, build the right trust certificate store, or return null if all certs should be accepted.- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
-
-