
io.lenses.security.plugin.HttpAuthenticationPlugin Maven / Gradle / Ivy
The newest version!
package io.lenses.security.plugin;
/**
* Implement this interface to authorize the given HttpRequest
* returning a UserAndGroups instance with the groups and username of the
* authenticated user.
*
* If the user cannot be authorized, this method should throw an exception.
*/
public interface HttpAuthenticationPlugin {
UserAndGroups authenticate(HttpRequest request);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy