Fixed getEncryptedSysAdminToken
This commit is contained in:
parent
527e418e16
commit
f8c9033f3c
|
@ -49,7 +49,14 @@ public class FacetBasedISServiceCatalogueConfiguration extends ServiceCatalogueC
|
|||
|
||||
@JsonGetter(value=SYS_ADMIN_TOKEN_KEY)
|
||||
public String getEncryptedSysAdminToken() {
|
||||
return getSysAdminToken();
|
||||
if(encryptedSysAdminToken==null) {
|
||||
try {
|
||||
facetBasedISConfigurationProxy.setCkanServiceInfo(this);
|
||||
} catch (Exception e) {
|
||||
throw new InternalServerErrorException(e);
|
||||
}
|
||||
}
|
||||
return encryptedSysAdminToken;
|
||||
}
|
||||
|
||||
@JsonGetter(value = CKAN_DB_KEY)
|
||||
|
|
Loading…
Reference in New Issue