ServletAuthentication.AUTHENTICATED
Case
You have this code
ServletAuthentication servletAuthentication = new ServletAuthentication(LOGIN_USERNAME_LABEL, LOGIN_PASSWORD_LABEL); Integer answer = servletAuthentication.weak(request, response);
But you always get FAILED_AUTHENTICATION
as answer, while you expect to receive AUTHENTICATED
.
Fix
In WebLogic configuration, set the control flag for Custom Authentication Provider
and Default Weblogic Authentication Provider
at SUFFICIENT
.