Tibin,

Tell us why you are trying to add a custom admin page, there may be other 
alternatives.

See, https://apereo.github.io/cas/6.1.x/ux/User-Interface-Customization.html 
and Themes at the bottom.

Ray

On Fri, 2020-10-16 at 01:55 -0700, Tibin Abraham wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

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

--

Ray Bon
Programmer Analyst
Development Services, University Systems
2507218831 | CLE 019 | [email protected]<mailto:[email protected]>

I respectfully acknowledge that my place of work is located within the 
ancestral, traditional and unceded territory of the Songhees, Esquimalt and 
WSÁNEĆ Nations.

-- 
- 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/14887f62790f64e5992e437f3075ae9d6eea7c96.camel%40uvic.ca.

Reply via email to