sim51 / logisima-play-cas

CAS authentification module (SSO)
http://www.bsimard.com
19 stars 8 forks source link

CASUtils.getCasAttributes(String xml) always returns null #4

Closed marcos-muino-garcia closed 13 years ago

marcos-muino-garcia commented 13 years ago

XML is not processed at all and a null value is returned.

sim51 commented 13 years ago

Hi,

It's true, because this feature is not (yet) implemented ! It's on the roadmap to retrieve CAS attribut.

marcos-muino-garcia commented 13 years ago

Hi,

First of all I beg you pardon for open the issue. I haven't seen the roadmap.

In order to temporary solve the problem, I performed a commit ( https://github.com/bardaos/logisima-play-cas/commit/21dcbd5854df03bf304eaa13c46a6063acc40153 ) with a very simple implementation (I'm not proud of it, but I didn't want to add any XML parser library as dependency).

Many thanks for your contributions! Marcos.

sim51 commented 13 years ago

Can you do a pull request ? So I can add your code to the main repo.

Thks

marcos-muino-garcia commented 13 years ago

I have perform a previous commit to that one, to provide which user has been disconnected. I warn you because this may cause an incompatible API issue.