Class AdlsGen2FetcherConfig
java.lang.Object
com.norconex.crawler.core.fetch.BaseFetcherConfig
com.norconex.crawler.fs.fetch.impl.BaseAuthNioFetcherConfig
com.norconex.crawler.fs.fetch.impl.adlsgen2.AdlsGen2FetcherConfig
Configuration for AdlsGen2Fetcher.
Shared-key authentication uses the configured credentials, where the username is the Azure storage account name and the password is the storage account key.
A SAS token can be given in setSasToken(String), or as the
password of the credentials when they have no username. The latter is
the way to keep the token secret: like any credentials password, it can
be encrypted.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanboolean@NonNull AclFetchModegetAcl()Which permissions to read and write on each document as its access control list (ACL): the owner, owning group and their rights (AclFetchMode.BASIC), plus the named users and groups of the path's ACL and its mask (AclFetchMode.EXTENDED).Optional service endpoint override.Optional SAS (Shared Access Signature) token used instead of shared-key credentials.inthashCode()setAcl(@NonNull AclFetchMode acl) Which permissions to read and write on each document as its access control list (ACL): the owner, owning group and their rights (AclFetchMode.BASIC), plus the named users and groups of the path's ACL and its mask (AclFetchMode.EXTENDED).setEndpoint(String endpoint) Optional service endpoint override.setSasToken(String sasToken) Optional SAS (Shared Access Signature) token used instead of shared-key credentials.toString()Methods inherited from class com.norconex.crawler.fs.fetch.impl.BaseAuthNioFetcherConfig
getCredentials, getDomain, setDomainMethods inherited from class com.norconex.crawler.core.fetch.BaseFetcherConfig
getReferenceFilters, setReferenceFilters
-
Constructor Details
-
AdlsGen2FetcherConfig
public AdlsGen2FetcherConfig()
-
-
Method Details
-
getEndpoint
Optional service endpoint override. When omitted, the endpoint is derived from the reference account ashttps://<account>.dfs.core.windows.net. -
getSasToken
Optional SAS (Shared Access Signature) token used instead of shared-key credentials. It is kept as is in the configuration. To keep it secret (encrypted, or supplied as a variable), leave this empty and give it as the password of the credentials, with no username. -
getAcl
Which permissions to read and write on each document as its access control list (ACL): the owner, owning group and their rights (AclFetchMode.BASIC), plus the named users and groups of the path's ACL and its mask (AclFetchMode.EXTENDED). Default isAclFetchMode.NONE. -
setEndpoint
Optional service endpoint override. When omitted, the endpoint is derived from the reference account ashttps://<account>.dfs.core.windows.net.- Returns:
this.
-
setSasToken
Optional SAS (Shared Access Signature) token used instead of shared-key credentials. It is kept as is in the configuration. To keep it secret (encrypted, or supplied as a variable), leave this empty and give it as the password of the credentials, with no username.- Returns:
this.
-
setAcl
Which permissions to read and write on each document as its access control list (ACL): the owner, owning group and their rights (AclFetchMode.BASIC), plus the named users and groups of the path's ACL and its mask (AclFetchMode.EXTENDED). Default isAclFetchMode.NONE.- Returns:
this.
-
equals
- Overrides:
equalsin classBaseAuthNioFetcherConfig
-
canEqual
- Overrides:
canEqualin classBaseAuthNioFetcherConfig
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseAuthNioFetcherConfig
-
toString
- Overrides:
toStringin classBaseAuthNioFetcherConfig
-