Prepare SAML Authentication request using OpenSaml3.1.1

Surinaidu Majji pioneer.suri at gmail.com
Thu Jun 11 01:23:29 EDT 2015


Hi Brent,
Ok let me check this OpenSAML initializations. Mean while, can you please
also quote us  OpenSAML Packages in 3.1.1  for ,

A) base64 encoding/decoding packages in OpenSAML 3.1.1 (as highlighted
below in red)
B) XML helpers to convert DOM to Strings (as highlighted below in red)

authDOM = marshaller.marshall(authnRequest); // converting to a DOM
StringWriter requestWriter = new StringWriter();
XMLHelper.writeNode(authDOM, requestWriter);
requestMessage = requestWriter.toString(); // DOM to string
encodedRequestMessage =
Base64.encodeBytes(requestMessage.getBytes(),Base64.DONT_BREAK_LINES);


On Wed, Jun 10, 2015 at 11:46 PM, Brent Putman <putmanb at georgetown.edu>
wrote:

>
>
> On 6/10/15 6:04 AM, Surinaidu Majji wrote:
>
>
>  In "OpenSaml2.6" we do use *xmlToolingConfigs *initializations before we
> even create SAML Request via *DefaultBootstrap.bootstrap() API call, *which
> triggers below calls
>  how to initiate the same in OpenSAML 3.1.1?
>
>
>
> We actually do have some wiki docs[1] on that, but the short answer is:
> replace your call to DefaultBootstrap.bootstrap() with
> InitializationService initialize().
>
>
> [1]
> https://wiki.shibboleth.net/confluence/display/OS30/Initialization+and+Configuration
>
> --
> To unsubscribe from this list send an email to
> dev-unsubscribe at shibboleth.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20150611/a136f195/attachment.html>


More information about the dev mailing list