mace-opensaml-users - Subject missing in authentication statement
Subject: OpenSAML user discussion
List archive
- From: Lakshmikanth Ganti <>
- To:
- Subject: Subject missing in authentication statement
- Date: Tue, 17 Aug 2004 12:10:27 -0700 (PDT)
Hi,
Im using openSAML Java Api to generate a SAML response. In my SAML response i do not get the subject tag in the authentication statement though i pass the subject as an argument. im creating the subject and adding it to the authentication statement as follows. Any help is appreciated. Thank you.
SAMLNameIdentifier nameIdentifier = new SAMLNameIdentifier(
, // name
null, // qualifier
SAMLNameIdentifier.FORMAT_EMAIL // format
);// create a collection of confirmation methods
List confMethods = new ArrayList();
confMethods.add( SAMLSubject.CONF_BEARER );// create the subject of our SAML statements
SAMLSubject subject = new SAMLSubject(
nameIdentifier, // name identifier
confMethods, // list of confirmation methods
null, // evidence
null // key info
);// create a new SAML Authentication statement
SAMLAuthenticationStatement s = new SAMLAuthenticationStatement(
subject, // subject
SAMLAuthenticationStatement.AuthenticationMethod_Password, // confirmation method
new Date(), // confirmation instant
null, // subject IP
null, // subject DNS
null // provider bindings
);
Lakshmikanth Ganti
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
- RE: xml library issues, (continued)
- RE: xml library issues, Scott Cantor, 08/13/2004
- Re: xml library issues, Mike Ferraro, 08/13/2004
- RE: xml library issues, Scott Cantor, 08/13/2004
- Re: xml library issues, Walter Hoehn, 08/13/2004
- Re: xml library issues, Mike Ferraro, 08/13/2004
- RE: xml library issues, Scott Cantor, 08/13/2004
- Re: xml library issues, Mike Ferraro, 08/13/2004
- Re: xml library issues, Mike Ferraro, 08/13/2004
- RE: xml library issues, Scott Cantor, 08/13/2004
- Re: xml library issues, Mike Ferraro, 08/13/2004
- Subject missing in authentication statement, Lakshmikanth Ganti, 08/17/2004
- RE: Subject missing in authentication statement, Scott Cantor, 08/17/2004
Archive powered by MHonArc 2.6.16.