class SoapDelegationConfig {

    @Override
    public boolean equals(Object other) {
        if (other instanceof SoapDelegationConfig) {
            SoapDelegationConfig otherConfig = (SoapDelegationConfig)other;
            return Objects.equal(validatedDelegatedTokenConfiguration, otherConfig.getValidatedDelegatedTokenConfiguration()) &&
                            Objects.equal(customDelegationTokenHandlers, otherConfig.getCustomDelegationTokenHandlers());
        }
        return false;
    }

    private  SoapDelegationConfig(SoapDelegationConfigBuilder builder);

}