picketlink/federation — pull request #83 by mposolda (2012-06-12 21:41:31+00:00)
Title: PLFED-340, PLFED-341

PLFED-340:
I changed method SAML2IssuerTrustHandler.getDomain() to understand situation when protocol prefix is not added. And I added new unit test SAMLIssuerTrustHandlerUnitTestCase for it.

PLFED-341:
I changed XMLTimeUtil.getIssueInstant() to always use GMT timezone like:
TimeZone.getTimeZone("GMT").getID();

instead of default system timezone like:
TimeZone.getDefault().getID();

I also added unit test.

Maybe it can be configurable, but I don't think that it's necessary at this moment. And I am not seeing any disadvantage with using GMT timezone by default.