![JAR search and dependency download from the Maven repository](/logo.png)
net.sourceforge.plantuml.security.authentication.SecurityAuthorizeManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml-mit Show documentation
Show all versions of plantuml-mit Show documentation
PlantUML is a component that allows to quickly write diagrams from text.
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package net.sourceforge.plantuml.security.authentication;
/**
* Creates from credentials a {@link SecurityAuthentication} object or authorize
* as principal to retrieve an authentication object.
*
* @author Aljoscha Rittner
*/
public interface SecurityAuthorizeManager {
/**
* Creates from the credentials the authentication object to access an endpoint.
* If the credentials defines a principal (e.g. in OAuth2), the create method
* should authorize the principal and get the final authentication data to
* access an endpoint.
*
* @param credentials the configured credentials
* @return the authentication object.
*/
SecurityAuthentication create(SecurityCredentials credentials);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy