org.deegree.services.controller.security
Class SecurityConfiguration
java.lang.Object
org.deegree.commons.config.AbstractBasicResourceManager
org.deegree.services.controller.security.SecurityConfiguration
- All Implemented Interfaces:
- ResourceManager
public class SecurityConfiguration
- extends AbstractBasicResourceManager
- implements ResourceManager
- Version:
- $Revision: 30337 $, $Date: 2011-04-04 14:21:18 +0200 (Mon, 04 Apr 2011) $
- Author:
- Andreas Schmitz, last edited by: $Author: mschneider $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityConfiguration
public SecurityConfiguration()
startup
public void startup(DeegreeWorkspace workspace)
- Description copied from interface:
ResourceManager
- Is called upon workspace startup.
- Specified by:
startup
in interface ResourceManager
getCredentialsProvider
public CredentialsProvider getCredentialsProvider()
- Returns:
- the credentials provider or null, if none was defined
checkCredentials
public boolean checkCredentials(Credentials creds)
- Parameters:
creds
-
- Returns:
- true, if an authentication authority does
verifyAddress
public boolean verifyAddress(Credentials creds,
String address)
- Parameters:
creds
- address
-
- Returns:
- true, if an authentication authority does
getDependencies
public Class<? extends ResourceManager>[] getDependencies()
- Specified by:
getDependencies
in interface ResourceManager
- Returns:
- an empty array if there are no dependencies
shutdown
public void shutdown()
- Description copied from interface:
ResourceManager
- Is called upon workspace shutdown.
- Specified by:
shutdown
in interface ResourceManager
getMetadata
public ResourceManagerMetadata getMetadata()
- Specified by:
getMetadata
in interface ResourceManager
- Returns:
- a metadata object, may be null
activate
public ResourceState activate(String id)
- Description copied from interface:
ResourceManager
- Activates the resource with the given identifier.
- Specified by:
activate
in interface ResourceManager
- Parameters:
id
- resource identifier, must not be null
- Returns:
- resource state after activation (may be unsuccessful), but never
null
deactivate
public ResourceState deactivate(String id)
- Description copied from interface:
ResourceManager
- Deactivates the resource with the given identifier.
- Specified by:
deactivate
in interface ResourceManager
- Parameters:
id
- resource identifier, must not be null
- Returns:
- resource state after deactivation (may be unsuccessful), but never
null
getProvider
protected ResourceProvider getProvider(File file)
- Specified by:
getProvider
in class AbstractBasicResourceManager
remove
protected void remove(String id)
- Specified by:
remove
in class AbstractBasicResourceManager
Copyright © 2011. All Rights Reserved.