public class SAML1NameIdentifierAttributeDefinition extends BaseAttributeDefinition
NameIdentifier
.
When building the NameIdentifier the textual content of the NameIdentifier is the value of the source attribute. If a
nameIdQualifier
is provided that value is used as the NameIdentifier's name qualifier otherwise the
attribute issuer's entity ID is used. The attribute requester's entity ID is always used as the NameIdentifier's SP
name qualifier.コンストラクタと説明 |
---|
SAML1NameIdentifierAttributeDefinition()
Constructor.
|
修飾子とタイプ | メソッドと説明 |
---|---|
protected NameIdentifier |
buildNameId(String nameIdValue,
ShibbolethResolutionContext resolutionContext)
Builds a name ID.
|
protected BaseAttribute<?> |
doResolve(ShibbolethResolutionContext resolutionContext)
Creates and populates the values for the resolved attribute.
|
String |
getNameIdFormat()
Gets the format for the NameIdentifier used as an attribute value.
|
String |
getNameIdQualifier()
Gets the NameIdentifier qualifier for the NameIdentifier used as an attribute value.
|
void |
setNameIdFormat(String format)
Sets the format for the NameIdentifier used as an attribute value.
|
void |
setNameIdQualifier(String qualifier)
Sets the NameIdentifier qualifier for the NameIdentifier used as an attribute value.
|
void |
validate()
Validate the internal state of this plug-in.
|
getAttributeEncoders, getDisplayDescriptions, getDisplayNames, getSourceAttributeID, getValuesFromAllDependencies, isDependencyOnly, resolve, setDependencyOnly, setSourceAttributeID
getDependencyIds, getId, getValuesFromAllDependencies, getValuesFromAttributeDependency, getValuesFromConnectorDependency, setId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDependencyIds, getId
public SAML1NameIdentifierAttributeDefinition()
public String getNameIdFormat()
public void setNameIdFormat(String format)
format
- format for the NameIdentifier used as an attribute valuepublic String getNameIdQualifier()
public void setNameIdQualifier(String qualifier)
qualifier
- NameIdentifier qualifier for the NameIdentifier used as an attribute valueprotected BaseAttribute<?> doResolve(ShibbolethResolutionContext resolutionContext) throws AttributeResolutionException
doResolve
クラス内 BaseAttributeDefinition
resolutionContext
- current attribute resolution contextAttributeResolutionException
- thrown if there is a problem resolving and creating the attributeprotected NameIdentifier buildNameId(String nameIdValue, ShibbolethResolutionContext resolutionContext)
nameIdQualifier
is not null it is used as the NameIdentifier's name qualifier, otherwise the attribute issuer's entity id is
used.nameIdValue
- value of the NameIdentifierresolutionContext
- current resolution contextpublic void validate() throws AttributeResolutionException
AttributeResolutionException
- if the plug-in has an invalid internal stateCopyright © 2012. All Rights Reserved.