Reference: HTTP-Custom-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-custom-auth child element, you’ll need to use a callback handler bean instead. Example: <http-custom-auth username="me" callback-handler-bean="myCallBackHandlerBean"/> .If you don't specify username and password details for an http-custom-auth child element, you’ll need to use a callback handler bean instead. Example: <http-custom-auth callback-handler-bean="myCallBackHandlerBean"/> .If you specify username and password details for an http-custom-auth child element, you don't require a callback handler bean. Example: <http-custom-auth username="me" password="mypassword"/> . |
Authenticator Bean
| authenticator-bean
| The spring bean that performs a custom authentication. |