public class ComputedIDDataConnector extends BaseDataConnector
Modifier and Type | Field and Description |
---|---|
private String |
generatedAttribute
Deprecated.
ID of the attribute generated by this data connector.
|
private org.slf4j.Logger |
log
Deprecated.
Class logger.
|
private byte[] |
salt
Deprecated.
Salt used when computing the ID.
|
private String |
sourceAttribute
Deprecated.
ID of the attribute whose first value is used when generating the computed ID.
|
Constructor and Description |
---|
ComputedIDDataConnector(String generatedAttributeId,
String sourceAttributeId,
byte[] idSalt)
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getGeneratedAttributeId()
Deprecated.
Gets the ID of the attribute generated by this connector.
|
byte[] |
getSalt()
Deprecated.
Gets the salt used when computing the ID.
|
String |
getSourceAttributeId()
Deprecated.
Gets the ID of the attribute whose first value is used when generating the computed ID.
|
Map<String,BaseAttribute> |
resolve(ShibbolethResolutionContext resolutionContext)
Deprecated.
Performs the attribute resolution for this plugin.
|
void |
validate()
Deprecated.
Validate the internal state of this plug-in.
|
getFailoverDependencyId, setFailoverDependencyIds
getDependencyIds, getId, getValuesFromAllDependencies, getValuesFromAttributeDependency, getValuesFromConnectorDependency, setId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDependencyIds, getId
private final org.slf4j.Logger log
private String generatedAttribute
private String sourceAttribute
private byte[] salt
public ComputedIDDataConnector(String generatedAttributeId, String sourceAttributeId, byte[] idSalt)
generatedAttributeId
- ID of the attribute generated by this data connectorsourceAttributeId
- ID of the attribute whose first value is used when generating the computed IDidSalt
- salt used when computing the IDpublic byte[] getSalt()
public String getSourceAttributeId()
public String getGeneratedAttributeId()
public Map<String,BaseAttribute> 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.