Class WordpressBasicAuthentication
java.lang.Object
org.apache.camel.component.wordpress.api.auth.WordpressBasicAuthentication
- All Implemented Interfaces:
WordpressAuthentication
Basic Authentication implementation for Wordpress authentication mechanism. Should be used only on tested
environments due to lack of security. Be aware that credentials will be passed over each request to your server.
On environments without non HTTPS this a high security risk.
To this implementation work, the Basic Authentication Plugin must
be installed into the Wordpress server.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidHTTP Basic Authentication configuration over CXFClientConfiguration.final Stringfinal Stringprotected final booleanfinal voidsetPassword(String pwd) final voidsetUsername(String user)
-
Field Details
-
username
-
password
-
-
Constructor Details
-
WordpressBasicAuthentication
public WordpressBasicAuthentication() -
WordpressBasicAuthentication
-
-
Method Details
-
configureAuthentication
HTTP Basic Authentication configuration over CXFClientConfiguration.- See Also:
-
setPassword
- Specified by:
setPasswordin interfaceWordpressAuthentication
-
setUsername
- Specified by:
setUsernamein interfaceWordpressAuthentication
-
getPassword
-
getUsername
- Specified by:
getUsernamein interfaceWordpressAuthentication
-
isCredentialsSet
protected final boolean isCredentialsSet()
-