本文整理匯總了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;
}
示例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;
}
示例3: getDeadBoltAnalyzer
import be.objectify.deadbolt.java.JavaAnalyzer; //導入依賴的package包/類
protected JavaAnalyzer getDeadBoltAnalyzer() {
return deadBoltAnalyzer;
}
示例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)");
}