Seems like the authentication manager is failing to recognize your UsernamePasswordCredentials subclass by running this piece of code:
https://github.com/Jasig/cas/blob/v3.5.3/cas-server-core/src/main/java/org/jasig/cas/authentication/handler/support/AbstractUsernamePasswordAuthenticationHandler.java#L138 <https://github.com/Jasig/cas/blob/v3.5.3/cas-server-core/src/main/java/org/jasig/cas/authentication/handler/support/AbstractUsernamePasswordAuthenticationHandler.java#L138> The goal here is to figure out why. I’d personally step through a debugger, as there are no useful log instrumentation in authentication manager impl., etc. D. > On May 27, 2015, at 9:16 AM, Jonathan Bell <[email protected]> wrote: > > too quick on the enter. > org.jasig.cas.adaptors.jdbc.QueryDatabaseAuthenticationHandler > > On 2015-05-27 6:11 AM, Dmitriy Kopylenko wrote: >> What version of CAS and which authentication handler do you use? >> >> Dmitriy. >> >>> On May 27, 2015, at 8:59 AM, Jonathan Bell <[email protected]> >>> <mailto:[email protected]> wrote: >>> >>> I am trying to add a third login field. I am getting a message at login >>> "Credentials you provided are not supported by cas" Something obviously I >>> am missing in the modification. >>> >>> This is what I have done.... >>> >>> I created a new credentials class, with new getter/setter methods that >>> extends usernamepasswordcredentials. >>> >>> Modified login-webflow.xml and changed the var name credentials to my >>> credentials class. >>> added binding property for new field. >>> >>> modified loginview.jsp to display new field. >>> -- >>> You are currently subscribed to [email protected] >>> <mailto:[email protected]> as: [email protected] >>> <mailto:[email protected]> >>> To unsubscribe, change settings or access archives, see >>> http://www.ja-sig.org/wiki/display/JSG/cas-user >>> <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 -- 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
