Hi there,

this is very odd, but I cannot figure this out.  I am setting up SAML and 
Delegated AuthN on CAS.

I am on CAS 6.4.6.6, it works on Linux servers, but on my Windows laptop, 
CAS starts up with this error. 

I confirmed that it is loading the right cas.properties on Windows,  as 
long as I remove the following values, it starts up just fine, but once I 
put them back, I got this error.  My cas WEB-INF/lib does 
have:  cas-server-core-api-configuration-model-6.4.6.6.jar, which 
contains: Pac4jSamlClientProperties, it looks correct to me the way I 
define cas properties below. 

how can I debug this?   for instance, how do I set ignoreInvalidFields to 
false so that I can still more?  right now, it says: 
'CasConfigurationProperties' : prefix=cas, ignoreInvalidFields=false, 
ignoreUnknownFields=true.  I cannot find anywhere that is defined. 

here is the relevant portion of cas.properties, I do Not see anything 
wrong, it works well on Linux. 

thanks in advanc!
Yan

cas.authn.saml-idp.core.entity-id=https://localhost:8443/idp
cas.authn.saml-idp.metadata.fileSystem.location=file:///C:/apereocas66x/config/idpmetadata
#
###cas.authn.pac4j.core.discovery-selection.selection-type=DYNAMIC

cas.authn.pac4j.saml[0].keystorePath=file:///C:/apereocas66x/config/casas-samlsp/samlkeystore
cas.authn.pac4j.saml[0].keystorePassword=changeit
cas.authn.pac4j.saml[0].keystoreAlias=cas-samlsp
cas.authn.pac4j.saml[0].privateKeyPassword=changeit
cas.authn.pac4j.saml[0].serviceProviderEntityId=https://localhost:8443/cas/samlsp
cas.authn.pac4j.saml[0].clientName=Okta
cas.authn.pac4j.saml[0].forceAuth=false
cas.authn.pac4j.saml[0].passive=false
cas.authn.pac4j.saml[0].maximumAuthenticationLifetime=3600
cas.authn.pac4j.saml[0].serviceProviderMetadataPath=file:///C:/apereocas66x/config/casas-samlsp/sp-metadata.xml
cas.authn.pac4j.saml[0].identityProviderMetadataPath=https://dev-1xxxxxx8.okta.com/app/exxxxxxxxx7/sso/saml/metadata
cas.authn.pac4j.saml[0].useNameQualifier=false
#####cas.authn.pac4j.saml[0].autoRedirectType=CLIENT
cas.authn.pac4j.saml[0].signAuthnRequest=true
cas.authn.pac4j.saml[0].signServiceProviderLogoutRequest=true


***************************
APPLICATION FAILED TO START
***************************

Description:

Failed to bind properties under 'cas.authn.pac4j.saml[0]' to 
org.apereo.cas.configuration.model.support.pac4j.saml.Pac4jSamlClientProperties:

    Property: cas.authn.pac4j.saml[0].force-auth
    Value: false
    Origin: "cas.authn.pac4j.saml[0].force-auth" from property source 
"bootstrapProperties-applicationProfilesCompositeProperties"
    Reason: java.io.IOException: The system cannot find the path specified

Action:

Update your application's configuration
>

-- 
- 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/04384dc9-b8fd-4152-b96a-e69220ffc464n%40apereo.org.

Reply via email to