Interface IdentityProviderStore
- 
- All Superinterfaces:
 Map<edu.uiuc.ncsa.security.core.Identifier,IdentityProvider>,edu.uiuc.ncsa.security.core.Store<IdentityProvider>
- All Known Implementing Classes:
 CILSQLIdentityProviderStore,IDPFileStore,MemoryIDPStore
public interface IdentityProviderStore extends edu.uiuc.ncsa.security.core.Store<IdentityProvider>
Created by Jeff Gaynor
on Apr 10, 2010 at 8:26:33 AM 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(Collection<? extends IdentityProvider> idps)Adds a list of identity providers.voidadd(IdentityProvider idp)Add an identity provider, using the unique id as the keybooleanhasIdp(String idp)Check if there is an entry for the given unique id.voidreplaceAll(Collection<IdentityProvider> idps)Replace every entry in the store by the ones in the list.- 
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values 
 - 
 
 - 
 
- 
- 
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:
 
 
 - 
 
 -