public interface PersistentIdStoreEx extends IPersistentIdStore
| Modifier and Type | Method and Description |
|---|---|
void |
attach(String nameQualifier,
String spNameQualifier,
String persistentId,
String spProvidedId)
Attach an SPProvidedID value to an existing entry.
|
void |
deactivate(String nameQualifier,
String spNameQualifier,
String persistentId,
DateTime deactivation)
Deactivate/revoke a persistent ID.
|
PersistentIdEntry |
getByIssuedValue(String nameQualifier,
String spNameQualifier,
String persistentId)
Get the
PersistentIdEntry for a previously issued ID triple. |
PersistentIdEntry |
getBySourceValue(String nameQualifier,
String spNameQualifier,
String sourceId,
String principal,
boolean allowCreate,
ComputedPersistentIdGenerationStrategy computedIdStrategy)
Get the
PersistentIdEntry for a given subject and audience, creating one if allowable
and necessary. |
@Nullable PersistentIdEntry getByIssuedValue(@Nonnull@NotEmpty String nameQualifier, @Nonnull@NotEmpty String spNameQualifier, @Nonnull@NotEmpty String persistentId) throws IOException
PersistentIdEntry for a previously issued ID triple.nameQualifier - the NameQualifier valuespNameQualifier - the SPNameQualifier valuepersistentId - the persistent ID valuePersistentIdEntry for the given inputs or null if none existsIOException - if an error occurs accessing the store@Nullable PersistentIdEntry getBySourceValue(@Nonnull@NotEmpty String nameQualifier, @Nonnull@NotEmpty String spNameQualifier, @Nonnull@NotEmpty String sourceId, @Nonnull@NotEmpty String principal, boolean allowCreate, @Nullable ComputedPersistentIdGenerationStrategy computedIdStrategy) throws IOException
PersistentIdEntry for a given subject and audience, creating one if allowable
and necessary.nameQualifier - the NameQualifier valuespNameQualifier - the SPNameQualifier valuesourceId - source attribute underlying the persistent IDprincipal - principal name of subject (may or may not be the same as the sourceId)allowCreate - whether it's permissible to establish/issue a new identifiercomputedIdStrategy - optional source of initial computed IDs for compatibilty with that mechanismPersistentIdEntry for the given inputs, or null if none exists and allowCreate is falseIOException - if an error occurs accessing the storevoid deactivate(@Nonnull@NotEmpty String nameQualifier, @Nonnull@NotEmpty String spNameQualifier, @Nonnull@NotEmpty String persistentId, @Nullable DateTime deactivation) throws IOException
nameQualifier - the NameQualifier valuespNameQualifier - the SPNameQualifier valuepersistentId - ID to deactivatedeactivation - deactivation time (if null the current time is used)IOException - if there is an error updating the storevoid attach(@Nonnull@NotEmpty String nameQualifier, @Nonnull@NotEmpty String spNameQualifier, @Nonnull@NotEmpty String persistentId, @Nonnull@NotEmpty String spProvidedId) throws IOException
nameQualifier - the NameQualifier valuespNameQualifier - the SPNameQualifier valuepersistentId - ID to deactivatespProvidedId - the value to attachIOException - if there is an error updating the storeCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.