
io.dropwizard.auth.PermitAllAuthorizer Maven / Gradle / Ivy
package io.dropwizard.auth;
import java.security.Principal;
/**
* An {@link Authorizer} that grants access for any principal in any role.
*
* @param the type of the principal
*/
public class PermitAllAuthorizer
implements Authorizer
{
@Override
public boolean authorize(P principal, String role) {
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy