|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgroovyx.net.ws.cxf.AbstractSettingHelper
groovyx.net.ws.cxf.BasicAuthenticationHelper
public class BasicAuthenticationHelper
Helper class to configure the http basic authentication
SettingConstants.HTTP_USER,
SettingConstants.HTTP_PASSWORD| Field Summary |
|---|
| Fields inherited from class groovyx.net.ws.cxf.AbstractSettingHelper |
|---|
properties |
| Constructor Summary | |
|---|---|
BasicAuthenticationHelper()
|
|
| Method Summary | |
|---|---|
protected void |
configureClientParameters(org.apache.cxf.endpoint.Client client)
Sets the user and password for the http conduit. |
void |
setBasicAuthentication(java.lang.String user,
java.lang.String password)
Sets the basic authentication properties defined in SettingConstants |
protected void |
setDefaultProperties()
Reads the system properties and puts the value of SettingConstants.HTTP_USER and SettingConstants.HTTP_PASSWORD
into the property-map. |
| Methods inherited from class groovyx.net.ws.cxf.AbstractSettingHelper |
|---|
enable, initialize, isConfigured, setProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicAuthenticationHelper()
| Method Detail |
|---|
public void setBasicAuthentication(java.lang.String user,
java.lang.String password)
SettingConstants
user - The username to use to connect to the proxypassword - The password.SettingConstants.HTTP_USER,
SettingConstants.HTTP_PASSWORDprotected void setDefaultProperties()
SettingConstants.HTTP_USER and SettingConstants.HTTP_PASSWORD
into the property-map.
setDefaultProperties in class AbstractSettingHelperprotected void configureClientParameters(org.apache.cxf.endpoint.Client client)
configureClientParameters in class AbstractSettingHelperclient - The CXF client to configure
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||