[aerogear-dev] Android Auth branch and API

Summers Pittman supittma at redhat.com
Fri Oct 26 12:12:19 EDT 2012


My initial work is here:https://github.com/aerogear/aerogear-android/tree/auth 

Changes to existing classes/API: 



HttpProvider now returns a class called HeaderAndBodyMap . This is a Map of the headers along with a byte array which was the body of the response. 

HttpProvider will throw a HttpException if it does not receive a 200 status 

HttpException wraps some information about the HTTP result. 


Description of current Auth Classes and Methods: 


<blockquote>
Interfaces : 

<blockquote>
Authenticator is a factory/lookup class a la Pipeline. 
</blockquote>

<blockquote>



</blockquote>

<blockquote>

AuthenticationModule is a module that manages a authenticated users credentials. Provides enroll , login , logout , authToken , and isAuthenticated . 
</blockquote>

<blockquote>



</blockquote>

<blockquote>

Builder is an interface that can instantiate an instance of AuthenticationModule . 
</blockquote>



Classes: 


<blockquote>

DefaultAuthenticator implements Authenticator 
</blockquote>

<blockquote>



</blockquote>

<blockquote>

RestAuthenticationModule implements AuthenticationModule only login is implemented. 
</blockquote>

</blockquote>



<blockquote>


</blockquote>

Todo: 


<blockquote>
Implement the rest of the methods in RestAuthenticationModule 
</blockquote>



<blockquote>

Update Pipe implementations to use the AuthenticationModules 




</blockquote>

<blockquote>


</blockquote>

<blockquote>


</blockquote>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20121026/86237e6a/attachment.html 


More information about the aerogear-dev mailing list