Interface JcifsConfigConstants
-
public interface JcifsConfigConstantsThis isJcifsConfigConstants.- Since:
- 6.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJCIFS_PROP_CLIENT_DOMAINThe default authentication domain used if not specified in an SMB URL.static java.lang.StringJCIFS_PROP_CLIENT_PASSWORDThe default password used if not specified in an SMB URL.static java.lang.StringJCIFS_PROP_CLIENT_SOTIMEOUTTo prevent the client from holding server resources unnecessarily, sockets are closed after this time period if there is no activity.static java.lang.StringJCIFS_PROP_CLIENT_USERNAMEThe default username used if not specified in an SMB URL.static java.lang.StringJCIFS_PROP_DOMAIN_CONTROLLERThe DNS hostname or IP address of a server that should be used to authenticate HTTP clients with the NtlmSsp class (use by NtlmHttpFilter and NetworkExplorer).static java.lang.StringJCIFS_PROP_NETBIOS_CACHE_POLICYWhen a NetBIOS name is resolved with the NbtAddress class it is cached to reduce redundant name queries.static java.lang.StringJCIFS_PROP_NETBIOS_WINSThe IP address of the WINS server.static java.lang.StringJCIFS_PROP_SERVICE_PASSWORDThe password for the service principal account, required only if you decide not to use keytab.static java.lang.StringJCIFS_PROP_SERVICE_PRINCIPAL-- the service principal you just created.static java.lang.StringSYS_PROP_KERBEROS_CONFPath to the kerberos config file.static java.lang.StringSYS_PROP_KERBEROS_DEBUGTurn on debug for kerberos.static java.lang.StringSYS_PROP_KERBEROS_KDCDefinition of the kerberos KDC.static java.lang.StringSYS_PROP_KERBEROS_REALMDefinition of the kerberos realm.static java.lang.StringSYS_PROP_LOGIN_CONFPath to the login.config JAAS file.static java.lang.StringSYS_PROP_USE_SUBJECT_CRED_ONLYWhen false, allows us to relax the usual restriction of requiring a GSS mechanism to obtain necessary credentials from an existing Subject, set up by JAAS.
-
-
-
Field Detail
-
SYS_PROP_USE_SUBJECT_CRED_ONLY
static final java.lang.String SYS_PROP_USE_SUBJECT_CRED_ONLY
When false, allows us to relax the usual restriction of requiring a GSS mechanism to obtain necessary credentials from an existing Subject, set up by JAAS. When this restriction is relaxed, it allows the mechanism to obtain credentials from some vendor-specific location. For example, some vendors might choose to use the operating system's cache if one exists, while others might choose to read from a protected file on disk.- See Also:
- Constant Field Values
-
SYS_PROP_LOGIN_CONF
static final java.lang.String SYS_PROP_LOGIN_CONF
Path to the login.config JAAS file.- See Also:
- Constant Field Values
-
SYS_PROP_KERBEROS_DEBUG
static final java.lang.String SYS_PROP_KERBEROS_DEBUG
Turn on debug for kerberos.- See Also:
- Constant Field Values
-
SYS_PROP_KERBEROS_CONF
static final java.lang.String SYS_PROP_KERBEROS_CONF
Path to the kerberos config file.- See Also:
- Constant Field Values
-
SYS_PROP_KERBEROS_REALM
static final java.lang.String SYS_PROP_KERBEROS_REALM
Definition of the kerberos realm.- See Also:
- Constant Field Values
-
SYS_PROP_KERBEROS_KDC
static final java.lang.String SYS_PROP_KERBEROS_KDC
Definition of the kerberos KDC.- See Also:
- Constant Field Values
-
JCIFS_PROP_DOMAIN_CONTROLLER
static final java.lang.String JCIFS_PROP_DOMAIN_CONTROLLER
The DNS hostname or IP address of a server that should be used to authenticate HTTP clients with the NtlmSsp class (use by NtlmHttpFilter and NetworkExplorer). If this is not specified the jcifs.smb.client.domain 0x1C NetBIOS group name will be queried. It is not necessary for this to specify a real domain controller. The IP address of a workstation will do for development purposes.- See Also:
- Constant Field Values
-
JCIFS_PROP_NETBIOS_WINS
static final java.lang.String JCIFS_PROP_NETBIOS_WINS
The IP address of the WINS server. This is only required when accessing hosts on different subnets although it is recommended if a WINS server is provided.- See Also:
- Constant Field Values
-
JCIFS_PROP_CLIENT_DOMAIN
static final java.lang.String JCIFS_PROP_CLIENT_DOMAIN
The default authentication domain used if not specified in an SMB URL.- See Also:
- Constant Field Values
-
JCIFS_PROP_CLIENT_USERNAME
static final java.lang.String JCIFS_PROP_CLIENT_USERNAME
The default username used if not specified in an SMB URL.- See Also:
- Constant Field Values
-
JCIFS_PROP_CLIENT_PASSWORD
static final java.lang.String JCIFS_PROP_CLIENT_PASSWORD
The default password used if not specified in an SMB URL.- See Also:
- Constant Field Values
-
JCIFS_PROP_CLIENT_SOTIMEOUT
static final java.lang.String JCIFS_PROP_CLIENT_SOTIMEOUT
To prevent the client from holding server resources unnecessarily, sockets are closed after this time period if there is no activity. This time is specified in milliseconds. The default is 35000.- See Also:
- Constant Field Values
-
JCIFS_PROP_NETBIOS_CACHE_POLICY
static final java.lang.String JCIFS_PROP_NETBIOS_CACHE_POLICY
When a NetBIOS name is resolved with the NbtAddress class it is cached to reduce redundant name queries. This property controls how long, in seconds, these names are cached. The default is 30 seconds, 0 is no caching, and -1 is forever.- See Also:
- Constant Field Values
-
JCIFS_PROP_SERVICE_PRINCIPAL
static final java.lang.String JCIFS_PROP_SERVICE_PRINCIPAL
-- the service principal you just created. Using the previous example, this would be "HTTP/mybox at DOMAIN.COM".- See Also:
- Constant Field Values
-
JCIFS_PROP_SERVICE_PASSWORD
static final java.lang.String JCIFS_PROP_SERVICE_PASSWORD
The password for the service principal account, required only if you decide not to use keytab.- See Also:
- Constant Field Values
-
-