@@ -0,0 +1,2245 @@
+package com.foc.admin;%0A%0Aimport com.foc.annotations.model.FocEntity;%0Aimport com.foc.annotations.model.fields.FocString;%0Aimport com.foc.desc.FocConstructor;%0Aimport com.foc.desc.parsers.ParsedFocDesc;%0Aimport com.foc.desc.parsers.pojo.PojoFocObject;%0Aimport com.foc.list.FocList;%0A%0A@FocEntity(cached = true)%0Apublic class FocExternalAuthConfig extends PojoFocObject %7B%0A%0A  public static final String DBNAME = %22FocExternalAuthConfig%22;%0A%0A%09@FocString(size = 100)%0A%09public static final String FIELD_JWTIssuer = %22JWTIssuer%22;%0A%0A%09@FocString(size = 1000)%0A%09public static final String FIELD_SQLSelectKeys = %22SQLSelectKeys%22;%0A%0A%09@FocString(size = 2000)%0A%09public static final String FIELD_SQLSelectRolePermission = %22SQLSelectRolePermission%22;%0A%0A%09@FocString(size = 100)%0A%09public static final String FIELD_Permission = %22Permission%22;%0A%0A  public FocExternalAuthConfig(FocConstructor constr) %7B%0A%09%09super(constr);%0A  %7D%0A  %0A%09public static ParsedFocDesc getFocDesc() %7B%0A%09%09return ParsedFocDesc.getInstance(DBNAME);%0A%09%7D%0A%09%0A%09public String getJWTIssuer() %7B%0A%09%09return getPropertyString(FIELD_JWTIssuer);%0A%09%7D%0A%0A%09public void setJWTIssuer(String value) %7B%0A%09%09setPropertyString(FIELD_JWTIssuer, value);%0A%09%7D%0A%0A%09public String getSQLSelectKeys() %7B%0A%09%09return getPropertyString(FIELD_SQLSelectKeys);%0A%09%7D%0A%0A%09public void setSQLSelectKeys(String value) %7B%0A%09%09setPropertyString(FIELD_SQLSelectKeys, value);%0A%09%7D%0A%0A%09public String getSQLSelectRolePermission() %7B%0A%09%09return getPropertyString(FIELD_SQLSelectRolePermission);%0A%09%7D%0A%0A%09public void setSQLSelectRolePermission(String value) %7B%0A%09%09setPropertyString(FIELD_SQLSelectRolePermission, value);%0A%09%7D%0A%0A%09private static FocExternalAuthConfig config = null; %0A%09public static FocExternalAuthConfig getInstance() %7B%0A%09%09if (getFocDesc() != null) %7B%0A%09%09%09FocList list = getFocDesc().getFocList();%0A%09%09%09if (list != null) %7B%0A%09%09%09%09list.loadIfNotLoadedFromDB();%0A%09%09%09%09if(list.size() == 0) %7B%0A%09%09%09%09%09config = (FocExternalAuthConfig) list.newEmptyItem();%0A%09%09%09%09%09list.add(config);%0A%09%09%0A%09%09%09%09%09config.save();%0A%09%09%09%09%7D%0A%09%09%09%09%0A%09%09%09%09if(config == null) %7B%0A%09%09%09%09%09config = (FocExternalAuthConfig) list.getFocObject(0);%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%7D%0A%0A%09%09return config;%0A%09%7D%0A%0A%09public String getPermission() %7B%0A%09%09return getPropertyString(FIELD_Permission);%0A%09%7D%0A%0A%09public void setPermission(String value) %7B%0A%09%09setPropertyString(FIELD_Permission, value);%0A%09%7D%0A%0A%7D%0A

Remove useless field from FocExternalAuthConfig