This is the error log: 
2024-02-04 02:51:39,235 ERROR 
[org.apereo.cas.configuration.CasConfigurationPropertiesValidator] - <
Failed to bind properties under 'cas' to 
org.apereo.cas.configuration.CasConfigurationProperties

        
cas.authn.authentication-handlers.custom-authentication-handler.class = 
com.example.authentication.CustomAuthenticationHandler (Origin: 
"cas.authn.authentication-handlers.custom-authentication-handler.class" 
from property source "bootstrapProperties-casCompositePropertySource")

        
cas.authn.authentication-handlers.custom-authentication-handler.name = 
customAuthenticationHandler (Origin: 
"cas.authn.authentication-handlers.custom-authentication-handler.name" from 
property source "bootstrapProperties-casCompositePropertySource")

        
cas.authn.authentication-handlers.custom-authentication-handler.order = 1 
(Origin: 
"cas.authn.authentication-handlers.custom-authentication-handler.order" 
from property source "bootstrapProperties-casCompositePropertySource")

        
cas.authn.authentication-handlers.custom-authentication-handler.password = 
test@123 (Origin: 
"cas.authn.authentication-handlers.custom-authentication-handler.password" 
from property source "bootstrapProperties-casCompositePropertySource")

        cas.authn.authentication-handlers.custom-authentication-handler.sql 
= SELECT * FROM users1 WHERE username = ? AND password = ? (Origin: 
"cas.authn.authentication-handlers.custom-authentication-handler.sql" from 
property source "bootstrapProperties-casCompositePropertySource")

        
cas.authn.authentication-handlers.custom-authentication-handler.type = 
com.example.authentication.CustomAuthenticationHandler (Origin: 
"cas.authn.authentication-handlers.custom-authentication-handler.type" from 
property source "bootstrapProperties-casCompositePropertySource")

        cas.authn.authentication-handlers.custom-authentication-handler.url 
= jdbc:postgresql://localhost:5433/cas (Origin: 
"cas.authn.authentication-handlers.custom-authentication-handler.url" from 
property source "bootstrapProperties-casCompositePropertySource")

        
cas.authn.authentication-handlers.custom-authentication-handler.username = 
postgres (Origin: 
"cas.authn.authentication-handlers.custom-authentication-handler.username" 
from property source "bootstrapProperties-casCompositePropertySource")

        cas.authn.handler.names = customAuthenticationHandler (Origin: 
"cas.authn.handler.names" from property source 
"bootstrapProperties-casCompositePropertySource")

        cas.server.httpproxy.attributes.attributename = attributeValue 
(Origin: "cas.server.httpProxy.attributes.attributeName" from property 
source "bootstrapProperties-casCompositePropertySource")

        cas.server.httpproxy.enabled = true (Origin: 
"cas.server.httpProxy.enabled" from property source 
"bootstrapProperties-casCompositePropertySource")

        cas.server.httpproxy.protocol = AJP/1.3 (Origin: 
"cas.server.httpProxy.protocol" from property source 
"bootstrapProperties-casCompositePropertySource")

        cas.server.httpproxy.proxyport =  (Origin: 
"cas.server.httpProxy.proxyPort" from property source 
"bootstrapProperties-casCompositePropertySource")

        cas.server.httpproxy.redirectport =  (Origin: 
"cas.server.httpProxy.redirectPort" from property source 
"bootstrapProperties-casCompositePropertySource")

        cas.server.httpproxy.scheme = https (Origin: 
"cas.server.httpProxy.scheme" from property source 
"bootstrapProperties-casCompositePropertySource")

        cas.server.httpproxy.secure = true (Origin: 
"cas.server.httpProxy.secure" from property source 
"bootstrapProperties-casCompositePropertySource")

        cas.ticket.pgt.encryptionkey.cache = false (Origin: 
"cas.ticket.pgt.encryptionKey.cache" from property source 
"bootstrapProperties-casCompositePropertySource")

        cas.ticket.pt.encryptionkey.cache = false (Origin: 
"cas.ticket.pt.encryptionKey.cache" from property source 
"bootstrapProperties-casCompositePropertySource")

        cas.ticket.registry.jpa.isquerycacheenabled = true (Origin: 
"cas.ticket.registry.jpa.isQueryCacheEnabled" from property source 
"bootstrapProperties-casCompositePropertySource")

        cas.ticket.registry.jpa.querycacheprovider = 
org.hibernate.cache.ehcache.EhCacheRegionFactory (Origin: 
"cas.ticket.registry.jpa.queryCacheProvider" from property source 
"bootstrapProperties-casCompositePropertySource")

        cas.ticket.st.encryptionkey.cache = false (Origin: 
"cas.ticket.st.encryptionKey.cache" from property source 
"bootstrapProperties-casCompositePropertySource")

        cas.ticket.tgt.encryptionkey.cache = false (Origin: 
"cas.ticket.tgt.encryptionKey.cache" from property source 
"bootstrapProperties-casCompositePropertySource")

Listed settings above are no longer recognized by CAS 6.6.15. They may have 
been renamed, removed, or relocated to a new namespace in the CAS 
configuration schema. CAS will ignore such settings to proceed with its 
normal initialization sequence. Please consult the CAS documentation to 
review and adjust each setting to find an alternative or remove the 
definition from the property source. Failure to do so puts the server 
stability in danger and complicates future upgrades.
>
On Saturday, February 3, 2024 at 10:48:57 PM UTC+5:30 Amulya Sri Pulijala 
wrote:

> Thanks! 
>
> I could create login page; handler and configure as well. 
> I added it in both applications.yml and spring.factories as well.
>
> My cas.properties is as follows: 
> cas.authn.accept.enabled=false
> cas.authn.handler.names=customAuthenticationHandler
> cas.authn.customHandlers.customAuthenticationHandler.name
> =customAuthenticationHandler
>
> cas.authn.customHandlers.customAuthenticationHandler.type=com.example.authentication.CustomAuthenticationHandler
>
> cas.authn.customHandlers.customAuthenticationHandler.url=jdbc:postgresql://localhost:5432/cas
> cas.authn.customHandlers.customAuthenticationHandler.username=postgres
> cas.authn.customHandlers.customAuthenticationHandler.password=test@123
> cas.authn.customHandlers.customAuthenticationHandler.sql=SELECT * FROM 
> users WHERE username = ? AND password = ?
> cas.authn.customHandlers.customAuthenticationHandler.order=1
>
>
> Am facing the issue that login is not going to the custom handler. I could 
> see that respective classes are generated at the correct location also.
>
> Thanks in advance! Kindly share your thoughts/inputs.
>
> Amulya
> On Saturday, February 3, 2024 at 8:27:11 AM UTC+5:30 Ray Bon wrote:
>
>> Amulya,
>>
>> You can copy what is done for the default login form.
>> I thought there was some guidance in the docs, but I am unable to find 
>> it. You can use spring tutorials.
>>
>> Ray
>>
>> On Thu, 2024-02-01 at 15:10 -0800, Amulya Sri Pulijala wrote:
>>
>> Notice: This message was sent from outside the University of Victoria 
>> email system. Please be cautious with links and sensitive information.
>>
>> Thanks! that helped! I customized loginform.html and wrote my own 
>> handler.  
>> Can someone point out a tutorial of how to build or how to write 
>> configuration for the handler?
>>
>> Amulya
>>
>> On Wednesday, January 31, 2024 at 7:51:33 PM UTC+5:30 Ray Bon wrote:
>>
>> Amulya,
>>
>> See https://fawnoos.com/2022/07/22/cas66-ui-themes/ and 
>> https://fawnoos.com/2023/12/15/cas70x-gettingstarted-overlay/
>>
>> Ray
>>
>> On Tue, 2024-01-30 at 22:01 -0800, Amulya Sri Pulijala wrote:
>>
>> Notice: This message was sent from outside the University of Victoria 
>> email system. Please be cautious with links and sensitive information.
>>
>> Thanks a ton! This helped. I could build it in RHEL using 
>> cas-overlay-template. 
>>
>> I have a doubt that, Can I customize UI and add few widgets like label,  
>> textbox (such as mathematical expressions for captcha) etc in 
>> cas-overlay-template as well?? 
>> And specific functionality for them?
>>
>> Regards,
>> Amulya
>>
>>
>>
>> On Wednesday, January 31, 2024 at 1:51:45 AM UTC+5:30 Ray Bon wrote:
>>
>> Amulya,
>>
>> Are you talking about the cas project or cas-overlay-template?
>>
>> Check your command (mind the '/' not '\'):
>> ./gradlew clean build
>>
>> Ray
>>
>> On Tue, 2024-01-30 at 10:22 -0800, Amulya Sri Pulijala wrote:
>>
>> Notice: This message was sent from outside the University of Victoria 
>> email system. Please be cautious with links and sensitive information.
>>
>>
>> Hey, 
>>
>> Am new to Apareo CAS. I could build v 6.6 in windows using gradle . But, 
>> when am trying to build it in Linux RHEL, I could not see any error during 
>> build, however, the war generated is of 261Kb only.
>>
>> And I could see that WEB-INF folder itself is missing in war file., the 
>> build process is same. I just cloned and ran .\gradlew clean build.
>> I tried stopping the gradle, cleaning it and restarting, but the output 
>> is ssame.
>>
>> Kindly help me. Thanks in Advance!
>>
>> Regards,
>> Amulya
>>
>>
>>
>>
>>
>>

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/c520db85-4e1f-496d-a3f0-03c640cddc77n%40apereo.org.

Reply via email to