Example usage for org.springframework.security.web AuthenticationEntryPoint interface-usage

List of usage examples for org.springframework.security.web AuthenticationEntryPoint interface-usage

Introduction

In this page you can find the example usage for org.springframework.security.web AuthenticationEntryPoint interface-usage.

Usage

From source file com.artivisi.spring.security.RestAuthenticationEntryPoint.java

/**
 *
 * @author endy
 */
public class RestAuthenticationEntryPoint implements AuthenticationEntryPoint {

From source file org.springframework.security.extensions.kerberos.web.SpnegoEntryPoint.java

/**
 * Sends back a request for a Negotiate Authentication to the browser.
 *
 * @author Mike Wiesner
 * @since 1.0
 * @version $Id$

From source file es.ucm.fdi.dalgs.rest.security.RestAuthenticationEntryPoint.java

/**
 * This entry point is called once the request missing the authentication but if
 * the request dosn't have the cookie then we send the unauthorized response.
 */
@Component("restAuthenticationEntryPoint")
public class RestAuthenticationEntryPoint implements AuthenticationEntryPoint {

From source file ru.mystamps.web.support.spring.security.Http401UnauthorizedEntryPoint.java

public class Http401UnauthorizedEntryPoint implements AuthenticationEntryPoint {

    /**
     * Always returns a 401 error code to the client.
     **/
    @Override

From source file org.springframework.security.web.authentication.Http403ForbiddenEntryPoint.java

/**
 * <p>
 * In the pre-authenticated authentication case (unlike CAS, for example) the user will
 * already have been identified through some external mechanism and a secure context
 * established by the time the security-enforcement filter is invoked.
 * <p>

From source file fi.helsinki.opintoni.security.HttpAuthenticationEntryPoint.java

@Component
public class HttpAuthenticationEntryPoint implements AuthenticationEntryPoint {

    @Override
    public void commence(HttpServletRequest request, HttpServletResponse response,
            AuthenticationException authException) throws IOException {

From source file org.apigw.authserver.shibboleth.ShibbolethSamlEntryPoint.java

public class ShibbolethSamlEntryPoint implements AuthenticationEntryPoint {

    @Override
    public void commence(HttpServletRequest request, HttpServletResponse response,
            AuthenticationException authException) throws IOException, ServletException {
        response.sendError(HttpServletResponse.SC_UNAUTHORIZED, authException.getMessage()); //TODO: make something better?

From source file org.cloudfoundry.identity.uaa.error.JsonAwareAuthenticationEntryPoint.java

/**
 * If authentication fails and the caller has asked for a JSON response this can send one, along with a standard 401
 * status.
 * 
 * @author Dave Syer
 * 

From source file fr.mycellar.interfaces.web.security.RestAuthenticationEntryPoint.java

/**
 * @author speralta
 */
@Singleton
@Named
public class RestAuthenticationEntryPoint implements AuthenticationEntryPoint {

From source file ch.wisv.areafiftylan.security.RESTAuthenticationEntryPoint.java

/**
 * This class overrides Springs default behaviour for unauthorized requests. Whenever a user is supposed to be logged in
 * and the authentication doesn't handle it, it will return a 401 Status message
 */
@Component
public class RESTAuthenticationEntryPoint implements AuthenticationEntryPoint {