本文整理汇总了Java中org.apache.wicket.authorization.IUnauthorizedComponentInstantiationListener类的典型用法代码示例。如果您正苦于以下问题:Java IUnauthorizedComponentInstantiationListener类的具体用法?Java IUnauthorizedComponentInstantiationListener怎么用?Java IUnauthorizedComponentInstantiationListener使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
IUnauthorizedComponentInstantiationListener类属于org.apache.wicket.authorization包,在下文中一共展示了IUnauthorizedComponentInstantiationListener类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setupListeners
import org.apache.wicket.authorization.IUnauthorizedComponentInstantiationListener; //导入依赖的package包/类
private void setupListeners() {
// wrap the unauthorizedComponentInstantiation listener so that we can discard repoPath
// attributes from the request when needing to login
ISecuritySettings securitySettings = getSecuritySettings();
IUnauthorizedComponentInstantiationListener orig =
securitySettings.getUnauthorizedComponentInstantiationListener();
securitySettings.setUnauthorizedComponentInstantiationListener(
new RepoBrowsingAwareUnauthorizedComponentInstantiationListener(orig));
// add ArtifactoryRequestCycleListener
getRequestCycleListeners().add(new ArtifactoryRequestCycleListener());
getRequestCycleListeners().add(new ResponsePageSupport());
}
示例2: newUnauthorizedComponentInstantiationListener
import org.apache.wicket.authorization.IUnauthorizedComponentInstantiationListener; //导入依赖的package包/类
protected IUnauthorizedComponentInstantiationListener newUnauthorizedComponentInstantiationListener() {
return new StandardUnauthorizedComponentInstantiationListener();
}
示例3: RepoBrowsingAwareUnauthorizedComponentInstantiationListener
import org.apache.wicket.authorization.IUnauthorizedComponentInstantiationListener; //导入依赖的package包/类
public RepoBrowsingAwareUnauthorizedComponentInstantiationListener(
IUnauthorizedComponentInstantiationListener delegate) {
this.delegate = delegate;
}
开发者ID:alancnet,项目名称:artifactory,代码行数:5,代码来源:RepoBrowsingAwareUnauthorizedComponentInstantiationListener.java