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

net.nemerosa.ontrack.model.security.AuthenticationSourceService Maven / Gradle / Ivy

There is a newer version: 4.4.5
Show newest version
package net.nemerosa.ontrack.model.security;

import net.nemerosa.ontrack.model.exceptions.AuthenticationSourceProviderNotFoundException;

public interface AuthenticationSourceService {

    AuthenticationSourceProvider getAuthenticationSourceProvider(String mode) throws AuthenticationSourceProviderNotFoundException;

    default AuthenticationSource getAuthenticationSource(String mode) throws AuthenticationSourceProviderNotFoundException {
        return getAuthenticationSourceProvider(mode).getSource();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy