dev Digest, Vol 11, Issue 10

Gina Choi gchoi at sdl.com
Mon May 7 16:01:06 BST 2012


>AFAIK, the Java getDOM, like the C++ version, is a low level accessor that
>simply returns the cached DOM, if any. It doesn't mutate anything, unlike
>marshalling.

Following code is how do I get Assertion object out of encoded SAMLToken
string from STS. If assertion.getDOM() doesn't change assertion token,
unmarshalling process must change it.

Response samlResponse = unmarshallSamlResponseToken(decodedSamlTokenStr);
List<Assertion> assList = samlResponse.getAssertions();

First line is assertion token afer decode SAML token and second line is after
assertion.getDOM. First, it changed order of the certain attribute. If I
compare further lines, it(unmarshalling?) removes some spaces as well. So, I
can't use asserton token as actas token. Is ther anyway to get
org.w3c.dom.Element from SAMLResonse token?

<Assertion ID="_c4c617cd-e49e-4e00-b40a-d1661d9a924a"
IssueInstant="2012-05-07T13:52:35.799Z" Version="2.0"
xmlns="urn:oasis:names:tc:SAML:2.0:assertion">
<Assertion xmlns="urn:oasis:names:tc:SAML:2.0:assertion"
ID="_c4c617cd-e49e-4e00-b40a-d1661d9a924a"
IssueInstant="2012-05-07T13:52:35.799Z" Version="2.0">




-----Original Message-----
From: dev-bounces at shibboleth.net [mailto:dev-bounces at shibboleth.net] On
Behalf Of dev-request at shibboleth.net
Sent: Monday, May 07, 2012 7:00 AM
To: dev at shibboleth.net
Subject: dev Digest, Vol 11, Issue 10

Send dev mailing list submissions to
	dev at shibboleth.net

To subscribe or unsubscribe via the World Wide Web, visit
	http://shibboleth.net/mailman/listinfo/dev
or, via email, send a message with subject or body 'help' to
	dev-request at shibboleth.net

You can reach the person managing the list at
	dev-owner at shibboleth.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dev digest..."


Today's Topics:

   1. Re: Does assertion.getDOM() changes digest value of the
      Assertion	token (Cantor, Scott)
   2. Facebook Login Servlet (J. A.)
   3. Re: Facebook Login Servlet (Chad La Joie)
   4. Re: Facebook Login Servlet (J. A.)


----------------------------------------------------------------------

Message: 1
Date: Sun, 6 May 2012 18:39:41 +0000
From: "Cantor, Scott" <cantor.2 at osu.edu>
Subject: Re: Does assertion.getDOM() changes digest value of the
	Assertion	token
To: Shib Dev <dev at shibboleth.net>
Message-ID: <CBCC3D41.185AD%cantor.2 at osu.edu>
Content-Type: text/plain; charset="us-ascii"

AFAIK, the Java getDOM, like the C++ version, is a low level accessor that
simply returns the cached DOM, if any. It doesn't mutate anything, unlike
marshalling.

-- Scott



------------------------------

Message: 2
Date: Mon, 7 May 2012 01:49:59 +0200
From: "J. A." <erwin37 at gmail.com>
Subject: Facebook Login Servlet
To: dev at shibboleth.net
Message-ID:
	<CAMLLhzxnahuwnz+VX0eTsUk4hKJd7KR2CpdLQ7x=EMmwBkkWdg at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hey Everyone,
I have recently developed a simple Shibboleth Identity Provider extension.
It enables extracting information from Facebook Graph, which can be used as
a bind parameters into SQL query. After this (or without it) extension
enables generating user attributes from both Facebook (as a Facebook "Data
Connector") and additional database. It is all configured Shibboleth-style
from a single additional configuration file (XML).
The company I work for (Poznan Supercomputing and Networking Center) wants
to contribute binary files and all necessary sources on the conditions of
one of the Open Source licences (I belive there is only one "valid" for
you).
I wonder, are you interested in this kind of a contribution?

If so, I am able to provide sources and all necessary information (Of
course if this is the right place for this kind of discussion).

I am finalising Trac-based documentation site and soon I will be able to
give you access to codes and description.

Is this kind of support interesting for you?

Should you all need any further information, please do not hesitate to
replay.
I hope that time zone differences won't be a big problem.

Jakub Aftowicz
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://shibboleth.net/pipermail/dev/attachments/20120507/4811d6a3/attachment-
0001.html 

------------------------------

Message: 3
Date: Sun, 6 May 2012 19:53:08 -0400
From: Chad La Joie <lajoie at itumi.biz>
Subject: Re: Facebook Login Servlet
To: Shib Dev <dev at shibboleth.net>
Message-ID:
	<CACTY7uAjPu2-WRwoWDbYWoKOi-JTtPaq2960_BNMW53ueZN5Ug at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Jakub,

Contributions like this are usually simply listed on the page of
community contributions[1].  You should certainly feel free to list
yours there as well.  I'm sure there are people on the list who would
be interested in such extensions.

[1] https://wiki.shibboleth.net/confluence/display/SHIB2/Contributions

On Sun, May 6, 2012 at 7:49 PM, J. A. <erwin37 at gmail.com> wrote:
> Hey Everyone,
> I have recently developed a simple Shibboleth Identity Provider extension.
> It enables extracting information from Facebook Graph, which can be used as
> a bind parameters into SQL query. After this (or without it) extension
> enables generating user attributes from both Facebook (as a Facebook "Data
> Connector") and additional database. It is all configured Shibboleth-style
> from a single additional configuration file (XML).
> The company I work for (Poznan Supercomputing and Networking Center) wants
> to contribute binary files and all necessary sources on the conditions of
> one of the Open Source licences (I belive there is only one "valid" for
> you).
> I wonder, are you interested in this kind of a contribution?
>
> If so, I am able to provide sources and all necessary information (Of
course
> if this is the right place for this kind of discussion).
>
> I am finalising Trac-based documentation site and soon I will be able to
> give you access to codes and description.
>
> Is this kind of support interesting for you?
>
> Should you all need any further information, please do not hesitate to
> replay.
> I hope that time zone differences won't be a big problem.
>
> Jakub Aftowicz
>
> --
> To unsubscribe from this list send an email to
> dev-unsubscribe at shibboleth.net



-- 
Chad La Joie
www.itumi.biz
trusted identities, delivered


------------------------------

Message: 4
Date: Mon, 7 May 2012 02:07:48 +0200
From: "J. A." <erwin37 at gmail.com>
Subject: Re: Facebook Login Servlet
To: dev at shibboleth.net
Message-ID:
	<CAMLLhzwBEYrFLMaNVwOLgQ9zj8xbbLS+4jQYtuktFVGJr-bXzQ at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Thanks for a quick answer Chad.
I will then feel free to add links to documentation and sources on
ShibbWiki.
Hope that someone will find it useful.

Thanks again.

Jakub Aftowicz



On 07.05.2012 01:53, Chad La Joie wrote:

Jakub,

Contributions like this are usually simply listed on the page of
community contributions[1].  You should certainly feel free to list
yours there as well.  I'm sure there are people on the list who would
be interested in such extensions.

[1] https://wiki.shibboleth.net/confluence/display/SHIB2/Contributions

On Sun, May 6, 2012 at 7:49 PM, J. A. <erwin37 at gmail.com> wrote:

Hey Everyone,
I have recently developed a simple Shibboleth Identity Provider extension.
It enables extracting information from Facebook Graph, which can be used as
a bind parameters into SQL query. After this (or without it) extension
enables generating user attributes from both Facebook (as a Facebook "Data
Connector") and additional database. It is all configured Shibboleth-style
from a single additional configuration file (XML).
The company I work for (Poznan Supercomputing and Networking Center) wants
to contribute binary files and all necessary sources on the conditions of
one of the Open Source licences (I belive there is only one "valid" for
you).
I wonder, are you interested in this kind of a contribution?

If so, I am able to provide sources and all necessary information (Of course
if this is the right place for this kind of discussion).

I am finalising Trac-based documentation site and soon I will be able to
give you access to codes and description.

Is this kind of support interesting for you?

Should you all need any further information, please do not hesitate to
replay.
I hope that time zone differences won't be a big problem.

Jakub Aftowicz

--
To unsubscribe from this list send an email todev-unsubscribe at shibboleth.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://shibboleth.net/pipermail/dev/attachments/20120507/970c1646/attachment-
0001.html 

------------------------------

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

End of dev Digest, Vol 11, Issue 10
***********************************


More information about the dev mailing list