CAS documentation is absolutely "awsome"...

user-details.properties
+37200000766=notused,ROLE_ADMIN        -> make sure that +37200000766 is
principal!!!!!!


application.properties   -> make sure management picks it up
# Management
cas-management.host=http://....
cas-management.prefix=${cas-management.host}/cas-management
cas-management.securityContext.serviceProperties.service=${cas-management.prefix}/callback
cas-management.securityContext.serviceProperties.adminRoles=ROLE_ADMIN
pac4j.callback.defaultUrl=/manage.html
cas-management.viewResolver.basename=default_views

#this part I'm still debugging and trying to understand, which details file
loc. path is correct and why it only works when I set adminRoles NULL
cas.mgmt.adminRoles=
user.details.file.location = file:/opt/tomcat/CAS/user-details.properties
cas.mgmt.userPropertiesFile=file:/opt/tomcat/CAS/user-details.properties

Will give update after getting my results from debugging. But this allows
currently to log in to management.



On Thu, Sep 21, 2017 at 10:08 AM, Edward <[email protected]> wrote:

> Hi Bob
> i am exactly at same point as you now.
> just finish buid and deploy both cas server & cas-management server.
>
> i also able to configure cas-server authentication to connect to DBMS
> instead of using static user casuser/Mellon
> way to do it is just follow this tutorial:
> https://apereo.github.io/2017/02/22/cas51-dbauthn-tutorial/
>
> and to install HSQLDB can follow this:
> https://www.tutorialspoint.com/hsqldb/hsqldb_installation.htm
>
> now i am able to login to cas-server using the username & password i
> create in database.
> but i cant access cas-management, as i always get this error;
> Access Denied
> You are not authorized to access this resource. Contact your CAS
> administrator for more info.
>
> looks like cas-management no more read from the static user.properties.
> do you have the solution for this?
>
> On Thursday, 17 August 2017 23:47:00 UTC+8, Bob Dill wrote:
>>
>> Hi Satheesh,
>>
>> I can send you my notes on how I installed CAS and got it working. I'm
>> still struggling with the configuration now, but I thought that since we
>> are both newbies we could both benefit from some collaboration. Let me know
>> if you are interested. In the meantime, here's an easy way to get started.
>>
>> 1. Download the master WAR overlay project from:
>> https://github.com/apereo/cas-overlay-template/archive/master.zip
>> 2. Unzip it, and run build.sh (in Linux) or build.cmd (in Windows). If
>> you lack elevated privileges, the build will succeed, but you will notice
>> some errors indicating that some files could not be copied. On Linux (I
>> don't know about windows), as root, go to /etc and run 'mkdir -P
>> cas/config'. This will make the cas config directory. Then, from the
>> directory where you ran the build script copy, there will be an
>> etc/cas/config directory. Copy the files in there (as root) to the
>> directory you just created with mkdir. You no longer need to worry about
>> the errors at the end of the build script.
>> 3. Finally, deploy the cas.war file. The easiest way to do that is if you
>> already have a tomcat installation set up for SSL (let me know if you need
>> help with SSL too), simply copy the cas.war file to the webapps directory
>> in your tomcat configuration. This will automatically deploy your cas
>> application. Now, you can visit https://<your FQDN>:<your tomcat app
>> port>/cas, and you will see the page.
>>
>> This will get you to the point I'm at right now.
>>
>> I hope this helps.
>>
>> ~ Bob
>>
>> On Monday, August 14, 2017 at 4:26:45 AM UTC-5, satheesh k wrote:
>>>
>>> HI All,
>>>
>>> We are implementing CAS 5.1.2 in our projct. I need to set up SSO with
>>> our application using CAS. I have read the documentation at
>>> https://apereo.github.io/cas/5.1.x/planning/Installation-Req
>>> uirements.html
>>> .We stuck on the implementation of CAS 5.1.2 in our project. Is there a
>>> step-by-step guide that will teach me how to perform these basic steps?
>>>
>>> Thanks,
>>> Satheesh. K
>>>
>> --
> - 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/66b8d6c2-40bb-426f-9be6-
> 23f1b89147f9%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/66b8d6c2-40bb-426f-9be6-23f1b89147f9%40apereo.org?utm_medium=email&utm_source=footer>
> .
>

-- 
- 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/CABEArctzLwE5TSP2VWygY6q9R-7SFAdjFB4AbcYoucSM3792Mg%40mail.gmail.com.

Reply via email to