- All Implemented Interfaces:
- org.apache.tomcat.util.IntrospectionUtils.PropertySource
public class CredentialProvidingPropertySource
extends Object
implements org.apache.tomcat.util.IntrospectionUtils.PropertySource
Tomcat PropertySource that gets its data from the configured CredentialFactory.
Example context.xml configuration attributes:
user="${testiaf_user/username}"
password="${testiaf_user/password}"
Example context.xml configuration attributes with defaults:
user="${testiaf_user/username:-default username}"
password="${testiaf_user/password:-default password}"
- Author:
- Gerrit van Brakel