[aerogear-dev] AeroGear Controller Demo - JAXRS

Bruno Oliveira bruno at abstractj.org
Thu Oct 10 08:41:37 EDT 2013


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 at 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/java/org/jboss/aerogear/jaxrs/demo/service/LoginEndpoint.java#L26
>
>  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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
Url : http://lists.jboss.org/pipermail/aerogear-dev/attachments/20131010/4029f692/attachment.bin 


More information about the aerogear-dev mailing list