CASC-174 Remove JBoss verbiage from error message.

This commit is contained in:
Marvin S. Addison 2013-08-01 14:10:38 -04:00
parent 517f94bd97
commit 75406c916e
1 changed files with 1 additions and 2 deletions

View File

@ -69,8 +69,7 @@ public final class Servlet3AuthenticationFilter extends AbstractCasFilter {
request.getSession().setAttribute(CONST_CAS_ASSERTION, principal.getAssertion());
} else {
logger.debug("Aborting -- principal is not of type AssertionPrincipal");
throw new GeneralSecurityException(
"JBoss Web authentication did not produce CAS AssertionPrincipal.");
throw new GeneralSecurityException("JAAS authentication did not produce CAS AssertionPrincipal.");
}
} catch (final ServletException e) {
logger.debug("JAAS authentication failed.");