[cas-user] principalAttributeId for JDBC

2021-06-13 Thread Mohsen Ebrahimi
Hello We are trying to switch from Ldap to Jdbc for authentication. We used cas.authn.ldap[0].principalAttributeId for setting default username from Ldap. I can't find something similar to principalAttributeId in Jdbc configs. Is there any? -- - Website: https://apereo.github.io/cas - Gitter

Re: [cas-user] POST to /cas/oauth2.0/accessToken: 403 Access Denied

2020-05-12 Thread Mohsen Ebrahimi
mputers or otherwise a delay in trying to process the ticket? Ray On Sun, 2020-05-10 at 13:16 +0430, Mohsen Ebrahimi wrote: Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information. Some logs in debug mode:

Re: [cas-user] POST to /cas/oauth2.0/accessToken: 403 Access Denied

2020-05-10 Thread Mohsen Ebrahimi
May 10 13:10:00 casserver.com cas[13553]: 2020-05-10 13:10:00,861 DEBUG [org.apereo.cas.ticket.registry.MongoDbTicketRegistry] - May 10 13:10:00 casserver.com cas[13553]: 2020-05-10 13:10:00,861 DEBUG [org.apereo.cas.ticket.registry.MongoDbTicketRegistry] - On 2020-05-10 12:20, Mohsen Ebrahimi

Re: [cas-user] POST to /cas/oauth2.0/accessToken: 403 Access Denied

2020-05-10 Thread Mohsen Ebrahimi
Can someone help me? Why would CAS deny access to /cas/oauth2.0/accessToken? On 2020-05-05 16:25, Mohsen Ebrahimi wrote: Hello I have a working CAS server 5.3 with OAuth2.0 authentication enabled. Now I'm trying to upgrade my server to version 6.1. I get a strange error in applications

Re: [cas-user] CAS 6.1: get OAuth2.0 access token in plain text

2020-05-05 Thread Mohsen Ebrahimi
Support for plain text response format removed with no explanation here: https://github.com/apereo/cas/commit/c9b555386f7e165d98d6616b4294f5090ea23758#diff-761a95912cbbe614cb95ccab17095700 Is there any other way? On 2020-05-06 08:37, Mohsen Ebrahimi wrote: Hi In Cas 5.3 we could get

[cas-user] CAS 6.1: get OAuth2.0 access token in plain text

2020-05-05 Thread Mohsen Ebrahimi
Hi In Cas 5.3 we could get OAuth2.0 access token in plain text format with jsonFormat=false option: https://apereo.github.io/cas/5.3.x/installation/OAuth-OpenId-Authentication.html But in version 6.1 there is no jsonFormat in docs: https://apereo.github.io/cas/6.1.x/installation/OAuth-Op

[cas-user] POST to /cas/oauth2.0/accessToken: 403 Access Denied

2020-05-05 Thread Mohsen Ebrahimi
Hello I have a working CAS server 5.3 with OAuth2.0 authentication enabled. Now I'm trying to upgrade my server to version 6.1. I get a strange error in applications that connected to CAS Server with OAuth. When application wants to do accessToken with POST method request denied by CAS and

Re[2]: [cas-user] default locale setting

2018-04-15 Thread Mohsen Ebrahimi
Far 1397 14:35 Subject: Re: [cas-user] default locale setting Hi You can create a custom theme and interface and leave it in the CAS directory before compile. I have done it with Maven and it works fine for me. On Sun, Apr 15, 2018, 4:39 PM Mohsen Ebrahimi wrote: Hi I have an issue with

[cas-user] default locale setting

2018-04-15 Thread Mohsen Ebrahimi
Hi I have an issue with setting default locale. I set default locale to fa in cas.properties but still pages' language is in english. Is there any extra config for that? Currently I replaced messages.properties with _fa version to change default language! :) Another question: can I set custom cs

Re: [cas-user] Allowing alternate identifiers for username

2018-01-23 Thread Mohsen Ebrahimi
If your backend is ldap you can do some tricks with ldap filter. For example: cas.authn.ldap[0].userFilter=(|(uid={user})(&(!(uid=*))(|(mail={user}@mail2.domain)(mail={user}@mail.domain   -Original Message- From: "Dusty Edenfield" To: "CAS Community" Date: 03 Bah 1396 00:28 Sub

[cas-user] CAS 5.2.1 report failed authentications as AUTHENTICATION_SUCCESS

2018-01-10 Thread Mohsen Ebrahimi
Hello It works fine in 5.2. I think it's a bug. Thank you 2018-01-11 02:18:15,693 WARN [org.apereo.cas.authentication.LdapAuthenticationHandler] - 2018-01-11 02:18:15,694 ERROR [org.apereo.cas.authentication.PolicyBasedAuthenticationManager] - 2018-01-11 02:18:15,697 INFO [org.apereo.i