There are several approaches, I think simple is good. So if is necessary
to create a class SampleUser, SimpleUser or whatever, go for it.
Sebastien Blanc <mailto:scm.blanc@gmail.com>
October 10, 2013 9:34 AM
I was looking at the signature of the login
method
https://github.com/aerogear/aerogear-controller-demo/blob/jaxrs/src/main/...
publicUserlogin(finalUseruser,Stringpassword)
Currently it accepts an (PL) user and password String which does not
fit very well with both JAX-RS and on how our Auth Client modules
sends the data (JSON).
Our AerogearUser firend is dead but for this repo shouldn't we have
some kind of same class (just for internal use), just to hold the
loginName and Password to make the flow easier ?
Not sure what is the best approach here ...
Seb
--
abstractj