Interface PermissionsStore<V extends Permission>

    • Field Summary

      • Fields inherited from interface edu.uiuc.ncsa.security.core.Store

        VERSION_TAG
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      PermissionList get​(edu.uiuc.ncsa.security.core.Identifier adminID, edu.uiuc.ncsa.security.core.Identifier clientID)
      Retrieve a permission from the admin and client identifier.
      List<edu.uiuc.ncsa.security.core.Identifier> getAdmins​(edu.uiuc.ncsa.security.core.Identifier clientID)
      A list of all admin ids for a given client.
      int getClientCount​(edu.uiuc.ncsa.security.core.Identifier adminID)  
      List<edu.uiuc.ncsa.security.core.Identifier> getClients​(edu.uiuc.ncsa.security.core.Identifier adminID)
      A list of all identifiers that a given admin can manage.
      Permission getErsatzChain​(edu.uiuc.ncsa.security.core.Identifier adminID, edu.uiuc.ncsa.security.core.Identifier clientID, edu.uiuc.ncsa.security.core.Identifier ersatzID)
      Get the specific permission with the chain starting with clientID and ending with ersatzID.
      PermissionList getErsatzChains​(edu.uiuc.ncsa.security.core.Identifier adminID, edu.uiuc.ncsa.security.core.Identifier clientID)
      Returns the chain of ersatz clients for a given admin and provisioning client.
      edu.uiuc.ncsa.security.storage.data.MapConverter getMapConverter()  
      PermissionList getProvisioners​(edu.uiuc.ncsa.security.core.Identifier adminID, edu.uiuc.ncsa.security.core.Identifier ersatzID)  
      boolean hasEntry​(edu.uiuc.ncsa.security.core.Identifier adminID, edu.uiuc.ncsa.security.core.Identifier clientID)
      Returns whether or not there is an entry for this pair of identifiers.
      • Methods inherited from interface edu.uiuc.ncsa.security.core.Store

        create, getAll, getMostRecent, getXMLConverter, register, remove, save, search, search, search, size, update
    • Method Detail

      • getClients

        List<edu.uiuc.ncsa.security.core.Identifier> getClients​(edu.uiuc.ncsa.security.core.Identifier adminID)
        A list of all identifiers that a given admin can manage.
        Parameters:
        adminID -
        Returns:
      • getAdmins

        List<edu.uiuc.ncsa.security.core.Identifier> getAdmins​(edu.uiuc.ncsa.security.core.Identifier clientID)
        A list of all admin ids for a given client.
        Parameters:
        clientID -
        Returns:
      • get

        PermissionList get​(edu.uiuc.ncsa.security.core.Identifier adminID,
                           edu.uiuc.ncsa.security.core.Identifier clientID)
        Retrieve a permission from the admin and client identifier.
        Parameters:
        adminID -
        clientID -
        Returns:
      • getErsatzChains

        PermissionList getErsatzChains​(edu.uiuc.ncsa.security.core.Identifier adminID,
                                       edu.uiuc.ncsa.security.core.Identifier clientID)
        Returns the chain of ersatz clients for a given admin and provisioning client. Access the list using Permission.getErsatzChain().
        Parameters:
        adminID -
        clientID -
        Returns:
      • getProvisioners

        PermissionList getProvisioners​(edu.uiuc.ncsa.security.core.Identifier adminID,
                                       edu.uiuc.ncsa.security.core.Identifier ersatzID)
      • getErsatzChain

        Permission getErsatzChain​(edu.uiuc.ncsa.security.core.Identifier adminID,
                                  edu.uiuc.ncsa.security.core.Identifier clientID,
                                  edu.uiuc.ncsa.security.core.Identifier ersatzID)
        Get the specific permission with the chain starting with clientID and ending with ersatzID.
        Parameters:
        adminID -
        clientID -
        ersatzID -
        Returns:
      • hasEntry

        boolean hasEntry​(edu.uiuc.ncsa.security.core.Identifier adminID,
                         edu.uiuc.ncsa.security.core.Identifier clientID)
        Returns whether or not there is an entry for this pair of identifiers. There is at most one permission for any such pair
        Parameters:
        adminID -
        clientID -
        Returns:
      • getClientCount

        int getClientCount​(edu.uiuc.ncsa.security.core.Identifier adminID)
      • getMapConverter

        edu.uiuc.ncsa.security.storage.data.MapConverter getMapConverter()