Credentials Validation
Jan Dajč
jan.dajc.fei at vsb.cz
Mon Oct 16 06:01:30 EDT 2006
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 not
set. Using default class of
org.jasig.cas.authentication.principal.UsernamePasswordCredentials with
formObjectName credentials and validator
org.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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20061016/c14df938/attachment.html
More information about the cas
mailing list