Google apps setup trouble (again)

Dave Perry Dave.Perry at hull-college.ac.uk
Tue Oct 7 12:06:19 EDT 2014


Thanks all.
Andrew's settings (bar on the filter policy, having to remove /a/domain from the AttributeRequesterString) have worked :D

Dave

_________________________________________________
Dave Perry
eLearning Technologist, Hull College Group

Room L34 - Queens Gardens Library
Wilberforce Drive, Queen's Gardens, Hull, HU1 3DG
Extension 2230 / Direct Dial 01482 381930

* Need a fast reply? Try elearning at hull-college.ac.uk *


-----Original Message-----
From: users-bounces at shibboleth.net [mailto:users-bounces at shibboleth.net] On Behalf Of Andrew Morgan
Sent: 07 October 2014 16:54
To: Shib Users
Subject: Re: Google apps setup trouble (again)

On Tue, 7 Oct 2014, Dave Perry wrote:

> Well, my last obstacle seems to be: 16:39:19.181 - DEBUG 
> [edu.internet2.middleware.shibboleth.common.attribute.provider.Shibbol
> ethSAML2AttributeAuthority:226]
> - Attribute g_principal was not encoded because no 
> SAML2AttributeEncoder was attached to it
>
> Even though I have attached an encoder to it:
>                <resolver:AttributeDefinition id="g_principal" 
> xsi:type="PrincipalName" xmlns="urn:mace:shibboleth:2.0:resolver:ad" 
> sourceAttributeID="mail">
>
>                                <resolver:Dependency ref="myLDAP" />
>
>        <resolver:AttributeEncoder xsi:type="SAML2StringNameID" xmlns="urn:mace:shibboleth:2.0:attribute:encoder"
>            
> nameFormat="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified" />
>
>                </resolver:AttributeDefinition>
>
> As per this page:
> https://wiki.shibboleth.net/confluence/display/SHIB2/IdPAddAttributeEx
> amples
>
> Not sure what I'm missing here.

Here is what I'm using.

attribute-resolver.xml:

     <!-- Google oregonstate.edu NameID attribute -->
     <resolver:AttributeDefinition xsi:type="ad:Simple" id="google-principal" sourceAttributeID="googlePrincipalName">
         <resolver:Dependency ref="ONIDLDAP" />
         <resolver:AttributeEncoder xsi:type="enc:SAML2StringNameID" nameFormat="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"/>
     </resolver:AttributeDefinition>

attribute-filter.xml:

     <!-- Google oregonstate.edu principal -->
     <afp:AttributeFilterPolicy id="google-orst-principal">
         <afp:PolicyRequirementRule xsi:type="basic:AttributeRequesterString" value="google.com/a/oregonstate.edu" />
         <afp:AttributeRule attributeID="google-principal">
             <afp:PermitValueRule xsi:type="basic:ANY" />
         </afp:AttributeRule>
     </afp:AttributeFilterPolicy>


 	Andy
--
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net

**********************************************************************
This message is sent in confidence for the addressee
only. It may  contain confidential or sensitive
information.  The contents are not to be disclosed
to anyone other than the addressee.  Unauthorised
recipients are requested to preserve this
confidentiality and to advise us of any errors in
transmission.  Any views expressed in this message
are solely the views of the individual and do not
represent the views of the College.  Nothing in this
message should be construed as creating a contract.

Hull College owns the email infrastructure, including the contents.

Hull College is committed to sustainability, please reflect before printing this email.
**********************************************************************

TEXT


More information about the users mailing list