io.imunity.console.views.authentication.facilities.AuthenticatorEntry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of unity-server-console Show documentation
Show all versions of unity-server-console Show documentation
Task oriented web based administration UI
/*
* Copyright (c) 2019 Bixbit - Krzysztof Benedyczak. All rights reserved.
* See LICENCE.txt file for licensing information.
*/
package io.imunity.console.views.authentication.facilities;
import pl.edu.icm.unity.engine.api.authn.AuthenticatorDefinition;
import java.util.Collections;
import java.util.List;
record AuthenticatorEntry(
AuthenticatorDefinition authenticator,
List endpoints)
{
AuthenticatorEntry(AuthenticatorDefinition authenticator, List endpoints)
{
this.authenticator = authenticator;
this.endpoints = Collections.unmodifiableList(endpoints == null ? Collections.emptyList() : endpoints);
}
}