[cas-user] (Ask) CAS 5.2 Basic Installation Step by Step

2018-05-17 Thread Fahmi L. Ramdhani
Hello, I started a cas installation through https://github.com/apereo/cas-overlay-template. After that I confused how the next configuration. I have read the CAS documentation, but I do not understand that. Please help him to the authentication process succeed. How can I set up service and

[cas-user] Re: (Ask) CAS 5.2 Basic Installation Step by Step

2018-05-17 Thread Fahmi L. Ramdhani
XmVvcCQAJ > > or > https://groups.google.com/a/apereo.org/forum/#!searchin/cas-user/CAS$20documentation$20for$20a$20new$20user$20is$20terrible/cas-user/BwI6_qU612c/sPx1lAaQBgAJ > > > > > On Thursday, May 17, 2018 at 8:23:23 AM UTC-6, Fahmi L. Ramdhani wrote: &

[cas-user] Re: (Ask) CAS 5.2 Basic Installation Step by Step

2018-05-22 Thread Fahmi L. Ramdhani
Okay. I will try again and will share the results on this topic. Thank you. -- - 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

[cas-user] Re: (Ask) CAS 5.2 Basic Installation Step by Step

2018-05-22 Thread Fahmi L. Ramdhani
Hello, After I tried the guide from https://dacurry-tns.github.io/deploying-apereo-cas, overall setup no problem. My virtual address at https://cas.example.org:8443/cas/login # cd mycas # ./mvnw clean package # sudo sh ./cassrv-tarball.sh (result is success) # sudo sh ./cassrv-install.sh

Re: [cas-user] Re: (Ask) CAS 5.2 Basic Installation Step by Step

2018-05-22 Thread Fahmi L. Ramdhani
gt; David A. Curry, CISSP > Director of Information Security > The New School - Information Technology > 71 Fifth Ave., 9th Fl. ~ New York, NY 10003 > +1 212 229-5300 x4728 ~ david...@newschool.edu > Sent from my phone; please excuse typos and inane auto-corrections. > >

Re: [cas-user] Re: (Ask) CAS 5.2 Basic Installation Step by Step

2018-05-22 Thread Fahmi L. Ramdhani
newschool.edu > Sent from my phone; please excuse typos and inane auto-corrections. > > > On Tue, May 22, 2018, 18:28 Fahmi L. Ramdhani <fahmilestianramdhani@gmail. > com> wrote: > >> Hello, >> >> After I tried the guide from https://dacurry-tns.github.i

[cas-user] Re: (Ask) CAS 5.2 Basic Installation Step by Step

2018-05-23 Thread Fahmi L. Ramdhani
In addition to the above guides, is there a specific guide for deploying CAS 5.x Ubuntu Server 16.04? -- - 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

[cas-user] Re: (Ask) CAS 5.2 Basic Installation Step by Step

2018-05-23 Thread Fahmi L. Ramdhani
Yes, I am currently following the guidelines written by David carefully, so that all components work properly. I will describe here when it is done. Thanks. -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 -

[cas-user] Re: (Ask) CAS 5.2 Basic Installation Step by Step

2018-05-23 Thread Fahmi L. Ramdhani
Yes, I am currently following the guide written by David. I need to be careful that all components work properly. I will describe here when it is done. Thanks. -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 -

[cas-user] Re: Unable to Retrieve CAS User Attributes (CAS 5.3.x)

2018-10-11 Thread Fahmi L. Ramdhani
Hi, Continued with attribute problems. *cas.properties* cas.authn.attributeRepository.jdbc[0].sql = SELECT * FROM user_attributes WHERE {$ cas.authn.attributeRepository.jdbc[0].healthQuery = SELECT 1 cas.authn.attributeRepository.jdbc[0].driverClass = com.mysql.jdbc.Driver

[cas-user] JDBC User Attributes Table Relation

2018-10-12 Thread Fahmi L. Ramdhani
Hi, I use JDBC as database authentication. I want to retrieve user attributes based on ID (int, not uid login ex: u...@example.com), after logging in with u...@example.com, I hope CAS takes the user id (int). With the following relationships: *users (table)* - id (PK, int) - email -

[cas-user] Re: Unable to Retrieve CAS User Attributes (CAS 5.3.x)

2018-10-11 Thread Fahmi L. Ramdhani
my *cas.properties*: ## Database Authentication ## cas.authn.accept.users= cas.authn.jdbc.query[0].sql = SELECT * FROM users WHERE email=? cas.authn.jdbc.query[0].healthQuery = SELECT 1 cas.authn.jdbc.query[0].driverClass =

[cas-user] Re: Unable to Retrieve CAS User Attributes (CAS 5.3.x)

2018-10-01 Thread Fahmi L. Ramdhani
Thanks dhawes, I have a little trouble about this, even though it should be able to. I configure it according to the documentation about attributes. Below are logs from mod_auth_cas: [Tue Oct 02 05:03:25.025216 2018] [:debug] [pid 21981] mod_auth_cas.c(1753): [client 32.254.11.127:65177]

[cas-user] Re: Unable to Retrieve CAS User Attributes (CAS 5.3.x)

2018-10-01 Thread Fahmi L. Ramdhani
I use the mysql database. The point is that the attributes in the database are displayed. Or do I have to use SAML? -- - 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

[cas-user] Unable to Retrieve CAS User Attributes (CAS 5.3.x)

2018-10-01 Thread Fahmi L. Ramdhani
Hi, I'am unable to retrieves CAS User Attributes using mod_auth_cas. Below is my configuration: *100-domain.com.conf* ServerName domain.com ServerAlias www.domain.com ServerAdmin ad...@domain.com DocumentRoot /home/user/www/sites/domain.com

[cas-user] Re: Unauthorized After Login

2018-09-23 Thread Fahmi L. Ramdhani
*/var/log/apache2/error.log* [Sun Sep 23 06:19:08.233925 2018] [mpm_prefork:notice] [pid 10058] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations [Sun Sep 23 06:19:08.233996 2018] [core:notice] [pid 10058] AH00094: Command line: '/usr/sbin/apache2' [Sun Sep

[cas-user] Re: Unauthorized After Login

2018-09-23 Thread Fahmi L. Ramdhani
*/var/log/apache2/error.log* [Sun Sep 23 06:19:08.233925 2018] [mpm_prefork:notice] [pid 10058] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations [Sun Sep 23 06:19:08.233996 2018] [core:notice] [pid 10058] AH00094: Command line: '/usr/sbin/apache2' [Sun

[cas-user] Re: Unauthorized After Login

2018-09-24 Thread Fahmi L. Ramdhani
I don't know why wp-content is loaded, even though the web content is only index.php. There is no link that points to the wp-content. The following is apache web settings: ServerName cas.domain.com ServerAdmin ad...@domain.com

Re: [cas-user] Re: Unauthorized After Login

2018-09-24 Thread Fahmi L. Ramdhani
I don't know why wp-content is loaded, even though the web content is only index.php. There is no link that points to the wp-content. The following is apache web settings: ServerName cas.domain.com ServerAdmin ad...@domain.com

[cas-user] Re: Unauthorized After Login

2018-09-24 Thread Fahmi L. Ramdhani
It's disguised. Please try the actual url. Server: https://cas.sentrasoft.com:8443/cas/login Client: https://cas.sentrasoft.com/index.php Please help me if anyone can provide a solution. -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List

[cas-user] Re: How to Remove Port: https://login.domain.com:8443/cas to https://login.domain.com

2018-09-26 Thread Fahmi L. Ramdhani
Thanks Curtis, the problem is resolved in the site configuration (nginx). -- - 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

[cas-user] Applying Custom Theme CAS 5.3.x

2018-09-26 Thread Fahmi L. Ramdhani
Hi, I tried to customize the display based on the guidelines from https://apereo.github.io/cas/5.3.x/installation/Configuration-Properties.html#views with the theme "*skeleton*" name stored in: *(workspace)* /opt/cas/workspace/cas-overlay-template etc/cas/config/skeleton_in_ID.properties ->

[cas-user] Re: Applying Custom Theme CAS 5.3.x

2018-09-26 Thread Fahmi L. Ramdhani
In etc/cas/config/cas.properties: cas.theme.paramName: theme cas.theme.defaultThemeName: skeleton spring.thymeleaf.cache=false cas.view.templatePrefixes[0]: file:///etc/cas/templates cas.messageBundle.baseNames=classpath:/skeleton_in_ID.properties,classpath: messages Help me on this issue.

[cas-user] How to Remove Port: https://login.domain.com:8443/cas to https://login.domain.com

2018-09-25 Thread Fahmi L. Ramdhani
Hello, how to remove ports (to 443) while i use NGINX too. I want to like *https://login.domain.com/*. Following cas configuration: *etc/cas/config/cas.properties:* cas.server.name: https://login.domain.com:8443 cas.server.prefix: ${cas.server.name}/cas *nginx/sites-available/login.domain.com*

[cas-user] Re: Unauthorized After Login

2018-09-25 Thread Fahmi L. Ramdhani
Hi all, It is resolved. casuser# mkdir /opt/tomcat/keystore casuser# openssl pkcs12 -export -in /etc/letsencrypt/live/cas.domain.com/fullchain.pem -inkey /etc/letsencrypt/live/cas.domain.com/privkey.pem -out /opt/tomcat/keystore/cas.domain.com.p12 -password pass:changeit casuser# keytool

Re: [cas-user] Unauthorized After Login

2018-09-23 Thread Fahmi L. Ramdhani
Thank you for the reply. There seems to be no influence after I try it. I creating a certificate from openssl then signed by Let's Encrypt. I took several steps to convert the certificate to * .jks (keystore.jks). I tried the above solution by adding *CASCertificatePath* to the

[cas-user] Re: Unauthorized After Login

2018-09-23 Thread Fahmi L. Ramdhani
I forgot to tell. I am logged in using the static cas user that is user: *casuser* and password: *Mellon*. Is there a problem from that? -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions:

[cas-user] Unauthorized After Login

2018-09-23 Thread Fahmi L. Ramdhani
Hello, all. I tried to build CAS server based on the guidelines from https://dacurry-tns.github.io/deploying-apereo-cas. In the trial phase my client application gets a problem: > *Unauthorized*This server could not verify that you are authorized to > access the document requested. Either you

[cas-user] Re: Applying Custom Theme CAS 5.3.x

2018-09-27 Thread Fahmi L. Ramdhani
This customization is based on the link https://groups.google.com/a/apereo.org/forum/#!searchin/cas-user/themes/cas-user/k-yfoou7Zy0/BXry1PxgFAAJ. The directory structure is the same as the example you provided. But after rebuilding and try new theme, there is an error message: 2018-09-26

[cas-user] Re: Applying Custom Theme CAS 5.3.x

2018-09-28 Thread Fahmi L. Ramdhani
Thanks Doug and all. My files and directories structure is: */opt/workspace/cas-overlay* - build.cmd - build.sh - *[etc]* - [cas] - [config] - cas.properties - log42j.xml - *skeleton_in_ID.properties* - *skeleton.properties*

[cas-user] Re: Applying Custom Theme CAS 5.3.x

2018-09-28 Thread Fahmi L. Ramdhani
Thank you David. The problem is solved by *creating the src/main/resources* directory and *moving the template files*. Thank you very much to all. -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions:

[cas-user] Re: CAS Management Services JPA Registry (Success, but Unable to Save to MySQL Database)

2019-03-20 Thread Fahmi L. Ramdhani
Sorry, i am forget attachment. Strange, I added a service in service management, saved. But there is no database. But in service management appear. Where is the new service stored? -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines:

Re: [cas-user] Re: CAS Management Services JPA Registry (Success, but Unable to Save to MySQL Database)

2019-03-20 Thread Fahmi L. Ramdhani
Hello Ray, thank for your reply. I changed the configuration: - Adding cas.jdbc.showSql=true to cas.properties and management.properties - Adding healthQuery to cas.properties and management.properties - Change ddlAuto to update - Rebuilding project cas and management Log showing (*cas.log*)

[cas-user] Re: How to Remove Port 8443 when login to CAS Service Managament

2019-03-24 Thread Fahmi L. Ramdhani
Can anyone help? Pada Jumat, 22 Maret 2019 15.53.55 UTC+7, Fahmi L. Ramdhani menulis: > > Hello, > > I am try to visit CAS Service Management in > https://sso.example.com/cas-management. Site redirected to > https://sso.example.com/cas/login?service=*https://sso.example.

[cas-user] CAS Management - Collection of Attributes in Attribute Release Policy

2019-04-05 Thread Fahmi L. Ramdhani
Hello, How to configure the attribute list in the Attribute Release Policy (Return Allowed) in CAS Management? There only displays *uid, eppn *and *givenName*. While the attributes available in the database are *uid, email, username, nip, phone *and others. I want to display the array list

Re: [cas-user] CAS Management - Collection of Attributes in Attribute Release Policy

2019-04-05 Thread Fahmi L. Ramdhani
seem to be documented any longer. > > -- > DAVID A. CURRY, CISSP > DIRECTOR OF INFORMATION SECURITY > THE NEW SCHOOL • INFORMATION TECHNOLOGY > 71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003 > +1 212 229-5300 x4728 • david.cu...@newschool.edu > > >> On Fri, Apr 5, 2019 at

[cas-user] How to use REST Attribute Release Policy (Return Restful)?

2019-04-05 Thread Fahmi L. Ramdhani
Hello, How to use REST Attribute Release Policy? REST Endpoint filled with? I tried to do something stupid, I route (on my website) to give a JSON 200 response with a response: *https://try.example.com/json-output* respon { "@class" : "org.apereo.cas.services.RegexRegisteredService",

[cas-user] Re: CAS Management - Collection of Attributes in Attribute Release Policy

2019-04-05 Thread Fahmi L. Ramdhani
I hope CAS Management can take attributes based on existing attributes (*attribute key*). Thank David! Pada Jumat, 05 April 2019 15.01.42 UTC+7, Fahmi L. Ramdhani menulis: > > Hello, > > How to configure the attribute list in the Attribute Release Policy > (Return Allowed) in

[cas-user] Help CAS Management Error (CAS Server returned 502 status code from endpoint https://cas.example.com/cas/status/discovery. Using default FormData values)

2019-04-06 Thread Fahmi L. Ramdhani
Hello, Anyone, please help me to solve the Attribute problem in CAS Management. I want the dropdown to list the available attributes (dynamically) based on the attribute repository (JDBC), the dropdown in CAS Management service settings. I added dependency to *pom.xml *(cas-server)

[cas-user] Re: Configuration Discovery (/status/discovery) Not Return Attributes

2019-04-06 Thread Fahmi L. Ramdhani
I solved this problem. Add configuration to cas.properties: cas.authn.jdbc.query[0].principalAttributeList = uid,username,name,email Pada Sabtu, 06 April 2019 17.01.32 UTC+7, Fahmi L. Ramdhani menulis: > > Hello, > > I use CAS version 5.3. I added *cas-server-support-disco

[cas-user] Configuration Discovery (/status/discovery) Not Return Attributes

2019-04-06 Thread Fahmi L. Ramdhani
Hello, I use CAS version 5.3. I added *cas-server-support-discovery-profile* dependency to pom.xml org.apereo.cas cas-server-support-discovery-profile ${cas.version} Then I tried calling https://cas.example.com/cas/status/discovery, but it does not display a list of

[cas-user] Re: CAS Management Services JPA Registry (Success, but Unable to Save to MySQL Database)

2019-03-20 Thread Fahmi L. Ramdhani
Thanks Facundo for your reply. Regarding "cas.serviceRegistry.jpa.ddlAuto = create-drop" is only temporary, next time, I will change it to *none *or *update*. So, when I go to *https://sso.example.com/cas-management* (*successfully*), *then I make 1 new registry service*. *I think it will

[cas-user] Re: CAS Management Services JPA Registry (Success, but Unable to Save to MySQL Database)

2019-03-20 Thread Fahmi L. Ramdhani
Thanks for your replies. I added the service via CAS Service Manangement (https://sso.example.com/cas-management/manage.html), but it was not saved in the database. Please help review my CAS configuration (in attachment). Can you help me please. Thank you. Pada Rabu, 20 Maret 2019 23.01.06

Re: [cas-user] Re: CAS Management Services JPA Registry (Success, but Unable to Save to MySQL Database)

2019-03-22 Thread Fahmi L. Ramdhani
*This problem has been Solved.* I am forget to insert dependency to *pom.xml* in *management project*. org.apereo.cas cas-server-support-jdbc-drivers ${cas.version} org.apereo.cas cas-server-support-jpa-service-registry ${cas.version} Thank you all. Pada Kamis, 21 Maret 2019

[cas-user] How to Remove Port 8443 when login to CAS Service Managament

2019-03-22 Thread Fahmi L. Ramdhani
Hello, I am try to visit CAS Service Management in https://sso.example.com/cas-management. Site redirected to https://sso.example.com/cas/login?service=*https://sso.example.com:8443*/cas-management/manage.html for authenticate with CAS Server. Why does Service management direct URLs with

Re: [cas-user] Re: Help CAS Management Error (CAS Server returned 502 status code from endpoint https://cas.example.com/cas/status/discovery. Using default FormData values)

2019-04-10 Thread Fahmi L. Ramdhani
Fahmi, > > Our management server is too old to have this feature. > Start here, > https://apereo.github.io/cas/5.3.x/integration/Attribute-Release.html > You probably have to add properties to management service properties file. > > Ray > >> On Tue, 2019-04-09 at 1

[cas-user] Re: Help CAS Management Error (CAS Server returned 502 status code from endpoint https://cas.example.com/cas/status/discovery. Using default FormData values)

2019-04-09 Thread Fahmi L. Ramdhani
I tried accessing the result curl like this: curl -v https://cas.example.com:8443/cas/status/discovery * Trying 103.60.182.9... * Connected to cas.example.com (103.60.182.9) port 8443 (#0) * found 148 certificates in /etc/ssl/certs/ca-certificates.crt * found 592 certificates in /etc/ssl/certs

[cas-user] Re: Help CAS Management Error (CAS Server returned 502 status code from endpoint https://cas.example.com/cas/status/discovery. Using default FormData values)

2019-04-09 Thread Fahmi L. Ramdhani
I tried accessing the result curl like this: curl -v https://cas.example.com:8443/cas/status/discovery * Trying 2xx.60.112.9... * Connected to cas.example.com (2xx.60.112.9) port 8443 (#0) * found 148 certificates in /etc/ssl/certs/ca-certificates.crt * found 592 certificates in /etc/ssl/certs

[cas-user] Re: Help CAS Management Error (CAS Server returned 502 status code from endpoint https://cas.example.com/cas/status/discovery. Using default FormData values)

2019-04-09 Thread Fahmi L. Ramdhani
I tried accessing the result curl like this curl -v https://cas.example.com/cas/status/discovery * Trying 103.60.182.9... * Connected to cas.example.com (xx.60.xxx.2) port 8443 (#0) * found 148 certificates in /etc/ssl/certs/ca-certificates.crt * found 592 certificates in /etc/ssl/certs *

[cas-user] Re: Help CAS Management Error (CAS Server returned 502 status code from endpoint https://cas.example.com/cas/status/discovery. Using default FormData values)

2019-04-09 Thread Fahmi L. Ramdhani
Minggu, 07 April 2019 00.48.55 UTC+7, Fahmi L. Ramdhani menulis: > > Hello, > > Anyone, please help me to solve the Attribute problem in CAS Management. I > want the dropdown to list the available attributes (dynamically) based on > the attribute repository (JDBC), the dropdown

[cas-user] Re: Help CAS Management Error (CAS Server returned 502 status code from endpoint https://cas.example.com/cas/status/discovery. Using default FormData values)

2019-04-09 Thread Fahmi L. Ramdhani
i have to configured like: *cas.properties* cas.adminPagesSecurity.ip = .* cas.adminPagesSecurity.loginUrl = ${cas.server.prefix}/login cas.adminPagesSecurity.service = ${cas.server.prefix}/status/dashboard cas.adminPagesSecurity.users = file:/etc/cas/config/admusers.properties

Re: [cas-user] Re: Help CAS Management Error (CAS Server returned 502 status code from endpoint https://cas.example.com/cas/status/discovery. Using default FormData values)

2019-04-09 Thread Fahmi L. Ramdhani
d it to make it easier for CAS administrators to release attributes for each service. But when I access *https://cas.example.com/cas-management* and try to add services, the *"mail", "eppn", "displayName", "givenName", "uid"* attributes *not sho

Re: [cas-user] Re: Help CAS Management Error (CAS Server returned 502 status code from endpoint https://cas.example.com/cas/status/discovery. Using default FormData values)

2019-04-09 Thread Fahmi L. Ramdhani
ry is protected by cas and it redirects to > cas/login (status code 302). > Should the discovery page be protected? > > Ray > >> On Tue, 2019-04-09 at 16:43 -0700, Fahmi L. Ramdhani wrote: >> I tried accessing the result curl like this: >> >> cur

[cas-user] Re: Help CAS Management Error (CAS Server returned 502 status code from endpoint https://cas.example.com/cas/status/discovery. Using default FormData values)

2019-04-09 Thread Fahmi L. Ramdhani
cas-management.log 2019-04-10 06:01:07,068 INFO [org.apereo.cas.mgmt.web.CasManagementWebApplicationServletInitializer] - The following profiles are active: standalone 2019-04-10 06:01:12,235 DEBUG [org.apereo.cas.config.CasCoreUtilSerializationConfiguration] - Configuring component

Re: [cas-user] Re: Help CAS Management Error (CAS Server returned 502 status code from endpoint https://cas.example.com/cas/status/discovery. Using default FormData values)

2019-04-11 Thread Fahmi L. Ramdhani
at tell to use one specific attributeRepository > associated to a specific delegated auth (due to the LDAP filter won't be the > same) instead of chaining all attributeRepository. > > Thanks > > Julien > > > >> Le 11/04/2019 à 02:58, Fahmi L. Ramdhani a

[cas-user] Re: Help CAS Management Error (CAS Server returned 502 status code from endpoint https://cas.example.com/cas/status/discovery. Using default FormData values)

2019-04-10 Thread Fahmi L. Ramdhani
*cas-management.log* 2019-04-10 06:01:07,068 INFO [org.apereo.cas.mgmt.web. CasManagementWebApplicationServletInitializer] - The following profiles are active: standalone 2019-04-10 06:01:12,235 DEBUG [org.apereo.cas.config. CasCoreUtilSerializationConfiguration] - Configuring component

[cas-user] Re: Help CAS Management Error (CAS Server returned 502 status code from endpoint https://cas.example.com/cas/status/discovery. Using default FormData values)

2019-04-10 Thread Fahmi L. Ramdhani
Anyone help please? -- - 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