![JAR search and dependency download from the Maven repository](/logo.png)
org.ligoj.app.iam.IamProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plugin-api Show documentation
Show all versions of plugin-api Show documentation
Plugin API definition and compatibility following semver
/*
* Licensed under MIT (https://github.com/ligoj/ligoj/blob/master/LICENSE)
*/
package org.ligoj.app.iam;
import org.springframework.security.core.Authentication;
/**
* Identity and Access Management (IAM) provider of the application.
*/
public interface IamProvider {
/**
* Authenticate the given token.
*
* @param authentication The current authentication to check.
* @return The validated authentication. May not be the original parameter. Never null
.
*/
Authentication authenticate(Authentication authentication);
/**
* IAM global configuration.
*
* @return IAM global configuration. Never null
and must handle default to empty provider.
*/
IamConfiguration getConfiguration();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy