public class SAML1ScopedStringAttributeEncoder extends AbstractSAML1AttributeEncoder<ScopedStringAttributeValue>
AttributeEncoder that produces SAML 1 attributes from an
IdPAttribute that contains scoped string values.| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
The log.
|
private String |
scopeAttributeName
Attribute name used for "attribute" scopeType.
|
private String |
scopeDelimiter
Delimiter used for "inline" scopeType.
|
private String |
scopeType
Type of scoping to use.
|
| Constructor and Description |
|---|
SAML1ScopedStringAttributeEncoder()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEncodeValue(IdPAttribute attribute,
IdPAttributeValue value) |
protected void |
doInitialize() |
protected org.opensaml.core.xml.XMLObject |
encodeValue(IdPAttribute attribute,
ScopedStringAttributeValue value) |
String |
getScopeAttributeName()
Get the name of the non-inline scope-carrying attribute.
|
String |
getScopeDelimiter()
Get the scope delimiter.
|
String |
getScopeType()
Get the scope syntax type.
|
void |
setScopeAttributeName(String newScopeAttribute)
Set the name of the non-inline scope-carrying attribute.
|
void |
setScopeDelimiter(String newScopeDelimiter)
Set the scope delimiter.
|
void |
setScopeType(String newScopeType)
Set the scope syntax type.
|
buildAttribute, equals, getNamespace, getProtocol, hashCode, populateAttributeMapper, setNamespaceencode, encodeType, getActivationCondition, getName, setActivationCondition, setEncodeType, setNamedestroy, doDestroy, initialize, isDestroyed, isInitializedclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetNameencode, getActivationCondition@Nonnull private final org.slf4j.Logger log
public SAML1ScopedStringAttributeEncoder()
@Nullable public String getScopeAttributeName()
@Nullable public String getScopeDelimiter()
@Nullable public String getScopeType()
public void setScopeAttributeName(@Nullable String newScopeAttribute)
newScopeAttribute - the name to setpublic void setScopeDelimiter(@Nullable String newScopeDelimiter)
newScopeDelimiter - delimiter to setpublic void setScopeType(@Nullable String newScopeType)
newScopeType - the scope syntax typeprotected void doInitialize()
throws ComponentInitializationException
doInitialize in class AbstractSAML1AttributeEncoder<ScopedStringAttributeValue>ComponentInitializationExceptionprotected boolean canEncodeValue(@Nonnull IdPAttribute attribute, @Nonnull IdPAttributeValue value)
canEncodeValue in class AbstractSAMLAttributeEncoder<org.opensaml.saml.saml1.core.Attribute,ScopedStringAttributeValue>@Nullable protected org.opensaml.core.xml.XMLObject encodeValue(@Nonnull IdPAttribute attribute, @Nonnull ScopedStringAttributeValue value) throws AttributeEncodingException
encodeValue in class AbstractSAMLAttributeEncoder<org.opensaml.saml.saml1.core.Attribute,ScopedStringAttributeValue>AttributeEncodingExceptionCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.