fix
parent
ff3db5669a
commit
2434faa962
|
|
@ -20,9 +20,9 @@ public class ApplicationConfig {
|
||||||
private Boolean rssoActive;
|
private Boolean rssoActive;
|
||||||
|
|
||||||
public Boolean getRssoActive() {
|
public Boolean getRssoActive() {
|
||||||
if(rssoActive==null)
|
if(this.rssoActive==null)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
return rssoActive;
|
return rssoActive;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -86,7 +86,7 @@ public class RemedyJavaAPI {
|
||||||
*/
|
*/
|
||||||
public void impersonateUser(String userName) throws ARException {
|
public void impersonateUser(String userName) throws ARException {
|
||||||
|
|
||||||
if(!this.appConfig.rssoActive)
|
if(!this.appConfig.getRssoActive())
|
||||||
server.impersonateUser("WuiQualityKV");
|
server.impersonateUser("WuiQualityKV");
|
||||||
|
|
||||||
server.impersonateUser(userName);
|
server.impersonateUser(userName);
|
||||||
|
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
rssoActive=false
|
|
||||||
arserver=slwien4dev
|
|
||||||
arport=2000
|
|
||||||
aruser=Demo
|
|
||||||
arpassword=ars$adm1
|
|
||||||
Loading…
Reference in New Issue