Class AuthenticationInterceptor

  • All Implemented Interfaces:
    javax.ws.rs.container.ContainerRequestFilter

    @Service("authenticationInterceptor#rest")
    @Provider
    @Priority(2000)
    public class AuthenticationInterceptor
    extends AbstractInterceptor
    implements javax.ws.rs.container.ContainerRequestFilter
    This interceptor will check if the user is already logged in the session. If not ask the redback system to authentication trough BASIC http If the user is logged the AuthenticationResult will in the cxf message with the key AuthenticationResult.class
    Since:
    1.3
    Author:
    Olivier Lamy
    • Method Detail

      • filter

        public void filter​(javax.ws.rs.container.ContainerRequestContext containerRequestContext)
        Specified by:
        filter in interface javax.ws.rs.container.ContainerRequestFilter