Attribute not encoded because no SAML2AttributeEncoder was attached to it

Saurabh Tyagi saurabh.tyagi at thepsi.com
Fri Jun 28 09:59:32 EDT 2013


Solved by Adding in attribute-resolver.xml

 

<resolver:AttributeEncoder xsi:type="SAML2String"
xmlns="urn:mace:shibboleth:2.0:attribute:encoder"
name="mail"></resolver:AttributeEncoder>

 

 

Thanks and Regards

Saurabh Tyagi

 

From: users-bounces at shibboleth.net [mailto:users-bounces at shibboleth.net] On
Behalf Of Saurabh Tyagi
Sent: Friday, June 28, 2013 6:39 PM
To: 'Shib Users'
Subject: Attribute not encoded because no SAML2AttributeEncoder was attached
to it

 

Hello Friends,

 

I can see my complete LDAP data in Idp-process.log. (I have removed that
here)

I am just trying to fetch mail, cn from that complete data.

 

In Logs  I am getting 

No attributes remained after encoding and filtering by value, no attribute
statement built.

 

Can anyone please tell me what's wrong am I doing?

Or what's changes are needed.

 

Below are some logs:-

 

18:29:49.938 - DEBUG
[edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.Shi
bbolethAttributeFilteringEngine:109] - Attribute transientId has 1 values
after filtering

18:29:49.938 - DEBUG
[edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.Shi
bbolethAttributeFilteringEngine:114] - Filtered attributes for principal
ravim at jpr.com.  The following attributes remain: [mail, cn, transientId]

18:29:49.939 - DEBUG
[edu.internet2.middleware.shibboleth.idp.profile.saml2.AbstractSAML2ProfileH
andler:501] - Creating attribute statement in response to SAML request
'_7aa10af9390ad7e8388e3f03c88b3b56' from relying party
'https://192.168.3.213/Shibboleth.sso/Metadata'

18:29:49.939 - DEBUG
[edu.internet2.middleware.shibboleth.common.attribute.provider.ShibbolethSAM
L2AttributeAuthority:226] - Attribute mail was not encoded because no
SAML2AttributeEncoder was attached to it.

18:29:49.939 - DEBUG
[edu.internet2.middleware.shibboleth.common.attribute.provider.ShibbolethSAM
L2AttributeAuthority:226] - Attribute cn was not encoded because no
SAML2AttributeEncoder was attached to it.

18:29:49.939 - DEBUG
[edu.internet2.middleware.shibboleth.common.attribute.provider.ShibbolethSAM
L2AttributeAuthority:226] - Attribute transientId was not encoded because no
SAML2AttributeEncoder was attached to it.

18:29:49.939 - DEBUG
[edu.internet2.middleware.shibboleth.common.attribute.provider.ShibbolethSAM
L2AttributeAuthority:128] - No attributes remained after encoding and
filtering by value, no attribute statement built

18:29:49.939 - DEBUG
[edu.internet2.middleware.shibboleth.idp.profile.AbstractSAMLProfileHandler:
778] - Encoding response to SAML request _7aa10af9390ad7e8388e3f03c88b3b56
from relying party https://192.168.3.213/Shibboleth.sso/Metadata

18:29:49.939 - DEBUG [org.opensaml.ws.message.encoder.BaseMessageEncoder:49]
- Beginning encode message to outbound transport of type:
org.opensaml.ws.transport.http.HttpServletResponseAdapter

18:29:49.940 - DEBUG
[org.opensaml.saml2.binding.encoding.HTTPSOAP11Encoder:132] - Building SOAP
message

18:29:49.940 - DEBUG
[org.opensaml.saml2.binding.encoding.HTTPSOAP11Encoder:141] - Adding SAML
message to the SOAP message's body

18:29:49.940 - DEBUG [org.opensaml.ws.message.encoder.BaseMessageEncoder:97]
- Marshalling message

18:29:49.944 - DEBUG [org.opensaml.ws.message.encoder.BaseMessageEncoder:56]
- Successfully encoded message.

 

 

Thanks and Regards

Saurabh Tyagi

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20130628/c57f1d6b/attachment-0001.html 


More information about the users mailing list