|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractAttributeEncoder<org.opensaml.saml1.core.NameIdentifier>
edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.SAML1StringNameIdentifierEncoder
public class SAML1StringNameIdentifierEncoder
An attribute encoder that takes the first value of an attribute and creates a NameIdentifier
of it. Attribute
values are turned into the values for the NameIdentifier by invoking the values Object.toString()
method.
Constructor Summary | |
---|---|
SAML1StringNameIdentifierEncoder()
Constructor. |
Method Summary | |
---|---|
org.opensaml.saml1.core.NameIdentifier |
encode(BaseAttribute attribute)
Enocdes the attribute into a protocol specific representations. |
String |
getNameFormat()
Gets the name format URI for the NameID. |
String |
getNameQualifier()
Gets the name domain qualifier for the NameID. |
void |
setNameFormat(String format)
Sets the name format URI for the NameID. |
void |
setNameQualifier(String qualifier)
Sets the name domain qualifier for the NameID. |
Methods inherited from class edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractAttributeEncoder |
---|
getAttributeName, setAttributeName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface edu.internet2.middleware.shibboleth.common.attribute.encoding.AttributeEncoder |
---|
getAttributeName, setAttributeName |
Constructor Detail |
---|
public SAML1StringNameIdentifierEncoder()
Method Detail |
---|
public String getNameFormat()
getNameFormat
in interface SAMLNameIdentifierEncoder<org.opensaml.saml1.core.NameIdentifier>
public void setNameFormat(String format)
setNameFormat
in interface SAMLNameIdentifierEncoder<org.opensaml.saml1.core.NameIdentifier>
format
- name format URI for the NameIDpublic String getNameQualifier()
getNameQualifier
in interface SAMLNameIdentifierEncoder<org.opensaml.saml1.core.NameIdentifier>
public void setNameQualifier(String qualifier)
setNameQualifier
in interface SAMLNameIdentifierEncoder<org.opensaml.saml1.core.NameIdentifier>
qualifier
- name domain qualifier for the NameIDpublic org.opensaml.saml1.core.NameIdentifier encode(BaseAttribute attribute) throws AttributeEncodingException
encode
in interface AttributeEncoder<org.opensaml.saml1.core.NameIdentifier>
attribute
- the attribute to encode
AttributeEncodingException
- if unable to successfully encode attribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |