public class FileBasedMetadataConfigurationStore extends Object implements IMetadataConfigurationStore
Constructor and Description |
---|
FileBasedMetadataConfigurationStore() |
Modifier and Type | Method and Description |
---|---|
void |
bootstrap()
Perform any bootstrap or initialization the store needs.
|
void |
cleanup()
Perform final cleanup if needed.
|
void |
delete(String id)
Delete the descriptor from the external data sink
|
void |
deleteTrustedProviders(String id)
Delete the trusted providers from the external data sink
|
Set<String> |
getIdentityProviderID()
Get a set of the identity provider ID, which can individually be drilled down to get additional trusted provider
information
|
Set<String> |
getServiceProviderID()
Get a set of the service provider ID, which can individually be drilled down to get additional trusted provider
information
|
EntityDescriptorType |
load(String id)
Load the descriptor from the external data sink
|
Map<String,String> |
loadTrustedProviders(String id)
Get the Trusted Providers
|
void |
persist(EntityDescriptorType entity,
String id)
Persist into an external sink (file system, ldap, db etc)
|
void |
persistTrustedProviders(String id,
Map<String,String> trusted)
Persist the map of trusted providers
|
public void bootstrap()
IMetadataConfigurationStore
Perform any bootstrap or initialization the store needs.
bootstrap
in interface IMetadataConfigurationStore
IMetadataConfigurationStore#bootstrap()}
public Set<String> getIdentityProviderID()
IMetadataConfigurationStore
getIdentityProviderID
in interface IMetadataConfigurationStore
IMetadataConfigurationStore.getIdentityProviderID()
public Set<String> getServiceProviderID()
IMetadataConfigurationStore
getServiceProviderID
in interface IMetadataConfigurationStore
IMetadataConfigurationStore.getServiceProviderID()
public EntityDescriptorType load(String id) throws IOException
IMetadataConfigurationStore
load
in interface IMetadataConfigurationStore
id
- unique identifier used during persistenceIOException
IMetadataConfigurationStore.load(String)
public void persist(EntityDescriptorType entity, String id) throws IOException
IMetadataConfigurationStore
persist
in interface IMetadataConfigurationStore
id
- An unique identifier useful for retrievalIOException
IMetadataConfigurationStore.persist(EntityDescriptorType, String)
public void delete(String id)
IMetadataConfigurationStore
delete
in interface IMetadataConfigurationStore
IMetadataConfigurationStore.delete(String)
public Map<String,String> loadTrustedProviders(String id) throws IOException, ClassNotFoundException
IMetadataConfigurationStore
loadTrustedProviders
in interface IMetadataConfigurationStore
IOException
ClassNotFoundException
IMetadataConfigurationStore.loadTrustedProviders(String)
public void persistTrustedProviders(String id, Map<String,String> trusted) throws IOException
IMetadataConfigurationStore
persistTrustedProviders
in interface IMetadataConfigurationStore
IOException
IMetadataConfigurationStore#persistTrustedProviders(Map)
public void deleteTrustedProviders(String id)
IMetadataConfigurationStore
deleteTrustedProviders
in interface IMetadataConfigurationStore
IMetadataConfigurationStore.deleteTrustedProviders(String)
public void cleanup()
IMetadataConfigurationStore
Perform final cleanup if needed.
cleanup
in interface IMetadataConfigurationStore
IMetadataConfigurationStore#cleanup()}
Copyright © 2018 JBoss by Red Hat. All rights reserved.