Class FSClientApprovalStore<V extends ClientApproval>

  • All Implemented Interfaces:
    edu.uiuc.ncsa.security.core.Store<V>, Map<edu.uiuc.ncsa.security.core.Identifier,​V>, ClientApprovalStore<V>

    public abstract class FSClientApprovalStore<V extends ClientApproval>
    extends edu.uiuc.ncsa.security.storage.FileStore<V>
    implements ClientApprovalStore<V>
    A store for client approvals.

    Created by Jeff Gaynor
    on 11/3/11 at 3:43 PM

    • 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 
      Modifier Constructor Description
      protected FSClientApprovalStore​(File file, edu.uiuc.ncsa.security.core.util.IdentifiableProviderImpl<V> idp, edu.uiuc.ncsa.security.storage.data.MapConverter<V> cp, boolean removeEmptyFiles, boolean removeFailedFiles)  
      protected FSClientApprovalStore​(File storeDirectory, File indexDirectory, edu.uiuc.ncsa.security.core.util.IdentifiableProviderImpl<V> idp, edu.uiuc.ncsa.security.storage.data.MapConverter<V> cp, boolean removeEmptyFiles, boolean removeFailedFiles)  
    • Constructor Detail

      • FSClientApprovalStore

        protected FSClientApprovalStore​(File storeDirectory,
                                        File indexDirectory,
                                        edu.uiuc.ncsa.security.core.util.IdentifiableProviderImpl<V> idp,
                                        edu.uiuc.ncsa.security.storage.data.MapConverter<V> cp,
                                        boolean removeEmptyFiles,
                                        boolean removeFailedFiles)
      • FSClientApprovalStore

        protected FSClientApprovalStore​(File file,
                                        edu.uiuc.ncsa.security.core.util.IdentifiableProviderImpl<V> idp,
                                        edu.uiuc.ncsa.security.storage.data.MapConverter<V> cp,
                                        boolean removeEmptyFiles,
                                        boolean removeFailedFiles)
    • Method Detail

      • isApproved

        public boolean isApproved​(edu.uiuc.ncsa.security.core.Identifier identifier)
        Description copied from interface: ClientApprovalStore
        Returns true if the client with the given identifier has been approved, false otherwise. Not that this returns false even in the case that there is no such client.
        Specified by:
        isApproved in interface ClientApprovalStore<V extends ClientApproval>
        Returns:
      • getXMLConverter

        public edu.uiuc.ncsa.security.core.XMLConverter<V> getXMLConverter()
        Specified by:
        getXMLConverter in interface edu.uiuc.ncsa.security.core.Store<V extends ClientApproval>
        Overrides:
        getXMLConverter in class edu.uiuc.ncsa.security.storage.FileStore<V extends ClientApproval>