Recent Posts
Archives

Posts Tagged ‘ServletAuthentication’

PostHeaderIcon ServletAuthentication.AUTHENTICATED

Case

You have this code
[java]ServletAuthentication servletAuthentication = new ServletAuthentication(LOGIN_USERNAME_LABEL, LOGIN_PASSWORD_LABEL);
Integer answer = servletAuthentication.weak(request, response);[/java]

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.