Package org.imixs.workflow.services.rest
Class FormAuthenticator
- java.lang.Object
-
- org.imixs.workflow.services.rest.FormAuthenticator
-
- All Implemented Interfaces:
RequestFilter
public class FormAuthenticator extends Object implements RequestFilter
This RequestFilter performs a form based authentication. The filter can be used with a jakarta.ws.rs.client.Client.- Author:
- rsoika
-
-
Constructor Summary
Constructors Constructor Description FormAuthenticator(String baseUri, String username, String password)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
filter(HttpURLConnection connection)
In the filter method we put the cookies form the login into the request.
-
-
-
Method Detail
-
filter
public void filter(HttpURLConnection connection) throws IOException
In the filter method we put the cookies form the login into the request.- Specified by:
filter
in interfaceRequestFilter
- Throws:
IOException
-
-