All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.macrocloud.kernel.security.constant.SecureConstant Maven / Gradle / Ivy

There is a newer version: 1.1.0-RELEASE
Show newest version
package org.macrocloud.kernel.security.constant;

/**
 * 授权校验常量
 *
 */
public interface SecureConstant {

	String BASIC_HEADER_KEY = "Authorization";

	String BASIC_HEADER_PREFIX = "Basic ";

	String BASIC_HEADER_PREFIX_EXT = "Basic%20";

	String BASIC_REALM_HEADER_KEY = "WWW-Authenticate";

	String BASIC_REALM_HEADER_VALUE = "basic realm=\"no auth\"";

	String CLIENT_FIELDS = "client_id, client_secret, access_token_validity, refresh_token_validity";

	String BASE_STATEMENT = "select " + CLIENT_FIELDS + " from bamu_cloud_auth_client";

	String DEFAULT_FIND_STATEMENT = BASE_STATEMENT + " order by client_id";

	String DEFAULT_SELECT_STATEMENT = BASE_STATEMENT + " where client_id = ?";

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy