CAS Management 6.1. RC4 minor issues

45 views
Skip to first unread message

Mallory, Erik

unread,
Jun 14, 2019, 2:21:40 PM6/14/19
to 'Mallory, Erik' via CAS Community

Hello,

Just a few things I’ve noticed Under Logout there is a field labeled Logout URL it will not accept a hyphen (-)  I figure this is some sort of a bug.

Steps to produce error

Create or Edit Service

Click on Logout

Click on Logout URL

Input a  URL with a hyphen

Also putting a hyphen in the service name produces the following warning in the logs

2019-06-14 12:18:32,935 WARN [org.apereo.cas.services.resource.AbstractResourceBasedServiceRegistry] - [banapp-appdev-1560531595119.json] does not match the recommended pattern [(\w+)-(\d+)\.json]. While CAS tries to be forgiving as much as possible, it's recommended that you rename the file to match the requested pattern to avoid issues with duplicate service loading. Future CAS versions may try to strictly force the naming syntax, refusing to load the file.

 

Perhaps it would be better to not allow hyphenated names for services?

 

Thanks

Erik Mallory

Server Analyst 

Wichita State University

 

Ray Bon

unread,
Jun 14, 2019, 3:52:56 PM6/14/19
to cas-...@apereo.org
Erik,

Your regex is word characters followed by a '-' and then some digits. The file name has two '-'.
Get rid of the first one or use an '_'.

'-' are not word characters.

Ray
-- 
Ray Bon
Programmer Analyst
Development Services, University Systems

I respectfully acknowledge that my place of work is located within the ancestral, traditional and unceded territory of the Songhees, Esquimalt and WSÁNEĆ Nations.
Reply all
Reply to author
Forward
0 new messages