picketlink2 / federation

PicketLink v2.1.x Federation. PicketLink v2.5.x onwards is hosted at https://github.com/picketlink
http://www.picketlink.org
14 stars 29 forks source link

PLFED-340, PLFED-341 #83

Closed mposolda closed 12 years ago

mposolda commented 12 years ago

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.