class IdentityProviderConfig implements EntityIdentifiable {

    @JsonProperty("authenticationEnabled")
    public Boolean isAuthenticationEnabled() {
        if (Strings.isNullOrEmpty(provideAuthenticationUntil)) {
            return true;
        }

        DateTime provideAuthenticationUntilDate = DateTime.parse(provideAuthenticationUntil, DateTimeFormat.forPattern("yyyy-MM-dd'T'HH:mm:ssZZ"));

        return provideAuthenticationUntilDate.isAfterNow();
    }

    @SuppressWarnings("unused") // needed to prevent guice injection protected  IdentityProviderConfig();

}