public class SAML2NameIDAttributeDefinition extends BaseAttributeDefinition
NameID
.
When building the NameID the textual content of the NameID is the value of the source attribute. If a
nameIdQualifier
is provided that value is used as the NameID's name qualifier otherwise the attribute
issuer's entity ID is used. The attribute requester's entity ID is always used as the NameID's SP name qualifier.コンストラクタと説明 |
---|
SAML2NameIDAttributeDefinition()
Constructor.
|
修飾子とタイプ | メソッドと説明 |
---|---|
protected NameID |
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 NameID used as an attribute value.
|
String |
getNameIdQualifier()
Gets the NameQualifier for the NameID used as an attribute value.
|
String |
getNameIdSPQualifier()
Gets the SPNameQualifier for the NameID used as an attribute value.
|
void |
setNameIdFormat(String format)
Sets the format for the NameID used as an attribute value.
|
void |
setNameIdQualifier(String qualifier)
Sets the NameQualifier for the NameID used as an attribute value.
|
void |
setNameIdSPQualifier(String qualifier)
Sets the SPNameQualifier for the NameID 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 String getNameIdFormat()
public void setNameIdFormat(String format)
format
- format for the NameID used as an attribute valuepublic String getNameIdQualifier()
public void setNameIdQualifier(String qualifier)
qualifier
- NameQualifier for the NameID used as an attribute valuepublic String getNameIdSPQualifier()
public void setNameIdSPQualifier(String qualifier)
qualifier
- SPNameQualifier for the NameID 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 NameID buildNameId(String nameIdValue, ShibbolethResolutionContext resolutionContext)
nameIdValue
- value of the NameIDresolutionContext
- current resolution contextpublic void validate() throws AttributeResolutionException
AttributeResolutionException
- if the plug-in has an invalid internal stateCopyright © 2012. All Rights Reserved.