[cas-user] [CAS Overlay Template version 6.2 return attributes as JSON multi-level]

2020-11-10 Thread Napoleon Ponaparte
Dear all, I have succeed config Oauth 2.0 feature in CAS version 6.2.x. I can get JWT token from CAS. Here is my service Oauth 2.0 configuration: { "@class" : "org.apereo.cas.support.oauth.services. OAuthRegisteredService", "clientId": "", "clientSecret": "xxx", "generateRe

[cas-user] Multi-level attributes return

2020-11-10 Thread Napoleon Ponaparte
Hi I am using CAS Overlay Template version 6.2.x. I have configured my Oauth 2.0 service like bellow: 1. My Oauth2.0 service config { "@class" : "org.apereo.cas.support.oauth.services. OAuthRegisteredService", "clientId": "", "clientSecret": "xxx", "generateRefreshToken"

[cas-user] CAS 6.2 return multi-level attributes

2020-11-10 Thread Napoleon Ponaparte
Hi I am using CAS Overlay Template version 6.2.x. I have configured my Oauth 2.0 service like bellow: 1. My Oauth2.0 service config { "@class" : "org.apereo.cas.support.oauth.services. OAuthRegisteredService", "clientId": "", "clientSecret": "xxx", "generateRefreshToken"

[cas-user] Config CAS Multi-level attributes return

2020-11-10 Thread Napoleon Ponaparte
Hi I am using CAS Overlay Template version 6.2.x. I have configured my Oauth 2.0 service like bellow: 1. My Oauth2.0 service config { "@class" : "org.apereo.cas.support.oauth.services. OAuthRegisteredService", "clientId": "", "clientSecret": "xxx", "generateRefreshToken"

[cas-user] Config CAS version 6.2 return multi-level attributes

2020-11-10 Thread Napoleon Ponaparte
Hi I am using CAS Overlay Template version 6.2.x. I have configured my Oauth 2.0 service like bellow: 1. My Oauth2.0 service config { "@class" : "org.apereo.cas.support.oauth.services. OAuthRegisteredService", "clientId": "", "clientSecret": "xxx", "generateRefreshToken" :

[cas-user] [Why my post was deleted after post]

2020-11-09 Thread Napoleon Ponaparte
Why my post was deleted after post -- - 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 Commu

[cas-user] Multi-level attributes return

2020-11-08 Thread Napoleon Ponaparte
Hi I am using CAS Overlay Template version 6.2.x. I have configured my Oauth 2.0 service like bellow: 1. My Oauth2.0 service config { "@class" : "org.apereo.cas.support.oauth.services.OAuthRegisteredService", "clientId": "", "clientSecret": "xxx", "generateRefreshToken" :

[cas-user] [CAS As Authorization Server Problem]

2020-09-14 Thread Napoleon Ponaparte
Hi, I am using CAS Apereo version 6.1.7 and I want to user CAS server as Authorization server. Here is my service registry: Step 1: Register service cat /etc/cas/services-repo/MyOAuthservice-100.json { "@class" : "org.apereo.cas.support.oauth.services.OAuthRegisteredService", "clientId": "cli

[cas-user] How to bypass user role in service registry?

2020-08-31 Thread Napoleon Ponaparte
Hi, I have succeeded implement CAS Management Web App. But I must have user's role in user.json file as bellow to run web app: { "casuser" : { "roles" : [ "ROLE_ADMIN" ] } } How to bypass user role in service registry? P/s: here is my service registry for CAS Management Web App { "@class" : "o

[cas-user] Assign roles properties for CAS's user or CAS's service registry

2020-08-27 Thread Napoleon Ponaparte
Hi, I have succeeded config CAS Overlay template 6.2.x can authenticated user that registed in MongoDB. Here is my config: 1. CAS Properties "name":"cas.authn.mongo.name","value":"users" "name":"cas.authn.mongo.database-name","value":"users" "name":"cas.authn.mongo.collection","value":"users" "

[cas-user] CAS Management user roles

2020-08-26 Thread Napoleon Ponaparte
Hi all, I have trouble with user role in CAS Management If I use user.json file store in directory /etc/cas/config like below, CAS Management worked well. Here is user.json file { "casuser" : { "@class" : "org.apereo.cas.mgmt.authz.json.UserAuthorizationDefinition ", "roles

[cas-user] [CAS Management Web App Authen User From MongoDB]

2020-08-26 Thread Napoleon Ponaparte
Hi, I have a trouble when config CAS Management Web App allow authenticate user in MongoDB (My CAS Overlay 6.2.1 can authenticate user from MongoDB but my CAS Management still didn't worked). Here is CAS MAnagment error log: 2020-08-26 01:52:25,370 WARN [org.apereo.cas.mgmt.authz.CasRoleBasedAu

[cas-user] [Auto Reload CAS Server After Register New Service]

2020-08-25 Thread Napoleon Ponaparte
I am successful store service registry in MongoDB, but I have a trouble in there. If I register new service store in directory /etc/cas/services-repo, CAS server didn't auto store this service to MongoDB. I must restart CAS to do this. So, How could config CAS auto restart to load new servic

[cas-user] CAS 6.1.x store service registry in MySQL or MongoDB

2020-08-21 Thread Napoleon Ponaparte
Hi, I have a trouble with store service register in MongoDB or MySQL with CAS version 6.1.x Here is my detail configuration: 1. CAS Overlay build.gradle compile "org.apereo.cas:cas-server-support-configuration-cloud-mongo:6.0.7" compile "org.apereo.cas:cas-server-support-mongo:6.1.7"

[cas-user] Re: Bug in password manager REST webflow (CAS 6.1.3)

2020-07-21 Thread Napoleon Ponaparte
Here is my REST endpoint detail 1. GET email 2. GET username 3. GET password On Tuesday, July 21, 2020 at 2:24:13 PM UTC+7 Napoleon Ponaparte wrote: > Hi, > Can you support me about Password Management via REST API? > I have setup my CAS configuration global like this: > >

[cas-user] Re: Bug in password manager REST webflow (CAS 6.1.3)

2020-07-21 Thread Napoleon Ponaparte
Hi, Can you support me about Password Management via REST API? I have setup my CAS configuration global like this: {"_id":{"$oid":"5f0e5cb43c849e73fc9fb39c"},"name":"cas.authn.pm.enabled","value":"true"} {"_id":{"$oid":"5f0e5cc83c849e73fc9fb39d"},"name":"cas.authn.pm.history.enabled","value":"fa

[cas-user] Re: Apereo Cas - Password Management via REST

2020-07-19 Thread Napoleon Ponaparte
ve any suggestions? > > > Thanks and Regards > > Arti > > On Monday, July 20, 2020 at 8:31:36 AM UTC+5:30, Napoleon Ponaparte wrote: >> >> I have succeed config Password Management via JDBC in Apereo CAS version >> 6.1.x. >> >> Now, I want to try

[cas-user] Apereo Cas - Password Management via REST

2020-07-19 Thread Napoleon Ponaparte
I have succeed config Password Management via JDBC in Apereo CAS version 6.1.x. Now, I want to try Password Management via REST since I used MongoDB to store user information, thus the fact that JDBC password management is not applicable with my case. I followed this instruction Password Mana

[cas-user] [Password Management via REST]

2020-07-17 Thread Napoleon Ponaparte
Hi all, Do you have examples for Password Management via REST? I am confusing with this setting from this link https://apereo.github.io/cas/6.1.x/password_management/Password-Management-REST.html # cas.authn.pm.rest.endpointUrlEmail= What things must I setting? # cas.authn.pm.rest.endpointUrlP

[cas-user] Cipher "clientSecret" params in OAuth2 JWT Token CAS Apereo version 6.1.7

2020-07-10 Thread Napoleon Ponaparte
Hi all, I follow this instruction to cipher "clientSecret" params in OAuth2 JWT Token with CAS Apereo 6.1 https://apereo.github.io/2019/11/04/cas62x-oauth-jwt-access-token/ *Step 1: Using CAS Shell to cipher clientSecret* root@ubuntu16:~/lam/cas-overlay-template# ./gradlew downloadShell runSh

[cas-user] [CAS 6.1.5] Encryption password when grant token Oauth2 JWT token

2020-03-19 Thread Napoleon Ponaparte
Hi, I have successed config CAS version 6.1.5 grant Oauth2 JWT token. But, When I call API to generate JWT token, it have plain text password like this root@ssostandalone:~# curl https://ssostandalone.vdc2.com.vn:8443/cas/oauth2.0/token?grant_type=password'&'client_id=exampleOauthClient'&'client_

[cas-user] [CAS 6.1.5 support service registry to MongoDB]

2020-03-18 Thread Napoleon Ponaparte
Hi, I have success config service registry to MongoDB in CAS version 6.0.x It's mean, when I build CAS 6.0.x, it will auto-load and store my service from directory "/etc/cas/services-repo" to MongoDB. Now when I upgrade my CAS server from 6.0.x to 6.1.5, I can't load my service to MongoDB like i

[cas-user] Registry service from CAS MANAGEMENT WEB APP to MONGODB

2020-03-13 Thread Napoleon Ponaparte
Hi all, I have confused with service registry. I have two methods to store service. *Method 1: Using cas-server-support-json-service* By compile "org.apereo.cas:cas-server-support-json-service-registry:6.1.3" The CAS server will read service from directory /etc/cas/services-repo *Method 2: Usin

[cas-user] CAS Management Web App 6.1.4-RC error

2020-03-06 Thread Napoleon Ponaparte
Hi, I have a trouble with CAS Management Web App (version 6.1.0-RC and version 6.0.x) , while I save new registry to CAS. Here is my error: *Error 1:* ERROR [org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/cas-management].[dispatcherServlet]] - org.eclipse.jgit.errors.Reposito

Re: [cas-user] Register service to CAS 6.1.3 behind HA Proxy

2020-02-27 Thread Napoleon Ponaparte
ub.io/2018/01/05/cas-deployment-with-proxy/ > > Jérôme. > > > Le jeu. 27 févr. 2020 à 08:21, Napoleon Ponaparte > a écrit : > >> Hi all, >> I have success deployed CAS version 6.1.3 behind HA Proxy for cluster >> architecture >> Here is my architecture. &

[cas-user] [CAS cluster for high-availability with CAS version 6.1]

2020-02-19 Thread Napoleon Ponaparte
Hi everyone, I am deploying CAS Overlay template version 6.1 with server stand-alone. I have enabled these service to prepare for deploy CAS high availability, include: -REST API support -Register service to mongoDB -Authen user from MongoDB -Read CAS globle config from MongoDB -Store ticket to Mo

[cas-user] Re: CAS 6.X jwt issue with base64 encoded

2020-02-12 Thread Napoleon Ponaparte
Hi Raheem, How to get this value? cas.authn.token.crypto.signing.key= cas.authn.token.crypto.encryption.key= THanks On Thursday, January 30, 2020 at 7:39:50 PM UTC+7, Raheem Shaik wrote: > > Hi, > > I am trying to upgrading from 5.2.x t0 6.x version for my testing but > getting bu

[cas-user] Generate JWT on CAS Apereo Version 6.0 for OAuth JWT Access Tokens

2020-02-12 Thread Napoleon Ponaparte
I want to generate JWT on Apereo CAS Overlay template version 6.0. Note Java version is Oracle 11 To generate a JWT, I ended up using the CAS Command-line Shell. I do this follow these step: STEP 1: I build CAS-shell root@casoverlay:~/cas-overlay-template# ./build.sh cli STEP 2: I generat