com.spotfire.server.security
Class AbstractAuthenticator

java.lang.Object
  extended by com.spotfire.server.security.AbstractAuthenticator
All Implemented Interfaces:
Authenticator

public abstract class AbstractAuthenticator
extends Object
implements Authenticator

An abstract base class for custom Authenticator implementations. The base class provides a very useful AbstractAuthenticator.getConfigurationFile(String) method.

Since:
8.1

Constructor Summary
AbstractAuthenticator()
           
 
Method Summary
 File getConfigurationFile(String file)
          The method creates a File object for the specified configuration file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.spotfire.server.security.Authenticator
authenticate, setConfiguration
 

Constructor Detail

AbstractAuthenticator

public AbstractAuthenticator()
Method Detail

getConfigurationFile

public File getConfigurationFile(String file)
The method creates a File object for the specified configuration file. The method returns null if the configuration file does not exist. The file parameter must either be an absolute file path or a path relative to the web application's root directory.

Parameters:
filename - the name of the configuration file, either absolute or relative to the web application's root directory
Returns:
a File object if the specified file exists, or null if the specified does not exist


Copyright © 2000-2009 TIBCO Software Inc. All Rights Reserved.