public abstract class AbstractSAMLAttributeValueMapper extends AbstractInitializableComponent
| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
logger.
|
private String |
logPrefix
The String used to prefix log message.
|
| Constructor and Description |
|---|
AbstractSAMLAttributeValueMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract IdPAttributeValue |
decodeValue(XMLObject object)
Function to decode a single
XMLObject into an IdPAttributeValue. |
List<IdPAttributeValue<?>> |
decodeValues(List<XMLObject> inputs)
Convert from a list of the SAML Objects (usually a SAML2 AttributeValue) Value into the IDP Attributes.
|
protected void |
doInitialize() |
boolean |
equals(Object obj) |
protected abstract String |
getAttributeTypeName()
Return the output type (for logging).
|
String |
getLogPrefix()
Return a string which is to be prepended to all log messages.
|
protected String |
getStringValue(XMLObject object)
Function to return the string contents if this is the correct type.
|
int |
hashCode() |
void |
setLogPrefix(String prefix)
Set the log prefix to use.
|
destroy, doDestroy, initialize, isDestroyed, isInitializedprivate final org.slf4j.Logger log
private String logPrefix
@Nonnull @Unmodifiable public List<IdPAttributeValue<?>> decodeValues(@Nonnull@NonnullElements List<XMLObject> inputs)
inputs - the list of SAML Attributes@Nullable protected String getStringValue(@Nonnull XMLObject object)
object - The object to inspect.@NonnullAfterInit public String getLogPrefix()
public void setLogPrefix(@Nonnull String prefix)
prefix - The logPrefix to set.protected void doInitialize()
throws ComponentInitializationException
doInitialize in class AbstractInitializableComponentComponentInitializationException@Nullable protected abstract IdPAttributeValue decodeValue(@Nonnull XMLObject object)
XMLObject into an IdPAttributeValue.object - the object to decodeIdPAttributeValue or null if decoding failedCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.