Example usage for org.apache.wicket.authorization IUnauthorizedComponentInstantiationListener interface-usage

List of usage examples for org.apache.wicket.authorization IUnauthorizedComponentInstantiationListener interface-usage

Introduction

In this page you can find the example usage for org.apache.wicket.authorization IUnauthorizedComponentInstantiationListener interface-usage.

Usage

From source file au.org.theark.security.CustomUnauthorizedStrategy.java

public class CustomUnauthorizedStrategy implements IUnauthorizedComponentInstantiationListener {

    public void onUnauthorizedInstantiation(Component component) {

        System.out.println("Unauthorized Instantiation");
        if (component instanceof Page) {

From source file com.gitblit.wicket.AuthorizationStrategy.java

public class AuthorizationStrategy extends AbstractPageAuthorizationStrategy
        implements IUnauthorizedComponentInstantiationListener {

    IStoredSettings settings;
    Class<? extends WebPage> homepageClass;

From source file com.googlecode.wicketelements.security.UnauthorizedComponentInstantiationListener.java

public class UnauthorizedComponentInstantiationListener implements IUnauthorizedComponentInstantiationListener {
    private transient static final Logger LOGGER = LoggerFactory.getLogger("wicketelements.security");
    private final SecurityCheck securityCheck;

    public UnauthorizedComponentInstantiationListener(final SecurityCheck securityCheckParam) {
        PARAM_REQ.Object.requireNotNull(securityCheckParam, "The SecurityCheck object must not be null.");

From source file com.socialsite.authentication.SocialSiteUnauthorizedComponentInstantiationListener.java

/**
 * unathorized components will be handled here
 * 
 * @author Ananth
 * 
 */

From source file com.userweave.application.UserWeaveAuthorizationStrategy.java

public class UserWeaveAuthorizationStrategy
        implements IAuthorizationStrategy, IUnauthorizedComponentInstantiationListener {

    public boolean isActionAuthorized(Component component, Action action) {
        if (action.equals(Component.RENDER)) {
            Class<? extends Component> c = component.getClass();

From source file fiftyfive.wicket.shiro.ShiroWicketPlugin.java

/**
 * Enhances Wicket to integrate closely with the Apache Shiro security
 * framework. With the {@code ShiroWicketPlugin} installed in your Wicket
 * application, you will gain the following features:
 * <ul>
 * <li>You can use all of Shiro's authorization annotations

From source file lt.inventi.wicket.shiro.ShiroWicketPlugin.java

/**
 * Enhances Wicket to integrate closely with the Apache Shiro security
 * framework. With the {@code ShiroWicketPlugin} installed in your Wicket
 * application, you will gain the following features:
 * <ul>
 * <li>You can use all of Shiro's authorization annotations

From source file net.databinder.auth.hib.AuthDataApplication.java

/**
 * Adds basic authentication functionality to DataApplication. This class is a derivative
 * of Wicket's AuthenticatedWebApplication, brought into the DataApplication hierarchy
 * and including light user specifications in DataUser. You are encouraged to override
 * getUserClass() to implement your own user entity, possibly by extending UserBase.
 * It is also possible to use Databinder authentication without extending this base class 

From source file org.apache.syncope.client.console.SyncopeApplication.java

/**
 * SyncopeApplication class.
 */
public class SyncopeApplication extends WebApplication
        implements IUnauthorizedComponentInstantiationListener, IRoleCheckingStrategy, Serializable {

From source file org.apache.syncope.console.SyncopeApplication.java

/**
 * SyncopeApplication class.
 */
public class SyncopeApplication extends WebApplication
        implements IUnauthorizedComponentInstantiationListener, IRoleCheckingStrategy, Serializable {