Ugur,

That version is very old. My first suggestion is to upgrade.

My best guess is that you have to define SAML2Client or some of its properties. 
Do you have a link to the documentation?

You may be able to find something on https://fawnoos.com/blog/

Ray

On Mon, 2022-07-04 at 00:08 -0700, Ugur Ayan wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

After adding below library and properties files;
implementation 
"org.apereo.cas:cas-server-support-pac4j-webflow:${project.'cas.version'}"


cas.authn.pac4j.saml[0].keystorePassword=pac4j-demo-passwd
cas.authn.pac4j.saml[0].privateKeyPassword=pac4j-demo-passwd
cas.authn.pac4j.saml[0].keystorePath=/etc/cas/config/samlKeystore.jks
cas.authn.pac4j.saml[0].serviceProviderEntityId=urn:mace:saml:pac4j.org
cas.authn.pac4j.saml[0].serviceProviderMetadataPath=/etc/cas/config/sp-metadata.xml
cas.authn.pac4j.saml[0].identityProviderMetadataPath=https://dev-18461928.okta.com/app/exk5fzxeb8QKtVEL05d7/sso/saml/metadata
cas.authn.pac4j.saml[0].clientName=SAML2Client

I got an error like below;

ERROR 
[org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/cas].[dispatcherServlet]]
 - <Servlet.service() for servlet [dispatcherServlet] in context with path 
[/cas] threw exception [Request processing failed; nested exception is 
org.springframework.webflow.execution.ActionExecutionException: Exception 
thrown executing 
org.apereo.cas.support.pac4j.web.flow.DelegatedClientAuthenticationAction@dbe8359
 in state 'clientAction' of flow 'login' -- action execution attributes were 
'map[[empty]]'] with root cause>
org.pac4j.core.exception.TechnicalException: No client found for name: 
SAML2Client

--

Ray Bon
Programmer Analyst
Development Services, University Systems
2507218831 | CLE 019 | r...@uvic.ca<mailto:r...@uvic.ca>

I acknowledge and respect the lək̓ʷəŋən peoples on whose traditional territory 
the university stands, and the Songhees, Esquimalt and WSÁNEĆ peoples whose 
historical relationships with the land continue to this day.

-- 
- 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/5841fbb65323c00f33353ed45bbdf3c0b8979608.camel%40uvic.ca.

Reply via email to