|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fcrepo.server.Parameterized
org.fcrepo.server.Pluggable
org.fcrepo.server.Module
org.fcrepo.server.security.DefaultBackendSecurity
public class DefaultBackendSecurity
A Module for accessing backend service security configuration information.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.fcrepo.common.Constants |
|---|
Constants.FedoraHome |
| Field Summary | |
|---|---|
static BackendSecuritySpec |
beSS
|
| Constructor Summary | |
|---|---|
DefaultBackendSecurity(Map moduleParameters,
Server server,
String role)
Creates a new DefaultBackendSecurity. |
|
| Method Summary | |
|---|---|
BackendSecuritySpec |
getBackendSecuritySpec()
Gets the static instance of BackendSecuritySpec. |
BackendSecuritySpec |
parseBeSecurity()
Parses the beSecurity configuration file. |
void |
postInitModule()
Post-Initializes the Module based on configuration parameters. |
BackendSecuritySpec |
reloadBeSecurity()
Re-initializes the static backendSecuritySpec instance by rereading the beSecurity configurationfile. |
void |
setBackendSecuritySpec()
Initializes the static BackendSecuritySpec instance. |
| Methods inherited from class org.fcrepo.server.Module |
|---|
getRole, getServer, initModule, shutdownModule |
| Methods inherited from class org.fcrepo.server.Pluggable |
|---|
getHelp, getOptionalParameters, getParameterHelp, getRequiredModuleRoles, getRequiredParameters |
| Methods inherited from class org.fcrepo.server.Parameterized |
|---|
getParameter, getParameter, getParameter, getParameterList, getParameters, getParameters, parameterNames, setParameter, setParameters, setParameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static BackendSecuritySpec beSS
| Constructor Detail |
|---|
public DefaultBackendSecurity(Map moduleParameters,
Server server,
String role)
throws ModuleInitializationException
Creates a new DefaultBackendSecurity.
moduleParameters - The name/value pair map of module parameters.server - The server instance.role - The module role name.
ModuleInitializationException - If initialization values are invalid or initialization fails for
some other reason.| Method Detail |
|---|
public void postInitModule()
throws ModuleInitializationException
org.fcrepo.server.storage.DefaultBackendSecurity.
postInitModule in class ModuleModuleInitializationException - If initialization values are invalid or initialization fails for
some other reason.
public BackendSecuritySpec parseBeSecurity()
throws BackendSecurityParserException
parseBeSecurity in interface BackendSecurityBackendSecurityParserException - If an error occurs in attempting to parse the beSecurity
configuration file.public BackendSecuritySpec getBackendSecuritySpec()
getBackendSecuritySpec in interface BackendSecurity
public void setBackendSecuritySpec()
throws BackendSecurityParserException
setBackendSecuritySpec in interface BackendSecurityBackendSecurityParserException - If an error occurs in attempting to parse the beSecurity
configuration file.
public BackendSecuritySpec reloadBeSecurity()
throws BackendSecurityParserException
reloadBeSecurity in interface BackendSecurityBackendSecurityParserException - If an error occurs in attempting to parse the beSecurity
configuration file.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||