Create a configuration class

A new file configuration class is created in the sample code. The isParentGroupAdded method specifies if the provider requires the SecureTransport server to generate a system Address Book entry which will be used as a parent group for all Address Book entries returned by the provider.

package com.axway.st.plugins.abcustomsource.sdk.file.configuration;

import com.axway.st.plugins.absource.AddressBookProviderConfiguration;

/**
 * File Configuration.
 *
 */
public class AddressBookFileProviderConfiguration implements AddressBookProviderConfiguration {

    @Override
    public String getDefaultParentGroupName() {
        return "file-based";
    }

    @Override
    public boolean isParentGroupAdded() {
        return true;
    }
}

Related Links