CAS 4.2.3 Release Announcement

103 views
Skip to first unread message

Misagh Moayyed

unread,
Jun 27, 2016, 1:04:50 AM6/27/16
to CAS Community, CAS Developer, cas-an...@apereo.org

CAS Community,

 

CAS version 4.2.3 [1] has been released and should shortly find its way into central repositories, if not already. We encourage you to deploy this release into your own CAS maven overlay environment and provide feedback. Upgrading from a 4.2.x deployment should be painless.

 

Misagh

 

[1] https://github.com/Jasig/cas/releases/tag/v4.2.3

 

wil.i.am

unread,
Jun 27, 2016, 12:47:24 PM6/27/16
to CAS Developer, cas-...@apereo.org, cas-an...@apereo.org, mmoa...@unicon.net
Is anyone else running into the issue where org.apache.shiro:shiro-core:1.2.5 has an invalid encoding of UTF8 (which should be UTF-8)?

wil.i.am

unread,
Jun 27, 2016, 12:48:16 PM6/27/16
to CAS Developer, cas-...@apereo.org, cas-an...@apereo.org, mmoa...@unicon.net
CAS 4.2.3 uses Apache Shiro 1.2.5.

Is anyone else running into the issue where org.apache.shiro:shiro-core:1.2.5 has an invalid encoding of UTF8 (which should be UTF-8)?

On Monday, June 27, 2016 at 1:04:49 AM UTC-4, Misagh Moayyed wrote:

William

unread,
Jul 5, 2016, 9:02:25 AM7/5/16
to CAS Community, cas...@apereo.org, cas-an...@apereo.org, mmoa...@unicon.net
Has anyone tried CAS 4.2.3 and ran into the invalid UTF8 encoding for Apache Shiro 1.2.5?  Am I the only person that has ran into this?

siim.r...@gmail.com

unread,
Jul 6, 2016, 6:33:48 AM7/6/16
to jasig-cas-user, cas-...@apereo.org, cas...@apereo.org, cas-an...@apereo.org, mmoa...@unicon.net
Hmm... after upgrading to 4.2.3 authentication process succeeds, but no tickets (TGT or ST) aren't created. I don't get any error messages also... I'am using JPA registries.


Siim
--
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 post to this group, send email to cas-...@apereo.org.
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/003201d1d031%246c319a20%244494ce60%24%40unicon.net.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

William

unread,
Jul 6, 2016, 6:43:28 AM7/6/16
to CAS Community, jasig-c...@googlegroups.com, cas...@apereo.org, cas-an...@apereo.org, mmoa...@unicon.net
That's strange because I can see the cas-server-core is pointing to org.apache.shiro:shiro-core:1.2.5 which has an invalid encoding:

siim.r...@gmail.com

unread,
Jul 6, 2016, 7:22:53 AM7/6/16
to jasig-cas-user, cas-...@apereo.org, cas...@apereo.org, cas-an...@apereo.org, mmoa...@unicon.net
It's a bug. If using jpaServiceRegistryDao then whole ticket generation process fails. I upgraded my previous issue, by adding jpaServiceRegistryDao. (https://github.com/siim-romanov/cas-issues/commit/704618c188b1e9319d63b67bfc3bec0286ff72df )

If using it with 4.2.2 loggin succeeds and tickets will be created, but not with version 4.2.3. It works with jsonServiceRegistry.




esmaspäev, 27. juuni 2016 8:04.48 UTC+3 kirjutas Misagh Moayyed:
--

siim.r...@gmail.com

unread,
Jul 6, 2016, 7:27:52 AM7/6/16
to jasig-cas-user, cas-...@apereo.org, cas...@apereo.org, cas-an...@apereo.org, mmoa...@unicon.net
It's seems to be a bug. If using jpaServiceRegistryDao then whole ticket generation process fails. I upgraded my previous issue, by adding jpaServiceRegistryDao. (https://github.com/siim-romanov/cas-issues/commit/704618c188b1e9319d63b67bfc3bec0286ff72df )


If using it with 4.2.2 loggin succeeds and tickets will be created, but not with version 4.2.3. It works with jsonServiceRegistry.

siim.r...@gmail.com

unread,
Jul 6, 2016, 10:46:18 AM7/6/16
to jasig-cas-user, cas-...@apereo.org, cas...@apereo.org, cas-an...@apereo.org, mmoa...@unicon.net
So I turned DEBUG on found that the problem is transaction manager. If user uses both cas-server-support-jpa-ticket-registry and cas-server-support-jpa-service-registry then there will be created two transaction managers.
Because of that spring throws org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type [org.springframework.transaction.PlatformTransactionManager] is defined: expected single matching bean but found 2:

Should I open new issue on github?

Dmitriy Kopylenko

unread,
Jul 6, 2016, 10:51:37 AM7/6/16
to siim.r...@gmail.com, jasig-cas-user, CAS Community, cas...@apereo.org, cas-an...@apereo.org, Misagh Moayyed
It’s been fixed in the master and should be available in 4.2.4: https://github.com/apereo/cas/issues/1866

Cheers,
D.

Reply all
Reply to author
Forward
0 new messages