org.fcrepo.server.security
Interface BackendSecurity

All Known Implementing Classes:
DefaultBackendSecurity

public interface BackendSecurity

Interface for accessing backend service security info.

Author:
Ross Wayland

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

BackendSecuritySpec getBackendSecuritySpec()
Gets the current instance of BackendSecuritySpec.

Returns:
Current instance of backendSecuritySpec.

setBackendSecuritySpec

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

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

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.


Copyright © 2011 DuraSpace. All Rights Reserved.