Thursday, April 22, 2010

Weblogic Custom Authentication Provider Error

If you are not getting your login exception set in javax.servlet.error.exception : try reordering your custom provider to the top of the provider list in the Weblogic Admin Console.

Just a quick note:

If you are having a hard time propogating the cause of your weblogic errors that are thrown from your custom provider try this before you throw them:

protected static void throwException(boolean propagateCauseForLoginException,
LoginException e,
Throwable cause) throws LoginException {
if (propagateCauseForLoginException) {
throw e;

No comments:

Post a Comment