[cas-user] access_token always expires in 3600

2019-07-02 Thread Trần Quang Long
How can i change expiry_in value?
Anybody help?

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/91d865ed-c324-4495-9e20-b132dfd43047%40apereo.org.


[cas-user] CAS5.3.x, How to get change value if expires_in token?

2019-07-02 Thread Trần Quang Long
 CAS5.3.x, How to get change value if expires_in token? 

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/578e42c6-dd14-43ce-921d-763a23b6db83%40apereo.org.


Re: [cas-user] Unauthorized Service Access. Service [] is not found in service registry

2019-06-27 Thread Trần Quang Long
when access 
to 
https://localhost:9443/oauth2.0/accessToken?grant_type=password&client_id=1961521961528350196152786046&username=xxx&password=123456789.
 
i have got an error "Access Denied

You do not have permission to view this page."




On Friday, June 28, 2019 at 11:21:17 AM UTC+7, Tamnguyen wrote:
>
> Sorry for mistake : cas.serviceRegistry.initFromJson=true
> cas.serviceRegistry.json.location=file:/etc/cas/services
>
> On Fri, Jun 28, 2019 at 11:08 AM Tam Nguyen  > wrote:
>
>> You try changed : serviceRegistry.json.location=classpath:/etc/cas/services 
>>
>>
>> serviceRegistry.json.location=/etc/cas/services
>>
>> And created services : 
>> https://apereo.github.io/cas/6.0.x/services/Configuring-Service-Access-Strategy.html
>>
>>
>>
>> On Fri, Jun 28, 2019 at 10:52 AM Trần Quang Long > > wrote:
>>
>>> 2019-06-28 10:47:53,503 INFO 
>>> [org.apereo.cas.support.events.listener.DefaultCasEventListener] - >> to process requests @ [2019-06-28T03:47:53.500Z]>
>>> 2019-06-28 10:48:23,403 INFO 
>>> [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <[0] 
>>> expired tickets removed.>
>>> 2019-06-28 10:48:59,388 WARN 
>>> [org.apereo.cas.services.RegisteredServiceAccessStrategyUtils] - 
>>> 
>>>
>>>
>>>
>>> serviceRegistry.watcherEnabled=true
>>> serviceRegistry.repeatInterval=12
>>> serviceRegistry.startDelay=15000
>>> serviceRegistry.initFromJson=true
>>> serviceRegistry.json.location=classpath:/etc/cas/services
>>>
>>>
>>> anybody please help me? thanks
>>>
>>> -- 
>>> - 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 cas-...@apereo.org .
>>> To view this discussion on the web visit 
>>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/34335fd4-abbf-46f6-b11e-42184f6cf437%40apereo.org
>>>  
>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/34335fd4-abbf-46f6-b11e-42184f6cf437%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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/73aadee7-5d01-49a9-ad7a-2e02cb1afed9%40apereo.org.


[cas-user] Unauthorized Service Access. Service [] is not found in service registry

2019-06-27 Thread Trần Quang Long
2019-06-28 10:47:53,503 INFO 
[org.apereo.cas.support.events.listener.DefaultCasEventListener] - 
2019-06-28 10:48:23,403 INFO 
[org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <[0] 
expired tickets removed.>
2019-06-28 10:48:59,388 WARN 
[org.apereo.cas.services.RegisteredServiceAccessStrategyUtils] - 




serviceRegistry.watcherEnabled=true
serviceRegistry.repeatInterval=12
serviceRegistry.startDelay=15000
serviceRegistry.initFromJson=true
serviceRegistry.json.location=classpath:/etc/cas/services


anybody please help me? thanks

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/34335fd4-abbf-46f6-b11e-42184f6cf437%40apereo.org.


[cas-user] Re: where to store ticket data

2019-04-23 Thread Trần Quang Long

# Ticket Registry 
# 
cas.ticket.registry.jpa.url=jdbc:postgresql://xx:5432/cas 
cas.ticket.registry.jpa.idleTimeout=5000 
cas.ticket.registry.jpa.user=xx 
cas.ticket.registry.jpa.password=x 
cas.ticket.registry.jpa.ddlAuto=update 
cas.ticket.registry.jpa.driverClass=org.postgresql.Driver 
cas.ticket.registry.jpa.dialect=org.hibernate.dialect.PostgreSQL95Dialect
# 
it works fine

On Wednesday, April 24, 2019 at 10:43:58 AM UTC+7, Ngọc Trí Nguyễn wrote:
>
> Hi all,
>
> I have configured jpa-registry-ticket to save data to MySQL, but when I do 
> not do it, I do not know where the cas server stores data People can help 
> me answer 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 subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/222aa2ff-9dcd-4eac-9c10-d212085dfe6b%40apereo.org.


[cas-user] How to Log Out of REST API

2019-03-12 Thread Trần Quang Long
cas/oauth2.0/logout ?

-- 
- 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 cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/a4ff3c44-19d5-4985-b5c3-0434792a5467%40apereo.org.