Skip to main content
Administrator Guide
Last Updated: 2023-06-23
Reference: HTTP-Basic-Auth Properties

Reference: HTTP-Basic-Auth Properties

Common Tab

Property
XML Attribute Name
Description
Password
password
A password for authentication.
Username
username
A username for authentication.
Realm
realm
The realm name used by a callback handler bean.
Callback-Handler Bean
callback-handler-bean
A bean that implements
javax.security.auth.callback.CallbackHandler
and handles the callback type
com.capeclear.transport.impl.http.auth.UsernamePasswordCallback
to supply username and password details for authentication.
If you don't specify password details for an
http-basic-auth
child element, you’ll need to use a callback handler bean instead. Example:
<http-basic-auth username="me" callback-handler-bean="myCallBackHandlerBean"/>
.
If you don't specify username and password details for an
http-basic-auth
child element, you’ll need to use a callback handler bean instead. Example:
<http-basic-auth callback-handler-bean="myCallBackHandlerBean"/>
.
If you specify username and password details for an
http-basic-auth
child element, you don't require a callback handler bean. Example:
<http-basic-auth username="me" password="mypassword"/>
.