|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.filesys.auth.PassthruServerFactory
public class PassthruServerFactory
A Factory for PassthruServers objects, allowing setting of the server list via local server, individual
servers or domain name.
| Field Summary | |
|---|---|
static int |
DefaultSessionTmo
|
static int |
MaxCheckInterval
|
static int |
MaxSessionTmo
|
static int |
MinCheckInterval
|
static int |
MinSessionTmo
|
| Constructor Summary | |
|---|---|
PassthruServerFactory()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
void |
destroy()
|
java.lang.Object |
getObject()
|
java.lang.Class |
getObjectType()
|
boolean |
isSingleton()
|
void |
setDomain(java.lang.String domain)
Sets the domain to authenticate against |
void |
setLocalServer(boolean localServer)
Indicates whether the local server should be used as the authentication server |
void |
setNullDomainUseAnyServer(boolean nullDomain)
Set the null domain to use any available server option |
void |
setOfflineCheckInterval(java.lang.Integer offlineCheckInterval)
Sets the offline server check interval in seconds |
void |
setProtocolOrder(java.lang.String protoOrder)
Set the protocol order for passthru connections |
void |
setServer(java.lang.String server)
Sets the server(s) to authenticate against. |
void |
setTimeout(int timeout)
Sets the timeout for opening a session to an authentication server |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DefaultSessionTmo
public static final int MinSessionTmo
public static final int MaxSessionTmo
public static final int MinCheckInterval
public static final int MaxCheckInterval
| Constructor Detail |
|---|
public PassthruServerFactory()
| Method Detail |
|---|
public void setTimeout(int timeout)
timeout - a time period in millisecondspublic void setLocalServer(boolean localServer)
localServer - true if the local server should be used as the authentication serverpublic void setServer(java.lang.String server)
server - comma-delimited list of server namespublic void setDomain(java.lang.String domain)
domain - a domain namepublic void setOfflineCheckInterval(java.lang.Integer offlineCheckInterval)
offlineCheckInterval - a time interval in secondspublic final void setNullDomainUseAnyServer(boolean nullDomain)
nullDomain - booleanpublic void setProtocolOrder(java.lang.String protoOrder)
protoOrder - a comma-delimited list containing one or more of "NetBIOS" and "TCPIP" in any order
public void afterPropertiesSet()
throws org.alfresco.jlan.server.config.InvalidConfigurationException
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanorg.alfresco.jlan.server.config.InvalidConfigurationExceptionpublic java.lang.Object getObject()
getObject in interface org.springframework.beans.factory.FactoryBeanpublic java.lang.Class getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBeanpublic boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean
public void destroy()
throws java.lang.Exception
destroy in interface org.springframework.beans.factory.DisposableBeanjava.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||