Interface JcifsConfigConstants
public interface JcifsConfigConstants
This is
JcifsConfigConstants.- Since:
- 6.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe default authentication domain used if not specified in an SMB URL.static final StringThe default password used if not specified in an SMB URL.static final StringTo prevent the client from holding server resources unnecessarily, sockets are closed after this time period if there is no activity.static final StringThe default username used if not specified in an SMB URL.static final StringThe 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 final StringWhen a NetBIOS name is resolved with the NbtAddress class it is cached to reduce redundant name queries.static final StringThe IP address of the WINS server.static final StringThe password for the service principal account, required only if you decide not to use keytab.static final String-- the service principal you just created.static final StringPath to the kerberos config file.static final StringTurn on debug for kerberos.static final StringDefinition of the kerberos KDC.static final StringDefinition of the kerberos realm.static final StringPath to the login.config JAAS file.static final StringWhen 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 Details
-
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:
-
SYS_PROP_LOGIN_CONF
Path to the login.config JAAS file.- See Also:
-
SYS_PROP_KERBEROS_DEBUG
Turn on debug for kerberos.- See Also:
-
SYS_PROP_KERBEROS_CONF
Path to the kerberos config file.- See Also:
-
SYS_PROP_KERBEROS_REALM
Definition of the kerberos realm.- See Also:
-
SYS_PROP_KERBEROS_KDC
Definition of the kerberos KDC.- See Also:
-
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:
-
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:
-
JCIFS_PROP_CLIENT_DOMAIN
The default authentication domain used if not specified in an SMB URL.- See Also:
-
JCIFS_PROP_CLIENT_USERNAME
The default username used if not specified in an SMB URL.- See Also:
-
JCIFS_PROP_CLIENT_PASSWORD
The default password used if not specified in an SMB URL.- See Also:
-
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:
-
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:
-
JCIFS_PROP_SERVICE_PRINCIPAL
-- the service principal you just created. Using the previous example, this would be "HTTP/mybox at DOMAIN.COM".- See Also:
-
JCIFS_PROP_SERVICE_PASSWORD
The password for the service principal account, required only if you decide not to use keytab.- See Also:
-