=============================================================
WHO: scott
WHAT: AbstractRegisteredService(serviceId=https://example.org/auth, name=Example, theme=null, informationUrl=null, privacyUrl=null, responseType=null, id=1529453303797, description=null, expirationPolicy=DefaultRegisteredServiceExpirationPolicy(deleteWhenExpired=false, notifyWhenDeleted=false, expirationDate=null), proxyPolicy=org.apereo.cas.services.RefuseRegisteredServiceProxyPolicy@1, evaluationOrder=3, usernameAttributeProvider=org.apereo.cas.services.DefaultRegisteredServiceUsernameProvider@87297e2, logoutType=BACK_CHANNEL, requiredHandlers=[], attributeReleasePolicy=ReturnAllowedAttributeReleasePolicy(super=AbstractRegisteredServiceAttributeReleasePolicy(attributeFilter=null, principalAttributesRepository=DefaultPrincipalAttributesRepository(), consentPolicy=DefaultRegisteredServiceConsentPolicy(enabled=true, excludedAttributes=null, includeOnlyAttributes=null), authorizedToReleaseCredentialPassword=false, authorizedToReleaseProxyGrantingTicket=false, excludeDefaultAttributes=false, authorizedToReleaseAuthenticationAttributes=true, principalIdAttribute=null), allowedAttributes=[]), multifactorPolicy=DefaultRegisteredServiceMultifactorPolicy(multifactorAuthenticationProviders=[], failureMode=NOT_SET, principalAttributeNameTrigger=null, principalAttributeValueToMatch=null, bypassEnabled=false), logo=null, logoutUrl=null, accessStrategy=DefaultRegisteredServiceAccessStrategy(order=0, enabled=true, ssoEnabled=true, unauthorizedRedirectUrl=null, delegatedAuthenticationPolicy=DefaultRegisteredServiceDelegatedAuthenticationPolicy(allowedProviders=[]), requireAllAttributes=true, requiredAttributes={}, rejectedAttributes={}, caseInsensitive=false), publicKey=null, properties={}, contacts=[])
ACTION: SAVE_SERVICE_FAILED
APPLICATION: CAS_Management
WHEN: Wed Jun 20 10:08:23 AEST 2018
CLIENT IP ADDRESS: 192.168.37.1
SERVER IP ADDRESS: 192.168.14.141
=============================================================
2018-06-20 10:08:23,998 ERROR [org.apereo.cas.mgmt.services.web.AbstractManagementController] - Failed to convert from type [java.lang.String] to type [java.time.ZonedDateTime] for value 'https://example.org/auth'; nested exception is java.time.format.DateTimeParseException: Text 'https://example.org/auth' could not be parsed at index 0
org.springframework.core.convert.ConversionFailedException: Failed to convert from type [java.lang.String] to type [java.time.ZonedDateTime] for value 'https://example.org/auth'; nested exception is java.time.format.DateTimeParseException: Text 'https://example.org/auth' could not be parsed at index 0
at org.springframework.core.convert.support.ConversionUtils.invokeConverter(ConversionUtils.java:43) ~[spring-core-4.3.17.RELEASE.jar:4.3.17.RELEASE]
at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:203) ~[spring-core-4.3.17.RELEASE.jar:4.3.17.RELEASE]
at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:187) ~[spring-core-4.3.17.RELEASE.jar:4.3.17.RELEASE]
<dependencies>
...
<dependency>
<groupId>org.apereo.cas</groupId>
<artifactId>cas-server-support-mongo-service-registry</artifactId>
<version>${cas.version}</version>
</dependency>
...
</dependencies>
<properties>
<cas.version>5.3.0-RC4</cas.version>
<springboot.version>1.5.13.RELEASE</springboot.version>
...
</properties>
##################################################################
# CAS SERVICE REGISTRY
cas.serviceRegistry.mongo.clientUri=mongodb://cas:somePa...@alpha.example.org:27017,beta.example.org:27017/cas-database?replicaSet=rsExample&ssl=true&readPreference=primary
cas.serviceRegistry.mongo.databaseName=cas-database
cas.serviceRegistry.mongo.idleTimeout=30000
cas.serviceRegistry.mongo.dropCollection=false
cas.serviceRegistry.mongo.socketKeepAlive=false
cas.serviceRegistry.mongo.collection=casServiceRegistry
cas.serviceRegistry.mongo.timeout=5000
cas.serviceRegistry.mongo.writeConcern=NORMAL
cas.serviceRegistry.mongo.conns.lifetime=60000
cas.serviceRegistry.mongo.conns.perHost=10
cas.serviceRegistry.initFromJson=false
{
"_id" : NumberLong(10000002),
"_class" : "org.apereo.cas.services.RegexRegisteredService",
"serviceId" : "^https://www.apereo.org",
"name" : "Apereo",
...
}
{
"_id" : NumberLong(10000001),
"_class" : "org.apereo.cas.services.RegexRegisteredService",
"serviceId" : "^(https|imaps)://.*",
"name" : "HTTPS and IMAPS",
"description" : "This service definition authorizes all application urls that support HTTPS and IMAPS protocols.",
...
}
--
- 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+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/9a5c60b4-6019-4fa4-9e8e-107bc7d1b224%40apereo.org.
##
#CAS MongoDB Configuration for Services
#
mongo.db=sso
mongo.rs=casdb
mongo.opts=&ssl=false
mongo.creds=****:****
mongo.hosts=****.**.***.corp
mongo.port=8100
#
# The connection string, assembled
#
mongo.uri=mongodb://${mongo.creds}@${mongo.hosts}:${mongo.port}/${mongo.db}?replicaSet=${mongo.rs}${mongo.opts}
#
# Service registry
#
cas.serviceRegistry.mongo.clientUri=${mongo.uri}
cas.serviceRegistry.mongo.collection=casServiceRegistry
{"_id":10000001,"_class":"org.apereo.cas.services.RegexRegisteredService","serviceId":"^(https|imaps)://.*","name":"HTTPS and IMAPS",
"description":"This service definition authorized all application urls that support HTTPS and IMAPS protocols.","proxyPolicy":{"_class":"org.apereo.cas.services.RefuseRegisteredServiceProxyPolicy"},
"evaluationOrder":10000,"usernameAttributeProvider":{"_class":"org.apereo.cas.services.DefaultRegisteredServiceUsernameProvider"},"logoutType":"BACK_CHANNEL",
"attributeReleasePolicy":{"_class":"org.apereo.cas.services.ReturnAllowedAttributeReleasePolicy","principalAttributesRepository":{"_class":"org.apereo.cas.authentication.principal.DefaultPrincipalAttributesRepository"},
"authorizedToReleaseCredentialPassword":false,"authorizedToReleaseProxyGrantingTicket":false},"accessStrategy":{"_class":"org.apereo.cas.services.DefaultRegisteredServiceAccessStrategy","enabled":true,"ssoEnabled":true},
"logo":"images/logo_cas.png"}