Credentials Validation

Manisha Satija manishasatija at gmail.com
Tue Oct 17 09:59:44 EDT 2006


Hi,
I am also trying to set my crediantials for authentication but i am not
successful. Can u suggest me how to set my crediantials for authentication.



On 10/16/06, Scott Battaglia <scott.battaglia at gmail.com> wrote:
>
> Try also setting your property "formObjectName" to "credentials"
>
> -Scott
>
>  On 10/16/06, Jan Dajč < jan.dajc.fei at vsb.cz> wrote:
>
> >   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?
> >
> > _______________________________________________
> > Yale CAS mailing list
> > cas at tp.its.yale.edu
> > http://tp.its.yale.edu/mailman/listinfo/cas
> >
> >
> >
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20061017/9d24d71c/attachment-0001.html


More information about the cas mailing list