|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.client.filter.HttpBasicAuthFilter
public final class HttpBasicAuthFilter
Client filter adding HTTP Basic Authentication header to the HTTP request, if no such header is already present.
| Constructor Summary | |
|---|---|
HttpBasicAuthFilter(java.lang.String username,
java.lang.String password)
Creates a new HTTP Basic Authentication filter using provided username and password credentials. |
|
| Method Summary | |
|---|---|
void |
preFilter(FilterContext fc)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpBasicAuthFilter(java.lang.String username,
java.lang.String password)
username - user namepassword - password| Method Detail |
|---|
public final void preFilter(FilterContext fc)
throws java.io.IOException
preFilter in interface RequestFilterjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||