class DBService implements RolesProvider {

    boolean isUserAuthorityExpiryChanged(String originalValue, String newValue) {

        // if we don't have a user authority defined then
        // we assume there are no changes

        if (zmsConfig.getUserAuthority() == null) {
            return false;
        }

        // first let's make sure if we're given empty strings
        // we treat them as nulls

        if (originalValue != null && originalValue.isEmpty()) {
            originalValue = null;
        }
        if (newValue != null && newValue.isEmpty()) {
            newValue = null;
        }

        // we're only concerned if the value was either set or changed
        // if the value was set and now was unset, it has no impact
        // on the existing members so we're going to treat that as
        // if the setting was not changed

        if (newValue == null) {
            return false;
        } else {
            return originalValue == null || !originalValue.equalsIgnoreCase(newValue);
        }
    }

    public  DBService(ObjectStore store, AuditLogger auditLogger, ZMSConfig zmsConfig, AuditReferenceValidator auditReferenceValidator);

}