|
PicketLink Federation Core 2.1.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.picketlink.identity.federation.core.saml.v2.metadata.store.FileBasedMetadataConfigurationStore
public class FileBasedMetadataConfigurationStore
File based metadata store that uses the ${user.home}/jbid-store location to persist the data
Constructor Summary | |
---|---|
FileBasedMetadataConfigurationStore()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileBasedMetadataConfigurationStore()
Method Detail |
---|
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 persistence
IOException
IMetadataConfigurationStore.load(String)
public void persist(EntityDescriptorType entity, String id) throws IOException
IMetadataConfigurationStore
persist
in interface IMetadataConfigurationStore
id
- An unique identifier useful for retrieval
IOException
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()}
|
PicketLink Federation Core 2.1.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |