Interface IdentityProviderStore

    • Method Detail

      • replaceAll

        void replaceAll​(Collection<IdentityProvider> idps)
        Replace every entry in the store by the ones in the list. At the end of this operation, the store will be identical to the given list.
        Parameters:
        idps -
      • add

        void add​(IdentityProvider idp)
        Add an identity provider, using the unique id as the key
        Parameters:
        idp -
      • add

        void add​(Collection<? extends IdentityProvider> idps)
        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.
        Parameters:
        idps -
      • hasIdp

        boolean hasIdp​(String idp)
        Check if there is an entry for the given unique id.
        Parameters:
        idp -
        Returns: