public class JcifsConfig
extends java.lang.Object
| Constructor and Description |
|---|
JcifsConfig()
Instantiates a new jCIFS config.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureJaasLoginConfig()
Configure jaas login config location and set it as a system property.
|
void |
init()
Init.
|
void |
setJcifsDomain(java.lang.String jcifsDomain) |
void |
setJcifsDomainController(java.lang.String jcifsDomainController) |
void |
setJcifsNetbiosCachePolicy(long policy)
Sets jcifs netbios cache policy.
|
void |
setJcifsNetbiosWins(java.lang.String jcifsNetbiosWins) |
void |
setJcifsPassword(java.lang.String jcifsPassword) |
void |
setJcifsServicePassword(java.lang.String jcifsServicePassword)
Sets the jcifs service password.
|
void |
setJcifsServicePrincipal(java.lang.String jcifsServicePrincipal)
Sets the jcifs service principal.
|
void |
setJcifsSocketTimeout(long timeout)
Sets jcifs socket timeout.
|
void |
setJcifsUsername(java.lang.String jcifsUsername) |
void |
setKerberosConf(java.lang.String kerberosConf)
Sets the kerberos conf.
|
void |
setKerberosDebug(java.lang.String kerberosDebug)
Sets the kerberos debug.
|
void |
setKerberosKdc(java.lang.String kerberosKdc)
Sets the kerberos kdc.
|
void |
setKerberosRealm(java.lang.String kerberosRealm)
Sets the kerberos realm.
|
void |
setLoginConf(java.lang.String loginConf) |
void |
setUseSubjectCredsOnly(boolean useSubjectCredsOnly)
Sets the use subject creds only.
|
@PostConstruct public void init()
protected void configureJaasLoginConfig()
public void setJcifsServicePassword(java.lang.String jcifsServicePassword)
jcifsServicePassword - the new jcifs service passwordpublic void setJcifsServicePrincipal(java.lang.String jcifsServicePrincipal)
jcifsServicePrincipal - the new jcifs service principalpublic void setKerberosConf(java.lang.String kerberosConf)
kerberosConf - the new kerberos confpublic void setKerberosKdc(java.lang.String kerberosKdc)
kerberosKdc - the new kerberos kdcpublic void setKerberosRealm(java.lang.String kerberosRealm)
kerberosRealm - the new kerberos realmpublic void setLoginConf(java.lang.String loginConf)
public void setUseSubjectCredsOnly(boolean useSubjectCredsOnly)
useSubjectCredsOnly - the new use subject creds onlypublic void setKerberosDebug(java.lang.String kerberosDebug)
kerberosDebug - the new kerberos debugpublic void setJcifsDomain(java.lang.String jcifsDomain)
jcifsDomain - the jcifsDomain to setpublic void setJcifsDomainController(java.lang.String jcifsDomainController)
jcifsDomainController - the jcifsDomainController to setpublic void setJcifsPassword(java.lang.String jcifsPassword)
jcifsPassword - the jcifsPassword to setpublic void setJcifsUsername(java.lang.String jcifsUsername)
jcifsUsername - the jcifsUsername to setpublic void setJcifsNetbiosWins(java.lang.String jcifsNetbiosWins)
jcifsNetbiosWins - the jcifsNetbiosWins to setpublic void setJcifsNetbiosCachePolicy(long policy)
policy - the policypublic void setJcifsSocketTimeout(long timeout)
timeout - the timeout