|
AeroGear Android Libary 1.0.0.M1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.aerogear.android.authentication.impl.Authenticator
public class Authenticator
This is the default implementation of Authenticator. It uses a HashMap behind the scenes to store its modules.
As a note, you should NOT extend this class for production or application purposes. This class is made non-final ONLY for testing/mocking/academic purposes.
| Constructor Summary | |
|---|---|
Authenticator(String baseURL)
|
|
Authenticator(URL baseURL)
|
|
| Method Summary | |
|---|---|
AuthenticationModule |
auth(String name,
AuthenticationConfig config)
Builds a AuthenticationModule based on the AuthenticationConfig and records it as name |
AuthenticationModule |
get(String name)
Gets a AuthenticationModule for name |
AuthenticationModule |
remove(String name)
Removes a AuthenticationModule for name |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Authenticator(URL baseURL)
public Authenticator(String baseURL)
| Method Detail |
|---|
public AuthenticationModule get(String name)
name -
NullPointerException - is name is nullpublic AuthenticationModule remove(String name)
name -
NullPointerException - is name is null
public AuthenticationModule auth(String name,
AuthenticationConfig config)
name - config -
NullPointerException - is config or name is null
|
AeroGear Android Libary 1.0.0.M1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||