From 0e3837e7652daa138bddf892ecdcdd17821b72ee Mon Sep 17 00:00:00 2001 From: "Marvin S. Addison" Date: Thu, 1 Aug 2013 14:10:38 -0400 Subject: [PATCH] CASC-174 Remove JBoss verbiage from error message. --- .../jasig/cas/client/jaas/Servlet3AuthenticationFilter.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cas-client-core/src/main/java/org/jasig/cas/client/jaas/Servlet3AuthenticationFilter.java b/cas-client-core/src/main/java/org/jasig/cas/client/jaas/Servlet3AuthenticationFilter.java index b2dddf8..dd0b89a 100644 --- a/cas-client-core/src/main/java/org/jasig/cas/client/jaas/Servlet3AuthenticationFilter.java +++ b/cas-client-core/src/main/java/org/jasig/cas/client/jaas/Servlet3AuthenticationFilter.java @@ -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.");