net.sf.mmapps.modules.cloudprovider.impl
Class ClassAuthenticationCloudProvider

java.lang.Object
  extended by net.sf.mmapps.modules.cloudprovider.impl.DefaultCloudProvider
      extended by net.sf.mmapps.modules.cloudprovider.impl.ClassAuthenticationCloudProvider
All Implemented Interfaces:
CloudProvider, Configurable

public class ClassAuthenticationCloudProvider
extends DefaultCloudProvider

This CloudProvider uses the MMBase class authentication to get an admin cloud.

Version:
$Id: ClassAuthenticationCloudProvider.java,v 1.3 2005/07/31 12:36:48 keesj Exp $
Author:
Nico Klasens

Field Summary
static java.lang.String CLASS_AUTHENTICATION
          The MMBase authentication method used
 
Fields inherited from class net.sf.mmapps.modules.cloudprovider.impl.DefaultCloudProvider
cloudcontextname, CLOUDCONTEXTNAME_PROPERTY_NAME, cloudname, CLOUDNAME_PROPERTY_NAME, DEFAULT_CLOUD_NAME
 
Constructor Summary
ClassAuthenticationCloudProvider()
           
 
Method Summary
 org.mmbase.bridge.Cloud getAdminCloud()
          This method should return a cloud that can be used for administration purposes.
 org.mmbase.bridge.Cloud getCloud()
          This is the default method to get an MMBase cloud instance.
 
Methods inherited from class net.sf.mmapps.modules.cloudprovider.impl.DefaultCloudProvider
getAnonymousCloud, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_AUTHENTICATION

public static final java.lang.String CLASS_AUTHENTICATION
The MMBase authentication method used

See Also:
Constant Field Values
Constructor Detail

ClassAuthenticationCloudProvider

public ClassAuthenticationCloudProvider()
Method Detail

getAdminCloud

public org.mmbase.bridge.Cloud getAdminCloud()
Description copied from interface: CloudProvider
This method should return a cloud that can be used for administration purposes. Possible tasks that could be done with the returned instance are changing the context of a node or creating system nodes.

Specified by:
getAdminCloud in interface CloudProvider
Overrides:
getAdminCloud in class DefaultCloudProvider
Returns:
an anonymous cloud
See Also:
CloudProvider.getAdminCloud()

getCloud

public org.mmbase.bridge.Cloud getCloud()
Description copied from interface: CloudProvider
This is the default method to get an MMBase cloud instance. What type of cloud instance is returned depends on the configuration of the CloudProvider. It should be assumed that the returned cloud instance is suited for the task is will be used.

Specified by:
getCloud in interface CloudProvider
Overrides:
getCloud in class DefaultCloudProvider
Returns:
an anonymous cloud
See Also:
CloudProvider.getCloud()


Copyright © 2003-2005 mmapps. All Rights Reserved.