java.lang.Object | |
↳ | org.apache.http.auth.AuthSchemeRegistry |
Authentication scheme registry that can be used to obtain the corresponding authentication scheme implementation for a given type of authorization challenge.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the
authentication scheme with the given name. | |||||||||||
Obtains a list containing names of all registered
authentication
schemes in their default order. | |||||||||||
Registers a
AuthSchemeFactory with the given identifier. | |||||||||||
Populates the internal collection of registered
authentication schemes
with the content of the map passed as a parameter. | |||||||||||
Unregisters the class implementing an
authentication scheme with
the given name. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
|
Gets the authentication scheme
with the given name.
name | the authentication scheme identifier |
---|---|
params | the HTTP parameters for the authentication
scheme. |
IllegalStateException | if a scheme with the given name cannot be found |
---|
Obtains a list containing names of all registered authentication
schemes
in their default order.
Registers a AuthSchemeFactory
with the given identifier. If a factory with the
given name already exists it will be overridden. This name is the same one used to
retrieve the authentication scheme
from getAuthScheme(String, HttpParams)
.
Please note that custom authentication preferences, if used, need to be updated accordingly
for the new authentication scheme
to take effect.
name | the identifier for this scheme |
---|---|
factory | the AuthSchemeFactory class to register |
Populates the internal collection of registered authentication schemes
with the content of the map passed as a parameter.
map | authentication schemes |
---|
Unregisters the class implementing an authentication scheme
with
the given name.
name | the identifier of the class to unregister |
---|