mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3162] Setting component - Should be able to render the providers passed as input (#3464)
* Be able to change the available providers values * Add deprecated tag * add default providers * Fix empty OAuth and selected providers Improve the documentation * Fix BPM guard to check SSO condition * Add the oauthConfig again * SSO or Basic otpion auth setting change * fix host settings sso/basic add login documentation * remove test string * fix auth guard test * dispose upload emitter test events * remove space * exclude failing test
This commit is contained in:
committed by
Eugenio Romano
parent
9221d1d0d0
commit
476b5864bf
@@ -71,6 +71,7 @@
|
||||
"OVERLAY_VIEWER": "Overlay Viewer",
|
||||
"ABOUT": "About",
|
||||
"SEARCH": "Extended Search",
|
||||
"NOTIFICATIONS": "Notifications",
|
||||
"EXTENDED_SEARCH_QUERY_BODY": "Extended Search with Query Body",
|
||||
"WORD_TO_SEARCH": "Search Word",
|
||||
"SEARCH_CREATED_BY": "Created By",
|
||||
|
@@ -5,6 +5,7 @@
|
||||
"loginRoute": "login",
|
||||
"providers": "ALL",
|
||||
"contextRootBpm": "activiti-app",
|
||||
"authType" : "BASIC",
|
||||
"oauth2": {
|
||||
"host": "http://localhost:30081/auth/realms/myrealm",
|
||||
"clientId": "activiti",
|
||||
|
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
import { Component } from '@angular/core';
|
||||
import { LogService, AuthenticationService, AlfrescoApiService } from '@alfresco/adf-core';
|
||||
import { LogService, } from '@alfresco/adf-core';
|
||||
import { Router } from '@angular/router';
|
||||
|
||||
@Component({
|
||||
@@ -26,9 +26,7 @@ import { Router } from '@angular/router';
|
||||
export class SettingsComponent {
|
||||
|
||||
constructor(private router: Router,
|
||||
private authService: AuthenticationService,
|
||||
private alfrescoApiService: AlfrescoApiService,
|
||||
public logService: LogService) {
|
||||
public logService: LogService) {
|
||||
}
|
||||
|
||||
onError(error: string) {
|
||||
@@ -40,8 +38,6 @@ export class SettingsComponent {
|
||||
}
|
||||
|
||||
onSuccess() {
|
||||
this.authService.removeTicket();
|
||||
this.alfrescoApiService.reset();
|
||||
this.router.navigate(['/']);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user