public class TransientPrincipalConnector extends BasePrincipalConnector
Modifier and Type | Field and Description |
---|---|
private StorageService<String,TransientIdEntry> |
identifierStore
Store used to map transient identifier tokens to principal names.
|
private String |
partition
Storage partition in which IDs are stored.
|
Constructor and Description |
---|
TransientPrincipalConnector(StorageService<String,TransientIdEntry> store)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
resolve(ShibbolethResolutionContext resolutionContext)
Performs the attribute resolution for this plugin.
|
void |
validate()
Validate the internal state of this plug-in.
|
getFormat, getRelyingParties, setFormat
getDependencyIds, getId, getValuesFromAllDependencies, getValuesFromAttributeDependency, getValuesFromConnectorDependency, setId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDependencyIds, getId
private StorageService<String,TransientIdEntry> identifierStore
private String partition
public TransientPrincipalConnector(StorageService<String,TransientIdEntry> store)
store
- the backing store used to map transient identifier tokens to principal namespublic String resolve(ShibbolethResolutionContext resolutionContext) throws AttributeResolutionException
resolutionContext
- the context for the resolutionAttributeResolutionException
- the problem that occurred during the resolutionpublic void validate() throws AttributeResolutionException
AttributeResolutionException
- if the plug-in has an invalid internal stateCopyright © 1999-2012. All Rights Reserved.