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

net.sourceforge.plantuml.security.authentication.SecurityDefaultNoopAuthorizeManager Maven / Gradle / Ivy

There is a newer version: 1.2024.8
Show newest version
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package net.sourceforge.plantuml.security.authentication;

import java.util.Collections;
import java.util.Map;

/**
 * Creates a public access authentication data object.
 *
 * @author Aljoscha Rittner
 */
public class SecurityDefaultNoopAuthorizeManager implements SecurityAuthorizeManager {

	private static final Map EMPTY_MAP = Collections.emptyMap();

	@Override
	public SecurityAuthentication create(SecurityCredentials credentials) {
		return new SecurityAuthentication("public", EMPTY_MAP);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy