public class FormExtractor extends Object implements Extractor<UsernamePasswordCredentials>
| Constructor and Description |
|---|
FormExtractor(String usernameParameter,
String passwordParameter,
String clientName) |
| Modifier and Type | Method and Description |
|---|---|
UsernamePasswordCredentials |
extract(WebContext context)
Extract the right credentials.
|
String |
getPasswordParameter() |
String |
getUsernameParameter() |
public UsernamePasswordCredentials extract(WebContext context)
ExtractorCredentialsException in case of failure.extract in interface Extractor<UsernamePasswordCredentials>context - the current web contextpublic String getUsernameParameter()
public String getPasswordParameter()
Copyright © 2016. All Rights Reserved.