fedora.server.security
Interface BackendSecurity

All Known Implementing Classes:
DefaultBackendSecurity

public interface BackendSecurity

Title: BackendSecurity.java

Description: An interface for accessing backend service security info.

Version:
$Id: BackendSecurity.java,v 1.1 2005/05/27 14:42:01 rlw Exp $
Author:
rlw@virginia.edu

Method Summary
 BackendSecuritySpec getBackendSecuritySpec()
          Gets the current instance of BackendSecuritySpec.
 BackendSecuritySpec parseBeSecurity()
          Parses the beSecurity configuration file and stores the results in an instance of BackendSecuritySpec.
 BackendSecuritySpec reloadBeSecurity()
          Reloads the backend service security info by reparsing the beSecurity configuration file and storing results in an instance of BackendSecuritySpec.
 void setBackendSecuritySpec()
          Sets the current instance of BackendSecuritySpec by parsing the beSecurity configuration file.
 

Method Detail

getBackendSecuritySpec

public BackendSecuritySpec getBackendSecuritySpec()

Gets the current instance of BackendSecuritySpec.

Returns:
Current instance of backendSecuritySpec.

setBackendSecuritySpec

public void setBackendSecuritySpec()
                            throws BackendSecurityParserException

Sets the current instance of BackendSecuritySpec by parsing the beSecurity configuration file.

Throws:
BackendSecurityParserException - If an error occurs in parsing the beSecurity configuration file.

parseBeSecurity

public BackendSecuritySpec parseBeSecurity()
                                    throws BackendSecurityParserException

Parses the beSecurity configuration file and stores the results in an instance of BackendSecuritySpec.

Returns:
An instance of BackendSecuritySpec.
Throws:
BackendSecurityParserException - If an error occursin parsing the beSecurity configuration file.

reloadBeSecurity

public BackendSecuritySpec reloadBeSecurity()
                                     throws BackendSecurityParserException

Reloads the backend service security info by reparsing the beSecurity configuration file and storing results in an instance of BackendSecuritySpec.

Returns:
An instance of BackendSecuritySpec.
Throws:
BackendSecurityParserException - If an error occurs in trying to reparse the beSecurity configuration file.