Next in thread → Next in month →

Re: [xdi] Re: store binary

From
Drummond Reed <>
Date
2012-03-15T05:23:46+00:00
ID
Thread
Re: [xdi] Re: store binary
Great solution. Thanks Yuriy,

=Drummond 

On Wed, Mar 14, 2012 at 9:56 AM, Michael Schwartz <> wrote:

Yuriy,

Great news! This closes the discussion then on binary value XDI syntax.

- Mike

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

Michael Schwartz

Gluu

Founder / CEO



+1 646-810-8761

On Wed, 14 Mar 2012, Yuriy Zabrovarnyy wrote:

Hi Mike,

After our last discussion about binaries i've looked at data uri scheme (

http://en.wikipedia.org/wiki/Data_URI_scheme) and think that you are right.

We can use it to store binaries and specify exact mediatype for it.

According to this http://tools.ietf.org/html/rfc2397.

      dataurl    := "data:" [ mediatype ] [ ";base64" ] "," data

      mediatype  := [ type "/" subtype ] *( ";" parameter )

      data       := *urlchar

      parameter  := attribute "=" value

In ldap besides additional attribute (literalBinaryValue) we also need:

  - attribute to store type of binary, mediaType

  - attribute to indicate base64

Yuriy Z

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

To unsubscribe, e-mail: 

For additional commands, e-mail: 
Next in thread → Next in month →