|
@@ -1397,72 +1397,6 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
|
/** The key of the configuration. e.g. homeDirectory */
|
|
|
String LDAP_ATTR_HOME_DIRECTORY = "ldap.attr.homeDirectory";
|
|
|
|
|
|
- /** The key of the configuration. e.g. none */
|
|
|
- String SSO_TYPE = "sso.type";
|
|
|
-
|
|
|
- /** The key of the configuration. e.g. */
|
|
|
- String SPNEGO_LOGGER_LEVEL = "spnego.logger.level";
|
|
|
-
|
|
|
- /** The key of the configuration. e.g. krb5.conf */
|
|
|
- String SPNEGO_KRB5_CONF = "spnego.krb5.conf";
|
|
|
-
|
|
|
- /** The key of the configuration. e.g. auth_login.conf */
|
|
|
- String SPNEGO_LOGIN_CONF = "spnego.login.conf";
|
|
|
-
|
|
|
- /** The key of the configuration. e.g. username */
|
|
|
- String SPNEGO_PREAUTH_USERNAME = "spnego.preauth.username";
|
|
|
-
|
|
|
- /** The key of the configuration. e.g. password */
|
|
|
- String SPNEGO_PREAUTH_PASSWORD = "spnego.preauth.password";
|
|
|
-
|
|
|
- /** The key of the configuration. e.g. spnego-client */
|
|
|
- String SPNEGO_LOGIN_CLIENT_MODULE = "spnego.login.client.module";
|
|
|
-
|
|
|
- /** The key of the configuration. e.g. spnego-server */
|
|
|
- String SPNEGO_LOGIN_SERVER_MODULE = "spnego.login.server.module";
|
|
|
-
|
|
|
- /** The key of the configuration. e.g. true */
|
|
|
- String SPNEGO_ALLOW_BASIC = "spnego.allow.basic";
|
|
|
-
|
|
|
- /** The key of the configuration. e.g. true */
|
|
|
- String SPNEGO_ALLOW_UNSECURE_BASIC = "spnego.allow.unsecure.basic";
|
|
|
-
|
|
|
- /** The key of the configuration. e.g. true */
|
|
|
- String SPNEGO_PROMPT_NTLM = "spnego.prompt.ntlm";
|
|
|
-
|
|
|
- /** The key of the configuration. e.g. true */
|
|
|
- String SPNEGO_ALLOW_LOCALHOST = "spnego.allow.localhost";
|
|
|
-
|
|
|
- /** The key of the configuration. e.g. false */
|
|
|
- String SPNEGO_ALLOW_DELEGATION = "spnego.allow.delegation";
|
|
|
-
|
|
|
- /** The key of the configuration. e.g. */
|
|
|
- String SPNEGO_EXCLUDE_DIRS = "spnego.exclude.dirs";
|
|
|
-
|
|
|
- /** The key of the configuration. e.g. __CLIENT_ID__ */
|
|
|
- String OIC_CLIENT_ID = "oic.client.id";
|
|
|
-
|
|
|
- /** The key of the configuration. e.g. __CLIENT_SECRET__ */
|
|
|
- String OIC_CLIENT_SECRET = "oic.client.secret";
|
|
|
-
|
|
|
- /** The key of the configuration. e.g. https://accounts.google.com/o/oauth2/auth */
|
|
|
- String OIC_AUTH_SERVER_URL = "oic.auth.server.url";
|
|
|
-
|
|
|
- /** The key of the configuration. e.g. http://localhost:8080/sso/ */
|
|
|
- String OIC_REDIRECT_URL = "oic.redirect.url";
|
|
|
-
|
|
|
- /** The key of the configuration. e.g. openid email */
|
|
|
- String OIC_SCOPE = "oic.scope";
|
|
|
-
|
|
|
- /** The key of the configuration. e.g. https://accounts.google.com/o/oauth2/token */
|
|
|
- String OIC_TOKEN_SERVER_URL = "oic.token.server.url";
|
|
|
-
|
|
|
- /** The key of the configuration. e.g. guest */
|
|
|
- String OIC_DEFAULT_ROLES = "oic.default.roles";
|
|
|
-
|
|
|
- /** The key of the configuration. e.g. */
|
|
|
- String OIC_DEFAULT_GROUPS = "oic.default.groups";
|
|
|
-
|
|
|
/**
|
|
|
* Get the value of property as {@link String}.
|
|
|
* @param propertyKey The key of the property. (NotNull)
|
|
@@ -5908,220 +5842,6 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
|
*/
|
|
|
String getLdapAttrHomeDirectory();
|
|
|
|
|
|
- /**
|
|
|
- * Get the value for the key 'sso.type'. <br>
|
|
|
- * The value is, e.g. none <br>
|
|
|
- * comment: ------
|
|
|
- * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
- */
|
|
|
- String getSsoType();
|
|
|
-
|
|
|
- /**
|
|
|
- * Get the value for the key 'spnego.logger.level'. <br>
|
|
|
- * The value is, e.g. <br>
|
|
|
- * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
- */
|
|
|
- String getSpnegoLoggerLevel();
|
|
|
-
|
|
|
- /**
|
|
|
- * Get the value for the key 'spnego.logger.level' as {@link Integer}. <br>
|
|
|
- * The value is, e.g. <br>
|
|
|
- * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
- * @throws NumberFormatException When the property is not integer.
|
|
|
- */
|
|
|
- Integer getSpnegoLoggerLevelAsInteger();
|
|
|
-
|
|
|
- /**
|
|
|
- * Get the value for the key 'spnego.krb5.conf'. <br>
|
|
|
- * The value is, e.g. krb5.conf <br>
|
|
|
- * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
- */
|
|
|
- String getSpnegoKrb5Conf();
|
|
|
-
|
|
|
- /**
|
|
|
- * Get the value for the key 'spnego.login.conf'. <br>
|
|
|
- * The value is, e.g. auth_login.conf <br>
|
|
|
- * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
- */
|
|
|
- String getSpnegoLoginConf();
|
|
|
-
|
|
|
- /**
|
|
|
- * Get the value for the key 'spnego.preauth.username'. <br>
|
|
|
- * The value is, e.g. username <br>
|
|
|
- * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
- */
|
|
|
- String getSpnegoPreauthUsername();
|
|
|
-
|
|
|
- /**
|
|
|
- * Get the value for the key 'spnego.preauth.password'. <br>
|
|
|
- * The value is, e.g. password <br>
|
|
|
- * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
- */
|
|
|
- String getSpnegoPreauthPassword();
|
|
|
-
|
|
|
- /**
|
|
|
- * Get the value for the key 'spnego.login.client.module'. <br>
|
|
|
- * The value is, e.g. spnego-client <br>
|
|
|
- * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
- */
|
|
|
- String getSpnegoLoginClientModule();
|
|
|
-
|
|
|
- /**
|
|
|
- * Get the value for the key 'spnego.login.server.module'. <br>
|
|
|
- * The value is, e.g. spnego-server <br>
|
|
|
- * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
- */
|
|
|
- String getSpnegoLoginServerModule();
|
|
|
-
|
|
|
- /**
|
|
|
- * Get the value for the key 'spnego.allow.basic'. <br>
|
|
|
- * The value is, e.g. true <br>
|
|
|
- * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
- */
|
|
|
- String getSpnegoAllowBasic();
|
|
|
-
|
|
|
- /**
|
|
|
- * Is the property for the key 'spnego.allow.basic' true? <br>
|
|
|
- * The value is, e.g. true <br>
|
|
|
- * @return The determination, true or false. (if not found, exception but basically no way)
|
|
|
- */
|
|
|
- boolean isSpnegoAllowBasic();
|
|
|
-
|
|
|
- /**
|
|
|
- * Get the value for the key 'spnego.allow.unsecure.basic'. <br>
|
|
|
- * The value is, e.g. true <br>
|
|
|
- * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
- */
|
|
|
- String getSpnegoAllowUnsecureBasic();
|
|
|
-
|
|
|
- /**
|
|
|
- * Is the property for the key 'spnego.allow.unsecure.basic' true? <br>
|
|
|
- * The value is, e.g. true <br>
|
|
|
- * @return The determination, true or false. (if not found, exception but basically no way)
|
|
|
- */
|
|
|
- boolean isSpnegoAllowUnsecureBasic();
|
|
|
-
|
|
|
- /**
|
|
|
- * Get the value for the key 'spnego.prompt.ntlm'. <br>
|
|
|
- * The value is, e.g. true <br>
|
|
|
- * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
- */
|
|
|
- String getSpnegoPromptNtlm();
|
|
|
-
|
|
|
- /**
|
|
|
- * Is the property for the key 'spnego.prompt.ntlm' true? <br>
|
|
|
- * The value is, e.g. true <br>
|
|
|
- * @return The determination, true or false. (if not found, exception but basically no way)
|
|
|
- */
|
|
|
- boolean isSpnegoPromptNtlm();
|
|
|
-
|
|
|
- /**
|
|
|
- * Get the value for the key 'spnego.allow.localhost'. <br>
|
|
|
- * The value is, e.g. true <br>
|
|
|
- * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
- */
|
|
|
- String getSpnegoAllowLocalhost();
|
|
|
-
|
|
|
- /**
|
|
|
- * Is the property for the key 'spnego.allow.localhost' true? <br>
|
|
|
- * The value is, e.g. true <br>
|
|
|
- * @return The determination, true or false. (if not found, exception but basically no way)
|
|
|
- */
|
|
|
- boolean isSpnegoAllowLocalhost();
|
|
|
-
|
|
|
- /**
|
|
|
- * Get the value for the key 'spnego.allow.delegation'. <br>
|
|
|
- * The value is, e.g. false <br>
|
|
|
- * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
- */
|
|
|
- String getSpnegoAllowDelegation();
|
|
|
-
|
|
|
- /**
|
|
|
- * Is the property for the key 'spnego.allow.delegation' true? <br>
|
|
|
- * The value is, e.g. false <br>
|
|
|
- * @return The determination, true or false. (if not found, exception but basically no way)
|
|
|
- */
|
|
|
- boolean isSpnegoAllowDelegation();
|
|
|
-
|
|
|
- /**
|
|
|
- * Get the value for the key 'spnego.exclude.dirs'. <br>
|
|
|
- * The value is, e.g. <br>
|
|
|
- * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
- */
|
|
|
- String getSpnegoExcludeDirs();
|
|
|
-
|
|
|
- /**
|
|
|
- * Get the value for the key 'spnego.exclude.dirs' as {@link Integer}. <br>
|
|
|
- * The value is, e.g. <br>
|
|
|
- * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
- * @throws NumberFormatException When the property is not integer.
|
|
|
- */
|
|
|
- Integer getSpnegoExcludeDirsAsInteger();
|
|
|
-
|
|
|
- /**
|
|
|
- * Get the value for the key 'oic.client.id'. <br>
|
|
|
- * The value is, e.g. __CLIENT_ID__ <br>
|
|
|
- * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
- */
|
|
|
- String getOicClientId();
|
|
|
-
|
|
|
- /**
|
|
|
- * Get the value for the key 'oic.client.secret'. <br>
|
|
|
- * The value is, e.g. __CLIENT_SECRET__ <br>
|
|
|
- * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
- */
|
|
|
- String getOicClientSecret();
|
|
|
-
|
|
|
- /**
|
|
|
- * Get the value for the key 'oic.auth.server.url'. <br>
|
|
|
- * The value is, e.g. https://accounts.google.com/o/oauth2/auth <br>
|
|
|
- * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
- */
|
|
|
- String getOicAuthServerUrl();
|
|
|
-
|
|
|
- /**
|
|
|
- * Get the value for the key 'oic.redirect.url'. <br>
|
|
|
- * The value is, e.g. http://localhost:8080/sso/ <br>
|
|
|
- * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
- */
|
|
|
- String getOicRedirectUrl();
|
|
|
-
|
|
|
- /**
|
|
|
- * Get the value for the key 'oic.scope'. <br>
|
|
|
- * The value is, e.g. openid email <br>
|
|
|
- * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
- */
|
|
|
- String getOicScope();
|
|
|
-
|
|
|
- /**
|
|
|
- * Get the value for the key 'oic.token.server.url'. <br>
|
|
|
- * The value is, e.g. https://accounts.google.com/o/oauth2/token <br>
|
|
|
- * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
- */
|
|
|
- String getOicTokenServerUrl();
|
|
|
-
|
|
|
- /**
|
|
|
- * Get the value for the key 'oic.default.roles'. <br>
|
|
|
- * The value is, e.g. guest <br>
|
|
|
- * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
- */
|
|
|
- String getOicDefaultRoles();
|
|
|
-
|
|
|
- /**
|
|
|
- * Get the value for the key 'oic.default.groups'. <br>
|
|
|
- * The value is, e.g. <br>
|
|
|
- * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
- */
|
|
|
- String getOicDefaultGroups();
|
|
|
-
|
|
|
- /**
|
|
|
- * Get the value for the key 'oic.default.groups' as {@link Integer}. <br>
|
|
|
- * The value is, e.g. <br>
|
|
|
- * @return The value of found property. (NotNull: if not found, exception but basically no way)
|
|
|
- * @throws NumberFormatException When the property is not integer.
|
|
|
- */
|
|
|
- Integer getOicDefaultGroupsAsInteger();
|
|
|
-
|
|
|
/**
|
|
|
* The simple implementation for configuration.
|
|
|
* @author FreeGen
|
|
@@ -8467,126 +8187,6 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
|
return get(FessConfig.LDAP_ATTR_HOME_DIRECTORY);
|
|
|
}
|
|
|
|
|
|
- public String getSsoType() {
|
|
|
- return get(FessConfig.SSO_TYPE);
|
|
|
- }
|
|
|
-
|
|
|
- public String getSpnegoLoggerLevel() {
|
|
|
- return get(FessConfig.SPNEGO_LOGGER_LEVEL);
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getSpnegoLoggerLevelAsInteger() {
|
|
|
- return getAsInteger(FessConfig.SPNEGO_LOGGER_LEVEL);
|
|
|
- }
|
|
|
-
|
|
|
- public String getSpnegoKrb5Conf() {
|
|
|
- return get(FessConfig.SPNEGO_KRB5_CONF);
|
|
|
- }
|
|
|
-
|
|
|
- public String getSpnegoLoginConf() {
|
|
|
- return get(FessConfig.SPNEGO_LOGIN_CONF);
|
|
|
- }
|
|
|
-
|
|
|
- public String getSpnegoPreauthUsername() {
|
|
|
- return get(FessConfig.SPNEGO_PREAUTH_USERNAME);
|
|
|
- }
|
|
|
-
|
|
|
- public String getSpnegoPreauthPassword() {
|
|
|
- return get(FessConfig.SPNEGO_PREAUTH_PASSWORD);
|
|
|
- }
|
|
|
-
|
|
|
- public String getSpnegoLoginClientModule() {
|
|
|
- return get(FessConfig.SPNEGO_LOGIN_CLIENT_MODULE);
|
|
|
- }
|
|
|
-
|
|
|
- public String getSpnegoLoginServerModule() {
|
|
|
- return get(FessConfig.SPNEGO_LOGIN_SERVER_MODULE);
|
|
|
- }
|
|
|
-
|
|
|
- public String getSpnegoAllowBasic() {
|
|
|
- return get(FessConfig.SPNEGO_ALLOW_BASIC);
|
|
|
- }
|
|
|
-
|
|
|
- public boolean isSpnegoAllowBasic() {
|
|
|
- return is(FessConfig.SPNEGO_ALLOW_BASIC);
|
|
|
- }
|
|
|
-
|
|
|
- public String getSpnegoAllowUnsecureBasic() {
|
|
|
- return get(FessConfig.SPNEGO_ALLOW_UNSECURE_BASIC);
|
|
|
- }
|
|
|
-
|
|
|
- public boolean isSpnegoAllowUnsecureBasic() {
|
|
|
- return is(FessConfig.SPNEGO_ALLOW_UNSECURE_BASIC);
|
|
|
- }
|
|
|
-
|
|
|
- public String getSpnegoPromptNtlm() {
|
|
|
- return get(FessConfig.SPNEGO_PROMPT_NTLM);
|
|
|
- }
|
|
|
-
|
|
|
- public boolean isSpnegoPromptNtlm() {
|
|
|
- return is(FessConfig.SPNEGO_PROMPT_NTLM);
|
|
|
- }
|
|
|
-
|
|
|
- public String getSpnegoAllowLocalhost() {
|
|
|
- return get(FessConfig.SPNEGO_ALLOW_LOCALHOST);
|
|
|
- }
|
|
|
-
|
|
|
- public boolean isSpnegoAllowLocalhost() {
|
|
|
- return is(FessConfig.SPNEGO_ALLOW_LOCALHOST);
|
|
|
- }
|
|
|
-
|
|
|
- public String getSpnegoAllowDelegation() {
|
|
|
- return get(FessConfig.SPNEGO_ALLOW_DELEGATION);
|
|
|
- }
|
|
|
-
|
|
|
- public boolean isSpnegoAllowDelegation() {
|
|
|
- return is(FessConfig.SPNEGO_ALLOW_DELEGATION);
|
|
|
- }
|
|
|
-
|
|
|
- public String getSpnegoExcludeDirs() {
|
|
|
- return get(FessConfig.SPNEGO_EXCLUDE_DIRS);
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getSpnegoExcludeDirsAsInteger() {
|
|
|
- return getAsInteger(FessConfig.SPNEGO_EXCLUDE_DIRS);
|
|
|
- }
|
|
|
-
|
|
|
- public String getOicClientId() {
|
|
|
- return get(FessConfig.OIC_CLIENT_ID);
|
|
|
- }
|
|
|
-
|
|
|
- public String getOicClientSecret() {
|
|
|
- return get(FessConfig.OIC_CLIENT_SECRET);
|
|
|
- }
|
|
|
-
|
|
|
- public String getOicAuthServerUrl() {
|
|
|
- return get(FessConfig.OIC_AUTH_SERVER_URL);
|
|
|
- }
|
|
|
-
|
|
|
- public String getOicRedirectUrl() {
|
|
|
- return get(FessConfig.OIC_REDIRECT_URL);
|
|
|
- }
|
|
|
-
|
|
|
- public String getOicScope() {
|
|
|
- return get(FessConfig.OIC_SCOPE);
|
|
|
- }
|
|
|
-
|
|
|
- public String getOicTokenServerUrl() {
|
|
|
- return get(FessConfig.OIC_TOKEN_SERVER_URL);
|
|
|
- }
|
|
|
-
|
|
|
- public String getOicDefaultRoles() {
|
|
|
- return get(FessConfig.OIC_DEFAULT_ROLES);
|
|
|
- }
|
|
|
-
|
|
|
- public String getOicDefaultGroups() {
|
|
|
- return get(FessConfig.OIC_DEFAULT_GROUPS);
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getOicDefaultGroupsAsInteger() {
|
|
|
- return getAsInteger(FessConfig.OIC_DEFAULT_GROUPS);
|
|
|
- }
|
|
|
-
|
|
|
@Override
|
|
|
protected java.util.Map<String, String> prepareGeneratedDefaultMap() {
|
|
|
java.util.Map<String, String> defaultMap = super.prepareGeneratedDefaultMap();
|
|
@@ -9018,28 +8618,6 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|
|
defaultMap.put(FessConfig.LDAP_ATTR_UID_NUMBER, "uidNumber");
|
|
|
defaultMap.put(FessConfig.LDAP_ATTR_GID_NUMBER, "gidNumber");
|
|
|
defaultMap.put(FessConfig.LDAP_ATTR_HOME_DIRECTORY, "homeDirectory");
|
|
|
- defaultMap.put(FessConfig.SSO_TYPE, "none");
|
|
|
- defaultMap.put(FessConfig.SPNEGO_LOGGER_LEVEL, "");
|
|
|
- defaultMap.put(FessConfig.SPNEGO_KRB5_CONF, "krb5.conf");
|
|
|
- defaultMap.put(FessConfig.SPNEGO_LOGIN_CONF, "auth_login.conf");
|
|
|
- defaultMap.put(FessConfig.SPNEGO_PREAUTH_USERNAME, "username");
|
|
|
- defaultMap.put(FessConfig.SPNEGO_PREAUTH_PASSWORD, "password");
|
|
|
- defaultMap.put(FessConfig.SPNEGO_LOGIN_CLIENT_MODULE, "spnego-client");
|
|
|
- defaultMap.put(FessConfig.SPNEGO_LOGIN_SERVER_MODULE, "spnego-server");
|
|
|
- defaultMap.put(FessConfig.SPNEGO_ALLOW_BASIC, "true");
|
|
|
- defaultMap.put(FessConfig.SPNEGO_ALLOW_UNSECURE_BASIC, "true");
|
|
|
- defaultMap.put(FessConfig.SPNEGO_PROMPT_NTLM, "true");
|
|
|
- defaultMap.put(FessConfig.SPNEGO_ALLOW_LOCALHOST, "true");
|
|
|
- defaultMap.put(FessConfig.SPNEGO_ALLOW_DELEGATION, "false");
|
|
|
- defaultMap.put(FessConfig.SPNEGO_EXCLUDE_DIRS, "");
|
|
|
- defaultMap.put(FessConfig.OIC_CLIENT_ID, "__CLIENT_ID__");
|
|
|
- defaultMap.put(FessConfig.OIC_CLIENT_SECRET, "__CLIENT_SECRET__");
|
|
|
- defaultMap.put(FessConfig.OIC_AUTH_SERVER_URL, "https://accounts.google.com/o/oauth2/auth");
|
|
|
- defaultMap.put(FessConfig.OIC_REDIRECT_URL, "http://localhost:8080/sso/");
|
|
|
- defaultMap.put(FessConfig.OIC_SCOPE, "openid email");
|
|
|
- defaultMap.put(FessConfig.OIC_TOKEN_SERVER_URL, "https://accounts.google.com/o/oauth2/token");
|
|
|
- defaultMap.put(FessConfig.OIC_DEFAULT_ROLES, "guest");
|
|
|
- defaultMap.put(FessConfig.OIC_DEFAULT_GROUPS, "");
|
|
|
defaultMap.put(FessConfig.lasta_di_SMART_DEPLOY_MODE, "hot");
|
|
|
defaultMap.put(FessConfig.DEVELOPMENT_HERE, "true");
|
|
|
defaultMap.put(FessConfig.ENVIRONMENT_TITLE, "Local Development");
|