Class IDPFileStore

    • Field Summary

      • Fields inherited from class edu.uiuc.ncsa.security.storage.FileStore

        indexDirectory, storageDirectory
      • Fields inherited from class edu.uiuc.ncsa.security.storage.IndexedStreamStore

        converter, identifiableProvider, initializer
      • Fields inherited from interface edu.uiuc.ncsa.security.core.Store

        VERSION_TAG
    • Constructor Summary

      Constructors 
      Constructor Description
      IDPFileStore​(File file, edu.uiuc.ncsa.security.core.IdentifiableProvider<IdentityProvider> idpp, IDPConverter converter, boolean removeEmptyFiles, boolean removeFailedFiles)  
      IDPFileStore​(File storeDirectory, File indexDirectory, edu.uiuc.ncsa.security.core.IdentifiableProvider<IdentityProvider> idpp, edu.uiuc.ncsa.security.storage.data.MapConverter converter, boolean removeEmptyFiles, boolean removeFailedFiles)  
    • Constructor Detail

      • IDPFileStore

        public IDPFileStore​(File file,
                            edu.uiuc.ncsa.security.core.IdentifiableProvider<IdentityProvider> idpp,
                            IDPConverter converter,
                            boolean removeEmptyFiles,
                            boolean removeFailedFiles)
      • IDPFileStore

        public IDPFileStore​(File storeDirectory,
                            File indexDirectory,
                            edu.uiuc.ncsa.security.core.IdentifiableProvider<IdentityProvider> idpp,
                            edu.uiuc.ncsa.security.storage.data.MapConverter converter,
                            boolean removeEmptyFiles,
                            boolean removeFailedFiles)
    • Method Detail

      • add

        public void add​(Collection<? extends IdentityProvider> idps)
        Description copied from interface: IdentityProviderStore
        Adds a list of identity providers. Note: Change to contract. Previously this was to fail if any of the idps were already in the store. The problem is that if a list of these was sent that had fewer idps than previously, (such as due to some error in a non-Java component) then the list of IDPs might be damaged. Therefore, now this should add any idps not already in the store, and ignore any that are there already.
        Specified by:
        add in interface IdentityProviderStore