public class Authenticator extends Object
| Constructor and Description |
|---|
Authenticator(String baseURL) |
Authenticator(URL baseURL) |
| Modifier and Type | Method and Description |
|---|---|
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
|
public Authenticator(URL baseURL)
public Authenticator(String baseURL)
public AuthenticationModule get(String name)
name - NullPointerException - is name is nullpublic AuthenticationModule remove(String name)
name - NullPointerException - is name is nullpublic AuthenticationModule auth(String name, AuthenticationConfig config)
name - config - NullPointerException - is config or name is nullCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.