main
parent
77e40653f8
commit
5f236d56b2
|
|
@ -50,7 +50,7 @@ public class RssoInterceptor implements HandlerInterceptor {
|
|||
applicationLogger.info("\n\n\nRSSO Interceptor user:"+user);
|
||||
System.out.println("USER:"+user);
|
||||
if (user == null) {
|
||||
applicationLogger.info("User ist NULL:");
|
||||
applicationLogger.info("User ist NULL:"); //Beim User Null muss zum rsso Server redirected werden
|
||||
var cookies = request.getCookies();
|
||||
System.out.println("cookies:"+cookies);
|
||||
applicationLogger.info("Cookies:"+cookies.toString());
|
||||
|
|
@ -63,7 +63,7 @@ public class RssoInterceptor implements HandlerInterceptor {
|
|||
}
|
||||
}
|
||||
}
|
||||
applicationLogger.info("KEINE COOKIES GESETZT");
|
||||
applicationLogger.info("KEINE COOKIES GESETZT"); //Beim User Null muss zum rsso Server redirected werden
|
||||
System.out.println("no cookies");
|
||||
throw new Exception("no cookies set");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -158,6 +158,9 @@ export class DataService {
|
|||
this.http.get('http://localhost:8080/api/initPresets')
|
||||
.subscribe((response: any)=>{
|
||||
console.log(response);
|
||||
if(response.status == 500){
|
||||
return ""+response.error.message;
|
||||
}
|
||||
res.selectedPreset = response.selectedPreset;
|
||||
let userPreferences = {language: 'DE', showDetails: true, view: 2};
|
||||
if(response.userPreferences.language == "EN"){
|
||||
|
|
|
|||
Loading…
Reference in New Issue