Hi team,

I am new to CAS.
We are using cas 6.0.X.
I am trying to add a custom admin login page.

Html display worked fine. I just added a casAdminLoginView.html in 
resource/templates.

Now I am facing issue in model binding.
Tried giving th:object="{credential} in form, as i was under the assumption 
UserPasswordCredential.java was auto mapped to login page.
I tried adding a json in service folder with 
"requiredhandlers" - Querydatabaseauthenticationhandler.
which accepts UsernamePasswordCredential.java as input

This is still throwing error.
 
java.lang.IllegalStateException: Neither BindingResult nor plain target 
object for bean name 'credential' available as request attribute  


Please let me know what all additional things I have to do.

Thanks in advance
Tibin

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/56a41785-7821-4caa-8daa-f97889c44658n%40apereo.org.

Reply via email to