ADF Ticket Expire time

Showing results for 
Search instead for 
Did you mean: 
Senior Member II

ADF Ticket Expire time

I am using adf with alfresco.

Alfresco session timeout is 30 min and ticket expiration time is 1 hr.

What will happen if I make adf idle after login up 30 min?

Will I need to login again?

Eugenio Romano‌ Please comment on this.

Thanks & Regards,
2 Replies
Alfresco Employee

Re: ADF Ticket Expire time

yep you need to login the cool thing is that you can automatically redirect a user to the login page over a 401 event for example:

import { Component, ViewEncapsulation, OnInit } from '@angular/core';
import { AuthenticationService, AlfrescoApiService, PageTitleService } from '@alfresco/adf-core';
import { Router } from '@angular/router';
import { MatDialog } from '@angular/material';

selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss'],
encapsulation: ViewEncapsulation.None
export class AppComponent implements OnInit {

constructor(private pageTitleService: PageTitleService,
private alfrescoApiService: AlfrescoApiService,
private authenticationService: AuthenticationService,
private router: Router,
private dialogRef: MatDialog) {

ngOnInit() {

this.alfrescoApiService.getInstance().on('error', (error) => {
if (error.status === 401) {
if (!this.authenticationService.isLoggedIn()) {
Senior Member II

Re: ADF Ticket Expire time


I am using adf with APS.

1)What is the ticket expire time?

2)Can I use refresh token mechanism after ticket expire?

Thanks & Regards,