-Scott
Hi,
I wanted to use my own credentials. Now I am testing it with UsernamePasswordCredentials. It works fine with standard cas config, which I downloaded from web. When cas server starts, it writes a message:
[org.jasig.cas.web.flow.AuthenticationViaFormAction] - FormObjectClass notset. Using default class oforg.jasig.cas.authentication.principal.UsernamePasswordCredentials withformObjectName credentials and validatororg.jasig.cas.validation.UsernamePasswordCredentialsValidator .
and everything is fine and I can see error messages on login page (for example "Password is a required field").
When I Want to use my credentials I must write it to cas-servlet.xml, for testing with UsernamePasswordCredentials :
< bean
id= "authenticationViaFormAction"
parent= "abstractCasLoginAction"
class= "org.jasig.cas.web.flow.AuthenticationViaFormAction" >
<property
name= "formObjectClass"
value= "org.jasig.cas.authentication.principal.UsernamePasswordCredentials" />
<property name= "validator">
<bean class= "org.jasig.cas.validation.UsernamePasswordCredentialsValidator"/>
</property >
</ bean>
Then I can't see no error messages on login page.
Any idea, why there are no error messages?
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
