Example usage for org.apache.wicket.authroles.authentication AuthenticatedWebSession getAuthorizationStrategy

List of usage examples for org.apache.wicket.authroles.authentication AuthenticatedWebSession getAuthorizationStrategy

Introduction

In this page you can find the example usage for org.apache.wicket.authroles.authentication AuthenticatedWebSession getAuthorizationStrategy.

Prototype

public IAuthorizationStrategy getAuthorizationStrategy() 

Source Link

Usage

From source file:org.apache.karaf.webconsole.core.security.SecuredPageLink.java

License:Apache License

@Override
public boolean isVisible() {
    AuthenticatedWebSession session = AuthenticatedWebSession.get();
    return session.getAuthorizationStrategy().isInstantiationAuthorized(getPageClass());
}