edu.internet2.middleware.shibboleth.common.attribute.encoding.provider
Class SAML1Base64AttributeEncoder

java.lang.Object
  extended by edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractAttributeEncoder<org.opensaml.saml1.core.Attribute>
      extended by edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractSAML1AttributeEncoder
          extended by edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.SAML1Base64AttributeEncoder
All Implemented Interfaces:
AttributeEncoder<org.opensaml.saml1.core.Attribute>, SAML1AttributeEncoder, XMLObjectAttributeEncoder<org.opensaml.saml1.core.Attribute>

public class SAML1Base64AttributeEncoder
extends AbstractSAML1AttributeEncoder

Implementation of SAML 1.X attribute encoder. This attribute encoder only operates of BaseAttributes with values of type byte[].


Field Summary
private  org.slf4j.Logger log
          Class logger.
private  XMLObjectBuilder<XSString> stringBuilder
          XSString factory.
 
Fields inherited from class edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractSAML1AttributeEncoder
attributeBuilder
 
Constructor Summary
SAML1Base64AttributeEncoder()
          Constructor.
 
Method Summary
 org.opensaml.saml1.core.Attribute encode(BaseAttribute attribute)
          Enocdes the attribute into a protocol specific representations.
 
Methods inherited from class edu.internet2.middleware.shibboleth.common.attribute.encoding.provider.AbstractSAML1AttributeEncoder
getNamespace, populateAttribute, setNamespace
 
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

log

private final org.slf4j.Logger log
Class logger.


stringBuilder

private final XMLObjectBuilder<XSString> stringBuilder
XSString factory.

Constructor Detail

SAML1Base64AttributeEncoder

public SAML1Base64AttributeEncoder()
Constructor.

Method Detail

encode

public org.opensaml.saml1.core.Attribute encode(BaseAttribute attribute)
Enocdes the attribute into a protocol specific representations.

Parameters:
attribute - the attribute to encode
Returns:
the Object the attribute was encoded into


Copyright © 1999-2012. All Rights Reserved.