
org.jboss.resteasy.plugins.server.embedded.SecurityDomain Maven / Gradle / Ivy
package org.jboss.resteasy.plugins.server.embedded;
import java.security.Principal;
/**
* Simple plugin to provide authentication/authorization to embedded implementations
*
* @author Bill Burke
* @version $Revision: 1 $
*/
public interface SecurityDomain
{
Principal authenticate(String username, String password) throws SecurityException;
boolean isUserInRole(Principal username, String role);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy