Hi, It's a little bit more complex. Exceptions happening during authentication are handled by the AuthenticationExceptionHandler ( https://github.com/Jasig/cas/blob/master/cas-server-core/src/main/java/org/jasig/cas/web/flow/AuthenticationExceptionHandler.java), defined here: https://github.com/Jasig/cas/blob/master/cas-server-webapp/src/main/webapp/WEB-INF/cas-servlet.xml#L309 (and called here: https://github.com/Jasig/cas/blob/master/cas-server-webapp/src/main/webapp/WEB-INF/webflow/login/login-webflow.xml#L142 )
So I guess you need to add a message in the properties and add the expected exception in the definition of the AuthenticationExceptionHandler. Best regards, Jérôme 2015-08-20 23:45 GMT+02:00 Bryan Wooten <[email protected]>: > Occasionally our users will get an LDAP time out error when authenticating. > > The message returned and displayed is something like: > > “Org.spring.ldap.exception.timeout" > > I would like to change that to a friendly message like: > > "Sorry we are too busy, please try again” > > I know I could craft some javascript on the login.jsp to do this, but I > was hoping to find a way to configure the message in the properties file. > > Any ideas? > > Thanks, > > Bryan > > -- > You are currently subscribed to [email protected] as: [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > > -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
