OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

saml-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [saml-dev] IdP initiated SSO and RelayState


How I should encode the RelayState.

JDK's Base64.getUrlEncoder() encodes with with padding chars in the end (==).
Apache's org.apache.commons.codec.binary.Base64.encodeBase64URLSafeString() encodes without such padding. 

Which one do you use ?


2016-05-31 15:57 GMT+02:00 Cantor, Scott <cantor.2@osu.edu>:
> Can RelayState be a relative url?

It can, but it shouldn't. Anything that is inherently unbounded in length is not designed to be used in that field, it's that simple.

-- Scott


Ing. Antonio  Di Maio

Mobile  +48 534 861 209 | Skype dimaio_antonio

ul Torfowa 12/4, Cracow, Poland



This email including all attachments may include confidential information. If you are not the intended recipient or if you received this email by mistake, please inform immediately the sender and destroy the email. Any review, copying or distribution of this email is strictly prohibited.

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]