|
||||||||||
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<EncodedType>
edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractScopedAttributeEncoder<org.opensaml.saml1.core.Attribute>
edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.SAML1ScopedStringAttributeEncoder
public class SAML1ScopedStringAttributeEncoder
Implementation of SAML 1.X scoped attribute encoder.
Field Summary | |
---|---|
private org.opensaml.common.SAMLObjectBuilder<org.opensaml.saml1.core.Attribute> |
attributeBuilder
Attribute factory. |
private org.slf4j.Logger |
log
Class logger. |
private String |
namespace
Namespace of attribute. |
Constructor Summary | |
---|---|
SAML1ScopedStringAttributeEncoder()
Constructor. |
Method Summary | |
---|---|
org.opensaml.saml1.core.Attribute |
encode(BaseAttribute attribute)
Enocdes the attribute into a protocol specific representations. |
String |
getNamespace()
Gets the attribute namespace. |
void |
setNamespace(String newNamespace)
Sets the attribute namespace. |
Methods inherited from class edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractScopedAttributeEncoder |
---|
encodeAttributeValues, getScopeAttribute, getScopeDelimiter, getScopeType, setScopeAttribute, setScopeDelimiter, setScopeType |
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 |
Field Detail |
---|
private final org.slf4j.Logger log
private final org.opensaml.common.SAMLObjectBuilder<org.opensaml.saml1.core.Attribute> attributeBuilder
private String namespace
Constructor Detail |
---|
public SAML1ScopedStringAttributeEncoder()
Method Detail |
---|
public String getNamespace()
getNamespace
in interface SAML1AttributeEncoder
public void setNamespace(String newNamespace)
setNamespace
in interface SAML1AttributeEncoder
newNamespace
- attribute namespacepublic org.opensaml.saml1.core.Attribute encode(BaseAttribute attribute) throws AttributeEncodingException
encode
in interface AttributeEncoder<org.opensaml.saml1.core.Attribute>
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 |