Example usage for org.apache.shiro.web.filter.authc BasicHttpAuthenticationFilter subclass-usage

List of usage examples for org.apache.shiro.web.filter.authc BasicHttpAuthenticationFilter subclass-usage

Introduction

In this page you can find the example usage for org.apache.shiro.web.filter.authc BasicHttpAuthenticationFilter subclass-usage.

Usage

From source file annis.security.BasicAuthOrAnonymousFilter.java

/**
 * Authentificate with a static anonymous user account when no real 
 * authentification was given.
 * If there is an authentification given this class will act like it's
 * parent class. The default value for password and user name are "anonymous".
 * You can change them with the {@link #anonymousUser} and {@link #anonymousPassword}

From source file co.edu.uniandes.filters.FilterOptions.java

/**
 *
 * @author Jj.alarcon10
 */
public class FilterOptions extends BasicHttpAuthenticationFilter {

From source file com.enioka.jqm.webui.shiro.BasicHttpAuthenticationFilter.java

public class BasicHttpAuthenticationFilter extends org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter {

    @Override
    protected boolean isLoginAttempt(ServletRequest request, ServletResponse response) {
        final X509Certificate[] clientCertificateChain = (X509Certificate[]) request
                .getAttribute("javax.servlet.request.X509Certificate");

From source file com.freedomotic.plugins.devices.restapiv3.filters.CorsBasicHttpAuthenticationFilter.java

public class CorsBasicHttpAuthenticationFilter extends BasicHttpAuthenticationFilter {

    @Override
    protected boolean isAccessAllowed(ServletRequest request, ServletResponse response, Object mappedValue) {
        HttpServletRequest httpRequest = WebUtils.toHttp(request);
        String httpMethod = httpRequest.getMethod();

From source file com.josue.kingdom.security.application.ApplicationFilter.java

/**
 *
 * @author Josue
 */
public class ApplicationFilter extends BasicHttpAuthenticationFilter {

From source file com.sonicle.webtop.core.app.shiro.filter.BasicAuth.java

/**
 *
 * @author malbinola
 */
public class BasicAuth extends BasicHttpAuthenticationFilter {

From source file myStuff.rest.shiro.MyFilter.java

@WebFilter("/*")
public class MyFilter extends BasicHttpAuthenticationFilter {
}

From source file org.apache.jena.fuseki.authc.DigestHttpAuthenticationFilter.java

/** Digest authentication.
 * <p>
 * <a href="https://www.ietf.org/rfc/rfc2617.txt">HTTP Authentication: Basic and Digest Access Authentication</a>
 * <p>
 * Wikipedia: <a href="http://en.wikipedia.org/wiki/Digest_access_authentication">Digest access authentication</a>
 */

From source file org.commonjava.routem.webctl.couch.ShiroBasicAuthenticationFilter.java

@WebFilter(urlPatterns = "/*", filterName = "shiro-basic-authc")
public class ShiroBasicAuthenticationFilter extends BasicHttpAuthenticationFilter {

    public static final String APPLICATION_NAME_KEY = "routem-application-name";

    public static final String DEFAULT_APPLICATION_NAME = "routem";

From source file org.eclipse.kapua.app.api.auth.KapuaBasicHttpAuthenticationFilter.java

public class KapuaBasicHttpAuthenticationFilter extends BasicHttpAuthenticationFilter {

    @Override
    protected UsernamePasswordToken createToken(ServletRequest request, ServletResponse response) {

        AuthenticationToken authcToken = super.createToken(request, response);