With respect to the remember issue; does it work if you do not close the 
browser?
There are settings, cas.tgc.maxAge and cas.tgc.rememberMeMaxAge, to tune cookie 
behaviour.
You may also investigate your browser settings, perhaps it is removing the TGC 
on browser close.

Ray

On Wed, 2017-11-08 at 19:49 -0800, casuser wrote:
every time I logged in it says you,nobody has successfully logged into CAS. and 
in the catalina.log the error shows that :

java.lang.IllegalArgumentException: 
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized 
field "canonicalizationMode" (class 
org.apereo.cas.services.DefaultRegisteredServiceUsernameProvider), not marked 
as ignorable (0 known properties: ]) at [Source: 
{"@class":"org.apereo.cas.services.RegexRegisteredService","serviceId":"^https://www.apereo.org","name":"Apereo","theme":"apereo","id":10000002,"description":"Apereo
 foundation sample 
service","proxyPolicy":{"@class":"org.apereo.cas.services.RefuseRegisteredServiceProxyPolicy"},"evaluationOrder":1,"usernameAttributeProvider":{"@class":"org.apereo.cas.services.DefaultRegisteredServiceUsernameProvider","canonicalizationMode":"NONE","encryptUsername":false},"attributeReleasePolicy":{"@class":"org.apereo.cas.services.ReturnAllowedAttributeReleasePolicy","principalAttributesRepository":{"@class":"org.apereo.cas.authentication.principal.DefaultPrincipalAttributesRepository","expiration":2,"timeUnit":"HOURS"},"authorizedToReleaseCredentialPassword":false,"authorizedToReleaseProxyGrantingTicket":false,"excludeDefaultAttributes":false},"multifactorPolicy":{"@class":"org.apereo.cas.services.DefaultRegisteredServiceMultifactorPolicy","failureMode":"CLOSED","bypassEnabled":false},"accessStrategy":{"@class":"org.apereo.cas.services.DefaultRegisteredServiceAccessStrategy","enabled":true,"ssoEnabled":true,"requireAllAttributes":true,"caseInsensitive":false}};
 line: 1, column: 429] (through reference chain: 
org.apereo.cas.services.RegexRegisteredService["usernameAttributeProvider"]->org.apereo.cas.services.DefaultRegisteredServiceUsernameProvider["canonicalizationMode"])
 at 
org.apereo.cas.util.serialization.AbstractJacksonBackedStringSerializer.from(AbstractJacksonBackedStringSerializer.java:122)
 ~[cas-server-core-util-5.0.3.1.jar:5.0.3.1] at 
org.apereo.cas.services.AbstractResourceBasedServiceRegistryDao.load(AbstractResourceBasedServiceRegistryDao.java:211)
 ~[cas-server-core-services-5.0.3.1.jar:5.0.3.1] at 
org.apereo.cas.services.AbstractResourceBasedServiceRegistryDao.lambda$load$1(AbstractResourceBasedServiceRegistryDao.java:163)
 ~[cas-server-core-services-5.0.3.1.jar:5.0.3.1] at 
java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) 
~[?:1.8.0_151] at 
java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) 
~[?:1.8.0_151] at 
java.util.LinkedList$LLSpliterator.forEachRemaining(LinkedList.java:1235) 
~[?:1.8.0_151] at 
java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) 
~[?:1.8.0_151] at 
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) 
~[?:1.8.0_151] at 
java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) 
~[?:1.8.0_151] at 
java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
 ~[?:1.8.0_151] at 
java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) 
~[?:1.8.0_151] at 
java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) 
~[?:1.8.0_151] at 
org.apereo.cas.services.AbstractResourceBasedServiceRegistryDao.load(AbstractResourceBasedServiceRegistryDao.java:162)
 ~[cas-server-core-services-5.0.3.1.jar:5.0.3.1]


I am trying to add remember me is well I have added this
cas.ticket.tgt.rememberMe.enabled=true
cas.ticket.tgt.rememberMe.timeToKillInSeconds=28800

in the cas.properties and used the loginform remember me check box in the html 
but it is not working after closing the browser

--
Ray Bon
Programmer analyst
Development Services, University Systems
2507218831 | CLE 019 | [email protected]

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

Reply via email to