org.openmdx.security.radius.client
Class RadiusClientFactory
java.lang.Object
org.openmdx.security.radius.client.RadiusClientFactory
- All Implemented Interfaces:
- PoolableObjectFactory
public class RadiusClientFactory
- extends Object
- implements PoolableObjectFactory
Radius Client Factory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RadiusClientFactory
public RadiusClientFactory(String[] hostNames,
int[] authenticationPorts,
int[] accountingPorts,
String sharedSecret,
long socketTimeout,
boolean trace,
InetAddress nasAddress)
- Constructor
- Parameters:
hostNames - The Radius Server's Host NameauthenticationPorts - The Radius Server's Authentication PortaccountingPorts - The Radius Server's Accounting PortsharedSecret - The Radius Protocol's Shared SecretsocketTimeout - The Radius Client's Socket Timeouttrace - defines whether the radius requests should be tracednasAddress - the NAS IP Address; the NAS Identifier is used in case of null
makeObject
public Object makeObject()
throws Exception
- Specified by:
makeObject in interface PoolableObjectFactory
- Throws:
Exception
destroyObject
public void destroyObject(Object obj)
throws Exception
- Specified by:
destroyObject in interface PoolableObjectFactory
- Throws:
Exception
validateObject
public boolean validateObject(Object obj)
- Specified by:
validateObject in interface PoolableObjectFactory
activateObject
public void activateObject(Object obj)
throws Exception
- Specified by:
activateObject in interface PoolableObjectFactory
- Throws:
Exception
passivateObject
public void passivateObject(Object obj)
throws Exception
- Specified by:
passivateObject in interface PoolableObjectFactory
- Throws:
Exception
This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.