當前位置: 首頁>>代碼示例>>Java>>正文


Java JavaAnalyzer類代碼示例

本文整理匯總了Java中be.objectify.deadbolt.java.JavaAnalyzer的典型用法代碼示例。如果您正苦於以下問題:Java JavaAnalyzer類的具體用法?Java JavaAnalyzer怎麽用?Java JavaAnalyzer使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


JavaAnalyzer類屬於be.objectify.deadbolt.java包,在下文中一共展示了JavaAnalyzer類的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: AbstractSecurityServiceImpl

import be.objectify.deadbolt.java.JavaAnalyzer; //導入依賴的package包/類
public AbstractSecurityServiceImpl(JavaAnalyzer deadBoltAnalyzer, SubjectCache subjectCache, Configuration configuration,
        IUserSessionManagerPlugin userSessionManagerPlugin, IAccountManagerPlugin accountManagerPlugin, CacheApi cacheApi, IAuthenticator authenticator) {
    this.deadBoltAnalyzer = deadBoltAnalyzer;
    this.subjectCache = subjectCache;
    this.configuration = configuration;
    this.userSessionManagerPlugin = userSessionManagerPlugin;
    this.accountManagerPlugin = accountManagerPlugin;
    this.cacheApi = cacheApi;
    this.authenticator = authenticator;
}
 
開發者ID:theAgileFactory,項目名稱:app-framework,代碼行數:11,代碼來源:AbstractSecurityServiceImpl.java

示例2: CustomRestrictAction

import be.objectify.deadbolt.java.JavaAnalyzer; //導入依賴的package包/類
@Inject
public CustomRestrictAction(final JavaAnalyzer analyzer,
                            final SubjectCache subjectCache,
                            final HandlerCache handlerCache,
                            final Configuration config,
                            final ExecutionContextProvider ecProvider)
{
    this.analyzer = analyzer;
    this.subjectCache = subjectCache;
    this.handlerCache = handlerCache;
    this.config = config;
    this.ecProvider = ecProvider;
}
 
開發者ID:play2-maven-plugin,項目名稱:play2-maven-test-projects,代碼行數:14,代碼來源:CustomRestrictAction.java

示例3: getDeadBoltAnalyzer

import be.objectify.deadbolt.java.JavaAnalyzer; //導入依賴的package包/類
protected JavaAnalyzer getDeadBoltAnalyzer() {
    return deadBoltAnalyzer;
}
 
開發者ID:theAgileFactory,項目名稱:app-framework,代碼行數:4,代碼來源:AbstractSecurityServiceImpl.java

示例4: SecurityServiceImpl

import be.objectify.deadbolt.java.JavaAnalyzer; //導入依賴的package包/類
/**
 * Default constructor.
 * 
 * @param deadBoltAnalyzer
 *            the deadbold analyzer
 * @param subjectCache
 *            the deadbold cache for subject
 * @param configuration
 *            the Play configuration service
 * @param userSessionManagerPlugin
 *            the user session manager service
 * @param accountManagerPlugin
 *            the account manager service
 * @param cacheApi
 *            the Play cache service
 * @param authenticator
 *            the authenticator service
 * @param preferenceManagerPlugin
 *            the preference manager service
 * @param messagesPlugins
 *            the i18n messages service
 */
@Inject
public SecurityServiceImpl(JavaAnalyzer deadBoltAnalyzer, SubjectCache subjectCache, Configuration configuration,
        IUserSessionManagerPlugin userSessionManagerPlugin, IAccountManagerPlugin accountManagerPlugin, CacheApi cacheApi, IAuthenticator authenticator,
        IPreferenceManagerPlugin preferenceManagerPlugin, II18nMessagesPlugin messagesPlugins) {
    super(deadBoltAnalyzer, subjectCache, configuration, userSessionManagerPlugin, accountManagerPlugin, cacheApi, authenticator);

    this.preferenceManagerPlugin = preferenceManagerPlugin;
    this.messagesPlugins = messagesPlugins;
    log.info(">>>>>>>>>>>>>>>> Check permissions consistency");
    if (!SystemPermission.checkPermissions(IMafConstants.class)) {
        log.error("WARNING: permissions in code are not consistent with permissions in database");
    }
    log.info(">>>>>>>>>>>>>>>> Check permissions consistency (end)");
}
 
開發者ID:theAgileFactory,項目名稱:maf-desktop-app,代碼行數:37,代碼來源:SecurityServiceImpl.java


注:本文中的be.objectify.deadbolt.java.JavaAnalyzer類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。