com.metamatrix.console.models
Class AuthenticationProviderManager
java.lang.Object
com.metamatrix.console.models.Manager
com.metamatrix.console.models.AuthenticationProviderManager
public class AuthenticationProviderManager
- extends Manager
Methods inherited from class com.metamatrix.console.models.Manager |
addManagerListener, fireModelChangedEvent, fireModelChangedEvent, getConnection, getConnection, getEncryptor, getEventListeners, getIsStale, init, refresh, removeManagerListener, setIsStale |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthenticationProviderManager
public AuthenticationProviderManager(ConnectionInfo connection)
getConfigurationAdminAPI
public ConfigurationAdminAPI getConfigurationAdminAPI()
deleteProvider
public void deleteProvider(ComponentDefn provider)
throws java.lang.Exception
- Delete the provider from the startup config
- Parameters:
provider
- the provider ComponentDefn
- Throws:
java.lang.Exception
addProvidersChangeListener
public void addProvidersChangeListener(ProvidersChangedListener listener)
removeProvidersChangeListener
public void removeProvidersChangeListener(ProvidersChangedListener listener)
deleteProviders
public void deleteProviders(java.util.Collection providers)
throws java.lang.Exception
- Delete the collection of providers from the startup config
- Parameters:
providers
- the list of provider ComponentDefns
- Throws:
java.lang.Exception
getAllProviders
public java.util.Collection getAllProviders()
throws java.lang.Exception
- Get all AuthenticationProviders from the configuration
- Returns:
- the collection of all providers
- Throws:
java.lang.Exception
getAllProviderTypes
public java.util.List getAllProviderTypes()
getAllProviderTypes
public java.util.List getAllProviderTypes(boolean bForceRefresh)
- Get all provider types
- Returns:
- the collection of provider types
getNextStartupConfig
public Configuration getNextStartupConfig()
throws java.lang.Exception
- Throws:
java.lang.Exception
providerTypeNameAlreadyExists
public boolean providerTypeNameAlreadyExists(java.lang.String sName)
throws java.lang.Exception
- Throws:
java.lang.Exception
getAuthProvider
public ComponentType getAuthProvider(ServiceComponentDefn serviceDefn)
getAuthenticationProviderEditor
public ConfigurationObjectEditor getAuthenticationProviderEditor()
throws java.lang.Exception
- Throws:
java.lang.Exception
getTentativeAuthenticationProvider
public AuthenticationProvider getTentativeAuthenticationProvider(ComponentType ctProvider,
ConfigurationObjectEditor coe,
java.lang.String sProviderName)
throws java.lang.Exception
- Throws:
java.lang.Exception
copyAuthenticationProvider
public AuthenticationProvider copyAuthenticationProvider(AuthenticationProvider original,
ConfigurationObjectEditor coe,
java.lang.String sProviderName)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPropertiedObject
public PropertiedObject getPropertiedObject(ComponentDefn cdAuthProvider)
throws java.lang.Exception
- Throws:
java.lang.Exception
saveProvider
public void saveProvider(ModificationActionQueue maqActionQForProvider)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPropertiedObjectEditor
public PropertiedObjectEditor getPropertiedObjectEditor(ModificationActionQueue maqActionQForBinding)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPropertiedObjectEditor
public PropertiedObjectEditor getPropertiedObjectEditor()
throws java.lang.Exception
- Throws:
java.lang.Exception
createAuthenticationProvider
public void createAuthenticationProvider(AuthenticationProvider provider,
ConfigurationObjectEditor coe)
throws java.lang.Exception
- Method to commit actions to create a conector binding. The
ConfigurationObjectEditor argument is expected to to have the connector,
the connector binding name, and the properties.
- Parameters:
binding
- ServiceComponentDefn for the bindingcoe
- editor expected to have the connector, the binding name, and the binding propertiespscs
- array of PSCs for which the binding is to be enabled
- Throws:
java.lang.Exception
Copyright © 2009. All Rights Reserved.