@Provider public class AuthenticationExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<AuthenticationException>
Map an authentication exception to an HTTP 401 response, optionally including the realm for a credentials challenge at the client.
| Constructor and Description |
|---|
AuthenticationExceptionMapper() |
public javax.ws.rs.core.Response toResponse(AuthenticationException e)
toResponse in interface javax.ws.rs.ext.ExceptionMapper<AuthenticationException>Copyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.