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) {
e.initCause(cause);
}
throw e;
}
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) {
e.initCause(cause);
}
throw e;
}
Comments
Post a Comment