I am integrating SAML2.0 with CAS 5.3.8 my org.apereo.cas cas-overlay build 
got success but when i am running build.sh run command to getting server up 
facing folllowing error: 


[INFO] 
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 16.149 s (Wall Clock)
[INFO] Finished at: 2019-03-06T13:14:01+05:30
[INFO] Final Memory: 17M/399M
[INFO] 
------------------------------------------------------------------------
←[36m
   __   ____      _      ____   __
  / /  / ___|    / \    / ___|  \ \
 | |  | |       / _ \   \___ \   | |
 | |  | |___   / ___ \   ___) |  | |
 | |   \____| /_/   \_\ |____/   | |
  \_\                           /_/

CAS Version: 5.3.8
CAS Commit Id: feff3cbaa5c0f5a719fb4cf1449eaeaa29f73462
CAS Build Date/Time: 2019-03-06T07:44:00.242Z
Spring Boot Version: 1.5.18.RELEASE
Spring Version: 4.3.20.RELEASE
Java Home: C:\Program Files\Java\jre1.8.0_201
Java Vendor: Oracle Corporation
Java Version: 1.8.0_201
JVM Free Memory: 418 MB
JVM Maximum Memory: 910 MB
JVM Total Memory: 657 MB
JCE Installed: Yes
Node Version: N/A
NPM Version: N/A
OS Architecture: amd64
OS Name: Windows 7
OS Version: 6.1
OS Date/Time: 2019-03-06T13:14:23.555
OS Temp Directory: C:\Users\JKABEE~1\AppData\Local\Temp\
------------------------------------------------------------
Apache Tomcat Version: Apache Tomcat/8.5.37
------------------------------------------------------------

←[0m
2019-03-06 13:14:23,936 INFO 
[org.apereo.cas.configuration.DefaultCasConfigurationPropertiesSourceLocator] 
- <Configuration files found at [\etc\cas\config] are 
[[\etc\cas\config\cas.pr
operties]] under profile(s) [[standalone]]>
2019-03-06 13:14:23,999 INFO 
[org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration]
 
- <Located property source: CompositePropertySource [name='casCompositePro
pertySource', propertySources=[PropertiesPropertySource 
{name='applicationProfilesProperties'}, PropertiesPropertySource 
{name='embeddedYamlOverriddenProperties'}]]>
2019-03-06 13:14:34,482 WARN [org.apereo.cas.web.CasWebApplicationContext] 
- <Exception encountered during context initialization - cancelling refresh 
attempt: org.springframework.beans
.factory.BeanCreationException: Error creating bean with name 
'casBeanValidationPostProcessor' defined in class path resource 
[org/apereo/cas/config/CasCoreUtilConfiguration.class]: Bea
nPostProcessor before instantiation of bean failed; nested exception is 
org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
creating bean with name 'org.springframew
ork.transaction.annotation.ProxyTransactionManagementConfiguration': 
Unsatisfied dependency expressed through method 'setConfigurers' parameter 
0; nested exception is org.springframewor
k.beans.factory.UnsatisfiedDependencyException: Error creating bean with 
name 'casCoreTicketsConfiguration': Unsatisfied dependency expressed 
through field 'casProperties'; nested excep
tion is org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 
'cas-org.apereo.cas.configuration.CasConfigurationProperties': Could not 
bind properties t
o CasConfigurationProperties (prefix=cas, ignoreInvalidFields=false, 
ignoreUnknownFields=false, ignoreNestedProperties=false); nested exception 
is org.springframework.boot.bind.RelaxedB
indingNotWritablePropertyException: Failed to bind 
'cas.authn.pac4j.saml[0].mappedAttributes[0].mappedAs' from 
'applicationProfilesProperties' to 'authn.pac4j.saml[0].mappedAttributes[0
].mappedAs' property on 
'org.apereo.cas.configuration.model.support.pac4j.Pac4jSamlClientProperties'>



my cas.property file is :



cas.server.name: https://cas.example.org
cas.server.prefix: https://cas.example.org/cas

cas.adminPagesSecurity.ip=127\.0\.0\.1

logging.config: file:/etc/cas/config/log4j2.xml



cas.samlCore.ticketidSaml2=false
cas.samlCore.skewAllowance=5
cas.samlCore.issueLength=30
cas.samlCore.attributeNamespace=http://www.ja-sig.org/products/cas/
cas.samlCore.issuer=localhost
cas.samlCore.securityManager=org.apache.xerces.util.SecurityManager

cas.authn.samlIdp.entityId=https://cas.example.org/cas/idp
cas.authn.samlIdp.scope=example.org
cas.authn.samlIdp.authenticationContextClassMappings[0]=urn:oasis:names:tc:SAML:2.0:ac:classes:SomeClassName->mfa-duo
cas.authn.samlIdp.authenticationContextClassMappings[1]=https://refeds.org/profile/mfa->mfa-gauth

cas.authn.samlIdp.attributeQueryProfileEnabled=false
##cas.serviceRegistry.json.location=D:\CAS\cas-overlay-template-5.3\etc\cas\services
cas.serviceRegistry.json.location=D:\LogicalDOCSAML\cas-overlay-template-5.3\etc\cas\services




cas.authn.samlIdp.metadata.cacheExpirationMinutes=30
cas.authn.samlIdp.metadata.failFast=false
cas.authn.samlIdp.metadata.privateKeyAlgName=RSA
cas.authn.samlIdp.metadata.requireValidMetadata=false
cas.authn.samlIdp.metadata.location=D:/etc/cas/saml

cas.serviceRegistry.watcherEnabled=false

cas.serviceRegistry.schedule.repeatInterval=120000
cas.serviceRegistry.schedule.startDelay=15000

#Auto-initialize the registry from default JSON service definitions
cas.serviceRegistry.initFromJson=false

cas.serviceRegistry.managementType=DEFAULT|DOMAIN

cas.authn.pac4j.typedIdUsed=false
# cas.authn.pac4j.principalAttributeId=
# cas.authn.pac4j.name=

# cas.authn.samlIdp.metadata.basicAuthnUsername=
# cas.authn.samlIdp.metadata.basicAuthnPassword=
# cas.authn.samlIdp.metadata.supportedContentTypes=

##
# CAS Authentication Credentials






# cas.authn.pac4j.saml[0].keystorePassword=
# cas.authn.pac4j.saml[0].privateKeyPassword=
# cas.authn.pac4j.saml[0].keystorePath=
# cas.authn.pac4j.saml[0].keystoreAlias=

# cas.authn.pac4j.saml[0].serviceProviderEntityId=
# cas.authn.pac4j.saml[0].serviceProviderMetadataPath=

cas.authn.pac4j.saml[0].maximumAuthenticationLifetime=3600
cas.authn.pac4j.saml[0].acceptedSkew=300
cas.authn.pac4j.saml[0].destinationBinding=urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect

# Path/URL to delegated IdP metadata
# cas.authn.pac4j.saml[0].identityProviderMetadataPath=

# cas.authn.pac4j.saml[0].authnContextClassRef=
# cas.authn.pac4j.saml[0].authnContextComparisonType=
# cas.authn.pac4j.saml[0].nameIdPolicyFormat=
cas.authn.pac4j.saml[0].forceAuth=false
cas.authn.pac4j.saml[0].passive=false

# cas.authn.pac4j.saml[0].wantsAssertionsSigned=
# cas.authn.pac4j.saml[0].signServiceProviderMetadata=false
# cas.authn.pac4j.saml[0].attributeConsumingServiceIndex=
# cas.authn.pac4j.saml[0].assertionConsumerServiceIndex=-1
# cas.authn.pac4j.saml[0].principalAttributeId=

# cas.authn.pac4j.saml[0].requestedAttributes[0].name=
# cas.authn.pac4j.saml[0].requestedAttributes[0].friendlyName=
cas.authn.pac4j.saml[0].requestedAttributes[0].nameFormat=urn:oasis:names:tc:SAML:2.0:attrname-format:uri
cas.authn.pac4j.saml[0].requestedAttributes[0].required=false

cas.authn.pac4j.saml[0].mappedAttributes[0].name=urn:oid:2.5.4.42
cas.authn.pac4j.saml[0].mappedAttributes[0].mappedAs=displayName
cas.authn.pac4j.cookie.crypto.signing.key=SjMhyX5_V1Pk9hUAZBHWj0pPgINXF403L3JPCYAeSZyDRUutMJYMuqIMwKEfrP0dYWQf6V8NA8OY3WEPV7J8dQ





cas.samlSp.dropbox.metadata=D:/etc/cas/saml/dropbox.xml
cas.samlSp.dropbox.name=Dropbox
cas.samlSp.dropbox.description=Dropbox Integration
cas.samlSp.dropbox.nameIdAttribute=mail
# ${configurationKey}.nameIdFormat=
# ${configurationKey}.signatureLocation=
# ${configurationKey}.attributes=
# ${configurationKey}.entityIds=
# ${configurationKey}.signResponses=
# ${configurationKey}.signAssertions=

-- 
- 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/fd06213d-340d-4b93-becd-818bf70d1ee7%40apereo.org.

Reply via email to