Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML] Developing Entensions

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] Developing Entensions


Chronological Thread 
  • From: Deena Gurajala <>
  • To:
  • Subject: Re: [OpenSAML] Developing Entensions
  • Date: Tue, 3 Nov 2009 10:20:19 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=WGKVtKt/Sz27eVHzyDKesexwd+3f7Y2HQdkdZD6E0ERyFF9aGe+nJqhZR0xfym2oFd /KvxDgIdQIfvEOoaNQuAcxc+qNZteW8Ed+WnXqYVHQDmDCbc69vSSEapAdr9bmxABw3K DT9/sFW5AJYHY+Ay4QeLJhEJ3E2h19oalBv8U=

I am sorry. May be I am not clear in expressing what I wanted. I want to produce some thing similar to the following snippet.

<samlp:AuthnRequest>
.
  <samlp:Extensions>

    <rac:RequestedAuthnContexts>
        <rac:AuthnContextClassRef>
           ac:classes:Password              
        </rac:AuthnContextClassRef>
        <rac:AuthnContextClassRef>
           ac:classes:NonShared
        </rac:AuthnContextClassRef>
    </rac:RequestedAuthnContexts>

  </samlp:Extensions>

</samlp:AuthnRequest>


How can I achieve with openSAML 2.0?

On Mon, Nov 2, 2009 at 9:10 PM, Brent Putman <> wrote:
You'll have to be much more specific in what you are trying to do.  We
can give you guidance in using the OpenSAML library toolkit to
accomplish what you want to express in SAML, but you have not given much
detail as to what you are trying to accomplish.

If you are seeking some general guidance on how to solve some problem
using SAML - rather than how to implement a particular solution with
OpenSAML - this might not be the correct list.



Deena Gurajala wrote:
> I mean Extensions element of SAML 2 protocol message. We had a
> situation to support some extra attributes in Authorizations (We are
> not using XACML). Could you provide some sample code to build this one?
>
> On Mon, Nov 2, 2009 at 5:11 PM, Brent Putman <
> <mailto:>> wrote:
>
>     Do you mean software extensions to the library, or do you mean use of
>     the Extensions element of SAML 2 protocol message?
>
>     In terms of the latter, you just add what extension XMLObjects you
>     want
>     to the protocol message Extensions object, by calling
>     Extensions#getUnknownXMLObjects(), and adding/processing what you want
>     to the List that is returned (just like other list return types in
>     OpenSAML).
>
>     Of course defining what extensions you use and what they mean and how
>     they are processed on the receiver side is all up to you, if
>     there's not
>     an existing profile for that extension.
>
>
>     Deena Gurajala wrote:
>     > Hi,
>     >
>     > Can some body throw some light on using Extensions with openSAML ? I
>     > want to use some thing similar to attribute statement in the Query?
>
>




Archive powered by MHonArc 2.6.16.

Top of Page