All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hp.autonomy.frontend.configuration.authentication.SingleUserAuthenticationValidator Maven / Gradle / Ivy

There is a newer version: 3.5.0
Show newest version
/*
 * Copyright 2013-2015 Open Text.
 *
 * Licensed under the MIT License (the "License"); you may not use this file
 * except in compliance with the License.
 *
 * The only warranties for products and services of Open Text and its affiliates
 * and licensors ("Open Text") are as may be set forth in the express warranty
 * statements accompanying such products and services. Nothing herein should be
 * construed as constituting an additional warranty. Open Text shall not be
 * liable for technical or editorial errors or omissions contained herein. The
 * information contained herein is subject to change without notice.
 */

package com.hp.autonomy.frontend.configuration.authentication;

import com.hp.autonomy.frontend.configuration.ConfigService;
import com.hp.autonomy.frontend.configuration.validation.ValidationResult;
import com.hp.autonomy.frontend.configuration.validation.Validator;
import lombok.Setter;

public class SingleUserAuthenticationValidator implements Validator {

    @Setter
    private ConfigService> configService;

    @Override
    public ValidationResult validate(final SingleUserAuthentication config) {
        return config.validate(configService);
    }

    @Override
    public Class getSupportedClass() {
        return SingleUserAuthentication.class;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy