All,
So, got the main portion of CAS authenticating against Active Directory without any issues. Trying to setup the Management Web Application to manage services and I’m having a great deal of trouble understanding why this isn’t working. When I access the page (example: http://localhost:8080/cas-management), I get the “Application Not Authorized” message. I have configured CAS and the CAS Management application to use a JPA Service Registry (MySQL DB). I have modified the the cas-management.properties file to point to my cas installation and my cas-management installation. I have added my user to the user-details.properties file. I have configured the managementConfigContext.xml to point to the same database configure I have setup in the cas configuration, and I see connections to the DB. I have also made sure that the JSON Service Registry portion of the cas-management.properties is commented out. I’m just not sure what I am missing from making this all work.
cas-management.properties
# CAS
cas.host=http://casserver.uco.local:8080
cas.prefix=${cas.host}/cas
cas.securityContext.casProcessingFilterEntryPoint.loginUrl=${cas.prefix}/login
# Management
cas-management.host=http://casserver.uco.local:8080
cas-management.prefix=${cas-management.host}/cas-management
cas-management.securityContext.serviceProperties.service=${cas-management.prefix}/callback
# security
cas-management.securityContext.serviceProperties.adminRoles=ROLE_ADMIN
pac4j.callback.defaultUrl=/manage.html
Ben Branch
UNIX/Linux Administrator
University of Central Oklahoma
ITIL Foundation v3, Network+, RHCE
100 N. University Drive, Box 122
Edmond, OK 73034
D: 405.974.2649 | M: 405.550.6804 | bbranch@uco.edu | www.uco.edu
“I am wiser than this man, for neither of us appears to know anything great and good; but he fancies he knows something, although he knows nothing; whereas I, as I do not know anything, so I do not fancy I do. In this trifling particular, then, I appear to be wiser than he, because I do not fancy I know what I do not know.” - Socrates