protected BrokerContainer createContainer() throws Exception {
BrokerContainerImpl answer = new BrokerContainerImpl(brokerName, context);
JdbmPersistenceAdapter pa = new JdbmPersistenceAdapter( serverInfo.resolve(dataDirectory) );
answer.setPersistenceAdapter( pa );
if( jassConfiguration != null ) {
answer.setSecurityAdapter(new JassJaccSecurityAdapter(jassConfiguration));
}
if( securityRoles != null ) {
// Install JACC configuration.
PropertiesConfigLoader loader = new PropertiesConfigLoader(brokerName, securityRoles);
loader.installSecurity();