public class AccessPointAuthChecker extends PrivTokenAuthChecker
AuthChecker implementation that runs ExclusionFilter provided
through AccessPoint.getExclusionFactory() as well as the filtering
provided by WaybackAPAuthChecker.
This is primarily meant for running CustomPolicyOracleFilter in
CDXServer rather than in EmbeddedCDXServerIndex, making
WaybackAPAuthChecker obsolete. Current implementation is very
specific to this usage.
APContextAuthToken as token.| Modifier and Type | Class and Description |
|---|---|
protected class |
AccessPointAuthChecker.CombinedFilenamePrefixFilter
CDXFilter on prefix of filename field. |
| Modifier and Type | Field and Description |
|---|---|
protected ExclusionFilterFactory |
fallbackExclusionFactory |
allCdxFieldsAccessTokens, allUrlAccessTokens, ignoreRobotsAccessTokens, publicCdxFields, publicCdxFormat| Constructor and Description |
|---|
AccessPointAuthChecker() |
| Modifier and Type | Method and Description |
|---|---|
CDXAccessFilter |
createAccessFilter(AuthToken token) |
ExclusionFilterFactory |
getFallbackExclusionFactory() |
void |
setFallbackExclusionFactory(ExclusionFilterFactory fallbackExclusionFactory)
ExclusionFilterFactory used if token passed to
createAccessFilter(AuthToken) is not an instance of
APContextAuthToken (CDX server query, for example). |
getAllCdxFieldsAccessTokens, getAllUrlAccessTokens, getIgnoreRobotsAccessTokens, getPublicCdxFields, getPublicCdxFormat, isAllCdxFieldAccessAllowed, isAllowed, isAllUrlAccessAllowed, setAllCdxFieldsAccessTokens, setAllUrlAccessTokens, setIgnoreRobotsAccessTokens, setPublicCdxFieldsprotected ExclusionFilterFactory fallbackExclusionFactory
public void setFallbackExclusionFactory(ExclusionFilterFactory fallbackExclusionFactory)
ExclusionFilterFactory used if token passed to
createAccessFilter(AuthToken) is not an instance of
APContextAuthToken (CDX server query, for example).fallbackExclusionFactory - public ExclusionFilterFactory getFallbackExclusionFactory()
public CDXAccessFilter createAccessFilter(AuthToken token)
Copyright © 2005–2015 IIPC. All rights reserved.