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 <[EMAIL PROTECTED]> wrote:
Try also setting your property "formObjectName" to "credentials"

-Scott

On 10/16/06, Jan Dajč < [EMAIL PROTECTED]> 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
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas




_______________________________________________
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

Reply via email to