public class PassthruServerFactory
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
PassthruServers objects, allowing setting of the server list via local server, individual
servers or domain name.| Modifier and Type | Field and Description |
|---|---|
static int |
DefaultSessionTmo |
static int |
MaxCheckInterval |
static int |
MaxSessionTmo |
static int |
MinCheckInterval |
static int |
MinSessionTmo |
| Constructor and Description |
|---|
PassthruServerFactory() |
| Modifier and Type | Method and Description |
|---|---|
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
|
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
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 orderpublic 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.FactoryBeanpublic void destroy()
throws java.lang.Exception
destroy in interface org.springframework.beans.factory.DisposableBeanjava.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.